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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Ugrade 2.4.1


Go to End


2 Posts   1945 Views

Avatar
clintonf

Community Member, 8 Posts

3 October 2010 at 9:59am

I have just upgraded to 2.4.1 and have the following two issues, can anyone help?

1. The homepage is non existent and shows as "Generated with the default ContentController.ss template"
If I try other 1st level pages ie: http://www.mysite.com/holiday they come up...

Secondly when trying to access 3rd level and ablve pages we get the following error...

2. Fatal error: Class 'HTTPResponse' not found in /var/www/vhosts/mysite.com/httpdocs/mysite/code/Page.php on line 141

Please help...

Avatar
Willr

Forum Moderator, 5523 Posts

3 October 2010 at 10:21am

If you run into the message "Generated with the default ContentController.ss template" it means it could not load any other templates. Check the classname of the homepage and that you have some sort of template for it. Should extend Page then you should have a Page.ss file.

2) HTTPResponse has been renamed to SS_HTTPResponse. That error is probably coming from a module or custom code which you have so you will need to upgrade the module of if its coming from your code you will need to update your code.

Note that 2.4.2 is out now so you might want to go straight to that rather than 2.4.1.

You can read the full upgrade notes on http://doc.silverstripe.org/upgrading:2.4.0#upgrading_notes