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.

E-Commerce Modules /

Discuss about the various e-commerce modules available:
Ecommerce, SS Shop, SilverCart and SwipeStripe
Alternatively, have a look the shared mailinglist.

Moderators: martimiz, Nicolaas, Sean, Ed, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba

Error 500 caused by Database class not found


Go to End


4 Posts   2083 Views

Avatar
biapar

Forum Moderator, 435 Posts

23 May 2010 at 3:30am

PHP Fatal error: Class 'Database' not found in C:\xampp\htdocs\ss240\ecommerce\code\AccountPage.php on line 78

--> Database::alteration_message('Account page \'Account\' created', 'created');

Where is that class?

thank you

Avatar
biapar

Forum Moderator, 435 Posts

23 May 2010 at 8:32pm

?

Avatar
ajshort

Community Member, 244 Posts

23 May 2010 at 8:44pm

You're running the 2.3 compatible version of the ecommerce module, and need to upgrade to the 2.4 compatible version (you might need to grab it from SVN, I'm not sure).

Avatar
biapar

Forum Moderator, 435 Posts

24 May 2010 at 3:10am