Users in the Editor group of one of my sites see the message "No Access to Add New Content" when clicking "Submit" when trying to add a new page, and even before submitting if choosing a template from the dropdown on the "Add New Content" screen.
Editors have previously been able to add pages without problem so I'm puzzled about what has caused this out of the blue. The "Add Pages" permission is allowed for the Editor group, and I have tried allowing the "Manage All Content" and "Modify Any Page" permissions for the group too but the problem remains.
When logged into my Admin account I am able to add pages.
Any ideas what could be causing this problem? The CMSMS version is 1.11.7
Thanks.
[Solved: GBFilePicker] No Access to Add New Content message
[Solved: GBFilePicker] No Access to Add New Content message
Last edited by Cerulean on Wed Jul 03, 2013 4:54 am, edited 1 time in total.
Re: "No Access to Add New Content" message for Editor group
Update: have traced the problem to the GBFilePicker module - when it is deactivated the problem is gone.
I find GBFilePicker to be very useful though and it's a shame not to able to use it. Any suggestions on how to use GBFilePicker and still allow Editors to add pages would be gratefully received.
I find GBFilePicker to be very useful though and it's a shame not to able to use it. Any suggestions on how to use GBFilePicker and still allow Editors to add pages would be gratefully received.
Re: [Solved: GBFilePicker] No Access to Add New Content mess
Do they have permission to use the GBFilePicker..?
Re: [Solved: GBFilePicker] No Access to Add New Content mess
The "Use GBFilePicker" permission doesn't have any effect on the problem.
After more investigation it seems that this issue is something that is caused by the server environment of my hosting. I have traced it to the presence of a custom php.ini file (even an empty php.ini triggers the issue). No php.ini, no problem. Will post back if I find out any more information.
After more investigation it seems that this issue is something that is caused by the server environment of my hosting. I have traced it to the presence of a custom php.ini file (even an empty php.ini triggers the issue). No php.ini, no problem. Will post back if I find out any more information.
Re: [Solved: GBFilePicker] No Access to Add New Content mess
More info for anyone with the same problem...
I had a php.ini file in my site root to increase the PHP settings for upload_max_size and post_max_size. But because settings made in php.ini are not recursive into subfolders, files inside the /admin/ subfolder were still running under the default PHP settings. It seems that the combination of some CMSMS files running under the custom PHP settings and some (subfoldered) files running under the default PHP settings was the cause of the problem.
Adding a line to .htaccess in the site root can make the custom php.ini settings apply to subfolders, and this resolved the problem for me:
SuPHP_ConfigPath /path/to/root/
I had a php.ini file in my site root to increase the PHP settings for upload_max_size and post_max_size. But because settings made in php.ini are not recursive into subfolders, files inside the /admin/ subfolder were still running under the default PHP settings. It seems that the combination of some CMSMS files running under the custom PHP settings and some (subfoldered) files running under the default PHP settings was the cause of the problem.
Adding a line to .htaccess in the site root can make the custom php.ini settings apply to subfolders, and this resolved the problem for me:
SuPHP_ConfigPath /path/to/root/