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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Fatal error when installing ecommerce module


Go to End


2 Posts   1331 Views

Avatar
JonathanParker

Community Member, 37 Posts

23 March 2008 at 10:24am

I keep getting the following fatal error when I do a db build to install the ecommerce module.

Fatal error: Declaration of Order_Item::__construct() must be compatible with that of DataObjectInterface::__construct() in C:\wamp\www\dabnis\ecommerce\code\Order.php on line 1107

Has anybody got any suggestions?

Regards.

Jonathan

Avatar
JonathanParker

Community Member, 37 Posts

25 March 2008 at 11:14am

The problem was resolved by downloading the latest ecommerce module build & re-installing the ecommerce module. I did get a further error, but that was cured by replacing the short tag '<?' with standard tag '<?php' within one of the files.

Thanks to the guys on the IRC chat channel for their help in with this one.

Jonathan.