Posts: 855
Threads: 238
Joined: Nov 2015
Reputation:
96
09-14-2017, 01:49 PM
(This post was last modified: 09-14-2017, 01:51 PM by Guido1982.)
I'm getting a
Sorry! Attempt to access restricted file.
We are looking for this file path: modules//.php
When trying to save a Document. No idea what this could be. Anyone have any clues?
Hm, I shortened the title and all was well.
Posts: 3,564
Threads: 36
Joined: Apr 2014
Reputation:
49
Ah, MySQL Strict
This is one of the many things I have pending. We have dedicated a lot of time to making coreBOS work corretly with MySQL Strict mode. The one thing we haven't gotten around to yet is controlling the length of the fields.
In MySQL strict mode, if you try to insert a text into a varchar field that is longer than what fits there, you get an error and the whole process is aborted.
Suppose you have a field defined as varchar(5) and try to insert there STRING, the insert will fail. Before MySQL strict you got your string truncated: STRIN
What needs to be done is to calculate the length of all fields in the database, write that into the vtiger_field table and then add validations accordingly before you try to save.
anyone up to the challenge?
Joe
TSolucio