Jump to:

23493 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Weird CMS issue 3.0.5 [Solved nevermind i'm a dodo]

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

Page: 1
Go to End
Author Topic: 325 Views
  • Pix
    Avatar
    Community Member
    136 Posts

    Weird CMS issue 3.0.5 [Solved nevermind i'm a dodo] Link to this post

    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?

  • Pix
    Avatar
    Community Member
    136 Posts

    Re: Weird CMS issue 3.0.5 [Solved nevermind i'm a dodo] Link to this post

    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.

    325 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.