1b.app
Link copied -

Opencart 3. For which versions of PHP does integration work?

opencart 3.
For which versions of PHP does integration work?
Will you work on integration on PHP 5.6?
Original question is available on version: ru

Answers:

anything above 5.4 will do
04.08.2022, 11:48
Original comment available on version: ru


Da Hong Pao
OneBox production wrote:
anything above 5.4 will do

They connected integration, but at the same time I saw the axis of such a pardon:
Fatal error: Uncaught exception 'Exception' with message 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`key` = '' AND status = '1'' at line 1<br />Error No: 1064<br />SELECT * FROM ` oc_api` WHERE `username` = '' `key` = '' AND status = '1'' in /var/www/www-root/data/www/jap.in.ua/system/library/db/mysqli. php:40 Stack trace: #0 /var/www/www-root/data/www/jap.in.ua/system/library/db.php(45): DB\MySQLi->query('SELECT * FROM ` ...') #1 /var/www/www-root/data/www/jap.in.ua/catalog/model/account/api.php(4): DB->query('SELECT * FROM `. ..') #2 [internal function]: ModelAccountApi->login(NULL, NULL) #3 /var/www/www-root/data/www/storage/modification/system/engine/loader.php(248): call_user_func_array(Array, Array) #4 [internal function]: Loader->{closure}(Array, Array) #5 /var/www/www-root/data/www/jap.in.ua/system/engine/proxy .php(47): call_user_func_array(Object(Closure), Array) #6 /var/www/www-root/data/www/jap.in.ua/catalog/controll in /var/www/www-root/data /www/jap.in.ua/system/library/db/mysqli. php line 40
Don't know what might be the problem?
04.08.2022, 11:53
Original comment available on version: ru

https://evilcoder.ru/oshibki-v-opencart-api-ili-skaz-o-tom-pochemu-nuzhno-testir... try to fix opencart according to the article, version 3 has at least 3 bugs out of the box due to which API won't start at all. That is, the problem is in the engine itself
04.08.2022, 12:24
Original comment available on version: ru


Da Hong Pao
OneBox production wrote:
https://evilcoder.ru/oshibki-v-opencart-api-ili-skaz-o-tom-pochemu-nuzhno-testir... try to fix opencart according to the article, version 3 has at least 3 bugs out of the box due to which API won't start at all. That is, the problem is in the engine itself

After the end of the instruction, the pardon disappeared, but it was still missing, such a pardon was connected to the api. Showing on screenshots.
Can you look at the logs and say exactly what the pardons are? More specifically, nothing is written in the available CRMs
04.08.2022, 13:05
Original comment available on version: ru

Can you give more information about the errors????
07.08.2022, 09:13
Original comment available on version: ru

<b>Fatal error</b>: Call to a member function get() on null in <b>/var/www/www-root/data/www/jap.in.ua/catalog/controller/api/login .php</b> on line <b>30</b><br />
you still have fatalities in opencart api. Those. You haven't fixed any bugs in this version. To test the api, you yourself can try to log in to it. If you are unable to fix the errors in the opencart api according to the article above, I can do it for you, it will take 1 hour of revision and I will need ftp access to the opencart code.
08.08.2022, 10:26
Original comment available on version: ru


Da Hong Pao
OneBox production wrote:
<b>Fatal error</b>: Call to a member function get() on null in <b>/var/www/www-root/data/www/jap.in.ua/catalog/controller/api/login .php</b> on line <b>30</b><br />
you still have fatalities in opencart api. Those. You haven't fixed any bugs in this version. To test the api, you yourself can try to log in to it. If you are unable to fix the errors in the opencart api according to the article above, I can do it for you, it will take 1 hour of revision and I will need ftp access to the opencart code.

What about the action "Upload products/categories/filters/characteristics to opencart (via database) (Opencart)"??
What is the api here? Products are unloaded but an error hangs for some reason.
What does she mean?
Can you give the full log of this error????
And the response log to the request for orders from opencart?
08.08.2022, 12:15
Original comment available on version: ru

1. The action works with the database but at the end of its work sends images to opencart via api
2. This api is FATALIT and throws the error that I gave you on the screen
3. Fatal means that opencart developers have released an engine with a bug
4. What can be the full log of fatal? here he is:
<b>Fatal error</b>: Call to a member function get() on null in <b>/var/www/www-root/data/www/jap.in.ua/catalog/controller/api/login .php</b> on line <b>30</b><br />
08.08.2022, 12:17
Original comment available on version: ru

Fixed a bug with api and everything worked. Thanks
08.08.2022, 12:47
Original comment available on version: ru


Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment