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   1504 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

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