Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

In a corebos instalation that has been in operation for several years, an error has just appeared while creating a new account.

Sorry! Access to restricted file
We are looking for this file path: modules//.php
We are looking here:
Real file path:
Root file path: /home/XXXXXXXXX/public_html/crm/

It seems that corebos is looking for nowhere...

The curious thing is that it does not appear in any of the other modules, and the user has adequate permissions. In fact, if another user accesses (myself) the error is not reproduced.

I have read on stack overflow that it could be a problem with the cache, and it recommends deleting the contents of the folder templates_c.

Can I do it without problems? Any ideas?

Thank you

you can delete that folder but it probably won't help. is it failing on all accounts or just some?

I'd say that it is some field that you are putting too many characters in. In other words, in the account name is 10 characters long you are putting 11. We added a check for that some years ago but if your installation is before that it could be the issue.

In general, these errors are easy to fix. Activate debugging, and reproduce the error, you should see an SQL error in the log that will indicate where the issue is.
Thanks Joe, one of the fields was too long. Solved!
great! Have a nice weekend!

Forum Jump:

Users browsing this thread: 1 Guest(s)