Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

View and edit permissions prevent Json output on production site

Go to End



Community Member, 66 Posts

13 December 2012 at 1:33am

Edited: 13/12/2012 1:55am

SilverStripe 2.4.7


I have developed a site with various pages which can only be viewed by one user group. There is also a JSON output which feeds data to a mobile app.

All of this works perfectly on the dev server but once I moved it to the production server the JSON feed stopped working. I figured out that it was caused by the setting I had applied in the access area of the page. When I set "can be viewed by" to be "inherit from parent" the json works but my users can't access the page. If I set it to that user group they can do what they are supposed to be able to do but the json stops working.

I'm confused about why this would be happening on the production server when the same code works on the dev server. I assume that it is to do with the version of PHP or something but I'm not sure.


I've since discovered it is only a problem in safari.