[Vtigercrm-developers] Error trying to save a new Record of a new Custom module
Alan Lord
alanslists at gmail.com
Tue Aug 21 01:16:52 PDT 2012
On 21/08/12 05:18, Juan Pablo Botero wrote:
> Hello all.
>
> I just made a new module from vtlib in Vtiger 5.4 in a LAMP plataform, i
> can see the module and the edit view when i try to make a new record.
> So, when i try to save the new record i got an error:
>
> Sorry! Attempt to access restricted file.
> Filepath:
> Rootdirpath: <root of vtigercrm>
One thought I had is if you use any symlinks or have any .svn or .cvs
files in your new module.
If this is the case, take a look at include/utils/CommonUtils.php and
check the functions like:
checkFileAccess($filepath)
checkFileAccessForInclusion($filepath)
This *might* be your problem....
HTH
Alan
More information about the vtigercrm-developers
mailing list