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, biapar, Willr, Ingo, swaiba, simon_w

Weird CMS issue 3.0.5 [Solved nevermind i'm a dodo]


Reply

2 Posts   336 Views

Avatar
Pix

28 April 2013 at 6:31am Community Member, 145 Posts

This one is hard to explain. I have a site with at least 16 custom page types, everything works locally, no complaints. Then I install SS 3.0.5 on my server and install the custom Page Types and here is what happens in CMS:

Click "Ad New' -> Click 'Create' I am not redirected to edit the page, the page does not look like it is added to the Site Tree. No errors are thrown either. However, If I refresh the Admin, I see the page in the Site Tree as a draft.

I have no idea what is going on, I can add pages on my test site locally, no problem no complaints. So I don't think it is a problem with any of the Page Types, something is going on in the CMS, BUT it's the same version locally and on the live server (3.0.5). So what does that leave? Some configuration on the server? Server is running PHP 5.4.13. How could I get the CMS to give me more information on what is happening?

Avatar
Pix

28 April 2013 at 8:09am Community Member, 145 Posts

OK I'm a dodo. It came down to an errant comma in a DataExtension:

public static $db = array(
'tinySummary' => 'Text',
);

One little comma broke everything. Somehow on the local machine it never complained about it.

I removed all of the custom pages and extensions from the site with the problem and added them back, one by one until it broke again. Wouldn't you know it was the last one I added back and it broke. And there it was, the murderous comma.