Access Denied on Edit
Permalink 1 user found helpful
when I am logged in as an administrator I don't get any error messages. but I've noticed that when I am loggged in as a registered user I am getting the "Access Denied" when clicking on Insert a Link and also when I click on "Add File" it gives me an error message.
Fatal error: Call to undefined function _() in concrete5.4.0.5\concrete\tools\files\search_dialog.php on line 6
link 6 has this piece of code:
$cp = FilePermissions::getGlobal();
if (!$cp->canAccessFileManager()) {
die(_("Unable to access the file manager."));
}
Please Help
Many Thanks
Fatal error: Call to undefined function _() in concrete5.4.0.5\concrete\tools\files\search_dialog.php on line 6
link 6 has this piece of code:
$cp = FilePermissions::getGlobal();
if (!$cp->canAccessFileManager()) {
die(_("Unable to access the file manager."));
}
Please Help
Many Thanks
thats weird, thats valid code
Make sure registered users have the right permissions to access the Sitemap and the File Manager.
Go to the Dashboard, in the Sitemap Page, under the Access tab and add the necessary permissions.
The same goes for the File Manager: Dashboard --> File Manager --> Access tab...
If your website is already set up and running, you may want to set the Debug Level to "Production". This option will suppress PHP errors and database exceptions. You can find this in the Dashboard, under Sitewide Settings, in the Debug tab.
Hope this helps!
Go to the Dashboard, in the Sitemap Page, under the Access tab and add the necessary permissions.
The same goes for the File Manager: Dashboard --> File Manager --> Access tab...
If your website is already set up and running, you may want to set the Debug Level to "Production". This option will suppress PHP errors and database exceptions. You can find this in the Dashboard, under Sitewide Settings, in the Debug tab.
Hope this helps!
Thanks, I was getting the same error and your suggestion fixed it. It seems like there should be better error handling for this.