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.

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, frankmullenger, biapar, Willr, Ingo, Jedateach, swaiba, simon_w

Error 500 caused by Database class not found


Reply

4 Posts   1446 Views

Avatar
biapar

23 May 2010 at 3:30am Forum Moderator, 435 Posts

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

23 May 2010 at 8:32pm Forum Moderator, 435 Posts

?

Avatar
ajshort

23 May 2010 at 8:44pm Community Member, 244 Posts

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

24 May 2010 at 3:10am Forum Moderator, 435 Posts

Thank you.
I used trunk version http://open.silverstripe.com/changeset/latest/modules/ecommerce/trunk?old_path=/&filename=/modules/ecommerce/trunk&format=zip and error goes off.

Bye