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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

Upgrade Broken Certain Page Type


Go to End


2 Posts   1754 Views

Avatar
banksy

Community Member, 4 Posts

6 March 2013 at 8:25pm

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.

Avatar
banksy

Community Member, 4 Posts

6 March 2013 at 8:39pm

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('....