S
S
smoklew2016-02-20 18:19:40
PHP
smoklew, 2016-02-20 18:19:40

Why won't opencart 1.5 install?

When installing Opencart (after step 3) I get an error:
Notice: Error: Variable 'sql_mode' can't be set to the value of 'MYSQL40'
Error No: 1231
SET @@session.sql_mode = 'MYSQL40' in C:\OpenServer \domains\magaz\system\database\mysql.php on line 50
Installed on another computer everything was fine..

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
Yuri Grinev, 2016-02-20
@linakun

Or maybe you should abandon opencart 1.5?

D
Dmitry, 2016-02-20
@thewind

So you have an old version of Mysql server and it does not understand this syntax.
Find the opencart.sql file in the Install folder and remove this line from there.

A
Anton Shcherbakov, 2016-02-20
@WestTrade

The ancient version of the muscle stands. And this means that not only will you run into problems installing 1.5, but you will also get a lot of headaches when moving to 2.0.
There are two ways out: to beat the hoster or change the hoster. If the truth is not a dedicated piece of iron.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question