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
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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
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
?
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).
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