Jump to:

1135 Posts in 1984 Topics by 403 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » Upgrade Broken Certain Page Type

Ask questions about upgrading SilverStripe to the latest version.

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

Page: 1
Go to End
Author Topic: 476 Views
  • banksy
    Avatar
    Community Member
    3 Posts

    Upgrade Broken Certain Page Type Link to this post

    My web host has recently upgraded me from 2.4 to 3.0 at my request.

    It took them a bit of work and manual manipulation to make it work, but it seems to be displaying ok now.

    There is a problem in the CMS though. If I click on one type of page, it will not load. It behaves as if it's going to load, but then the page I was previously on stays loaded. Other pages seem to load ok.

    I'm trying to find a log message that will indicate what's going wrong.

    I have the following in my _config.php.

    Director::set_environment_type("dev");

    But loading the page in the CMS does not add anything to my /mysite/tmp/errors.log file.

    Can anyone point me in the right direction to help me troubleshoot?

    Thanks in advance.

  • banksy
    Avatar
    Community Member
    3 Posts

    Re: Upgrade Broken Certain Page Type Link to this post

    SOLVED

    I found a report that had a link to one of the problematic pages, and when I tried to use that link it displayed the error message instead of swallowing it.

    FYI in case it's useful to anyone, the problem was using a deprecated:
    $fields->addFieldToTab('Root.Content.Main', new DropDownField('....
    Changed to the following and I'm up and going:
    $fields->addFieldToTab('Root.Main', new DropDownField('....

    476 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.