Nawaraj Posted August 17, 2021 Posted August 17, 2021 How can I solve this warning? Need help. Warning: Undefined array key "DB_SERVER" in C:\xampp\htdocs\catalog\install\includes\functions\html_output.php on line 15 Quote
corser28 Posted August 22, 2021 Posted August 22, 2021 On 8/17/2021 at 2:58 PM, ArtcoInc said: @Nawaraj Which version of osC? M I have the same problem, my version is 2.3.4.1 any help will be much appreciated Quote
corser28 Posted August 22, 2021 Posted August 22, 2021 3 minutes ago, ArtcoInc said: @corser28 Which version of PHP? M Where do I check it? Quote
corser28 Posted August 22, 2021 Posted August 22, 2021 13 minutes ago, ArtcoInc said: @corser28 Which version of PHP? M I've found it, it's PHP 8.0.9 (cli) (built: Jul 29 2021 14:12:19) ( ZTS Visual C++ 2019 x64 ) Copyright (c) The PHP Group Zend Engine v4.0.9, Copyright (c) Zend Technologies Quote
Hotclutch Posted August 23, 2021 Posted August 23, 2021 None of the osCommerce versions are compatible with php8. You can try this contribution Quote
ArtcoInc Posted August 23, 2021 Posted August 23, 2021 @corser28 The stock version(s) of osC were written back when PHP v5.x was current. The people in control of the official osC development never updated osC to run under newer versions of PHP. As such, the stock version(s) of osC will not run under PHP v8.x. In fact, they will have problems running under PHP v7.x also. Since osC is open source, there a number of people that have taken the official source code, and updated it to run under newer versions of PHP. @Hotclutch mentioned one above. However, these are considered 'forks' from the original code, and the new management here discourages discussing them here. The new management has announced that a new version (v4.x) of osC will be released 'real soon now', and it is supposed to run under newer versions of PHP. So, your options are: 1) Stick with the original version of osC, and fall back to an earlier version of PHP. Many web hosts have moved away from earlier versions of PHP, so this may be a problem. 2) Find one of the osC forks which will run under a current version of PHP. Please note that we are not supposed to support any of these forks in this forum. 3) Wait until osC v4.x is released. HTH Malcolm Quote
Hotclutch Posted August 23, 2021 Posted August 23, 2021 1 hour ago, ArtcoInc said: So, your options are: 1) Stick with the original version of osC, and fall back to an earlier version of PHP. Many web hosts have moved away from earlier versions of PHP, so this may be a problem. 2) Find one of the osC forks which will run under a current version of PHP. Please note that we are not supposed to support any of these forks in this forum. 3) Wait until osC v4.x is released. HTH Malcolm Quote
Demitry Posted August 23, 2021 Posted August 23, 2021 4) use another cart software, not related to osCommerce ruden 1 Quote osCommerce: made for programmers, ...because store owners do not want to be programmers. https://trends.google.com/trends/explore?date=all&geo=US&q=oscommerce
Recommended Posts
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.