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.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

2.4.0 Beta Upgrade Errors


Reply


2 Posts   1275 Views

Avatar
pingu

Community Member, 75 Posts

24 February 2010 at 10:46am

Edited: 24/02/2010 10:59am

Hi,

I'm trying to upgrade a local version of a website from 2.3.1 -> 2.4 Beta, and I'm getting some errors.
I've deleted the cms and sapphire folders and overwritten with what's included in the 2.4 package, but the error I'm getting is:
Fatal error: Class 'SS_Database' not found in \sapphire\core\model\MySQLDatabase.php on line 10

If I then proceed to copy over the googlesitemaps folder, I initially get a few more errors, which later disappear:

Notice: Undefined index: GoogleSitemapDecorator in \sapphire\core\ManifestBuilder.php on line 447

Warning: There are two files both containing the same class: '/googlesitemaps/code/GoogleSitemap.php' and ''. This might mean that the wrong code is being used. in \sapphire\core\ManifestBuilder.php on line 449

Notice: Undefined index: GoogleSitemap in \sapphire\core\ManifestBuilder.php on line 447

Warning: There are two files both containing the same class: '/googlesitemaps/code/GoogleSitemap.php' and ''. This might mean that the wrong code is being used. in \sapphire\core\ManifestBuilder.php on line 449

Notice: Undefined index: GoogleSitemapDecorator in \sapphire\core\ManifestBuilder.php on line 447

Warning: There are two files both containing the same class: '/googlesitemaps/code/GoogleSitemapDecorator.php' and ''. This might mean that the wrong code is being used. in \sapphire\core\ManifestBuilder.php on line 449

Would appreciate any help with this? I'd like to avoid a clean install if I can just upgrade...

Avatar
pingu

Community Member, 75 Posts

24 February 2010 at 11:31am

Okay, as it turns out I just had to empty the silverstripe-cache directory, and all is well.
Woops.