Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I've finally gotten MariaDB 10.5 working on my test server so I could install the database for osCommerce 4. I got past that, set up the company information, loaded the sample data and got to the final page of the install where the middle of the screen shows a 404 Error but you have links to go to the site or admin so I'm assuming everything was set up properly.

However all I get when I go to either the catalog site or the admin page is an error message that says an internal server error occurred. Or a least that is all I get when I use PHP 8.0 or 7.4. If I use PHP 8.1 I get the following:

Quote

An internal server error occurred.
Deprecated: Return type of yii\web\HeaderCollection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/e-smith/files/ibays/osc4/html/lib/vendor/yiisoft/yii2/web/HeaderCollection.php on line 37

Deprecated: Return type of yii\web\HeaderCollection::offsetExists($name) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/e-smith/files/ibays/osc4/html/lib/vendor/yiisoft/yii2/web/HeaderCollection.php on line 193

Deprecated: Return type of yii\web\HeaderCollection::offsetGet($name) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/e-smith/files/ibays/osc4/html/lib/vendor/yiisoft/yii2/web/HeaderCollection.php on line 206

Deprecated: Return type of yii\web\HeaderCollection::offsetSet($name, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/e-smith/files/ibays/osc4/html/lib/vendor/yiisoft/yii2/web/HeaderCollection.php on line 219

Deprecated: Return type of yii\web\HeaderCollection::offsetUnset($name) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/e-smith/files/ibays/osc4/html/lib/vendor/yiisoft/yii2/web/HeaderCollection.php on line 231

Deprecated: Return type of yii\web\HeaderCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/e-smith/files/ibays/osc4/html/lib/vendor/yiisoft/yii2/web/HeaderCollection.php on line 48

So it would appear that osCommerce 4 is either not safe of PHP 8.1 or something about the internal server error is also causing the deprecated warnings. I'm not sure where to go from here since I have no idea what is causing the error. I was really hoping to try osCommerce 4 out but so far I'm not having much luck.

Posted

@wdepotI suggest you reference the V4 support person in your post since I don't think they monitor the forums too much, probably due to working on the release. Also, if you have a Beta version you should contact them to let the know of the problem. They should have mentioned that in the email they sent you when enabling it, assuming they haven't changed that policy. They quicjky responded to problems I reported but only through email or PM.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

I would report this more directly but I can't seem to find the proper place to do so. The Bug Reports link on the osCommerce web site seems to be only for version 2 and 3.

Posted

Please kindly note have stopped distributing B2 in anticipation of the release of the new version of osCommerce (v4) to the public. 

Please keep an eye on the official news and release notes on these Forums, and the main osCommerce.com website.

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...