4952 Posts in 14256 Topics by 1491 members
|Go to End|
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
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
|Go to Top|