Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

адапиция модуля


Recommended Posts

первый раз переписываю, модуль opencart с версии opencart 2xx на opencart 3.0.2 и столкнулся с ошибкой

Fatal error: Uncaught Error: Class 'Controllerextensionmoduledkacart' not found in \system\engine\action.php on line 71
not found in понимаю, что не может найти икой файл, только почему модуль обращается в системную папку, как исправить данную ошибку? может кто силкивался

Edited by stywolf
Link to comment
Share on other sites


обращается туда куда нужно - не правильно прописан класс липотому что файла нет

им от 2ки почти ничем не отличается

Link to comment
Share on other sites


21 минуту назад, stywolf сказал:

Controllerextensionmoduledkacart

Система показала ггде возникла проблема. Не найгден мод, который должен быть в controller/extension/module/dkacart.(префикс - ну ясно что php) или икой фпайл есть, но класс не называется

21 минуту назад, stywolf сказал:

ControllerExtensionModuleDkacart

Link to comment
Share on other sites

2 минуты назад, esculapra сказал:

Система показала ггде возникла проблема. Не найгден мод, который должен быть в controller/extension/module/dkacart.(префикс - ну ясно что php) или икой фпайл есть, но класс не называется

 

у меня ик прописано  controller/extension/module/dka_cart.php

Link to comment
Share on other sites


class ControllerExtensionModuleDkaCart extends Controller {

 

спасипотому что потому чтольшое зарилиило все

____

подскажите как качественно конвертировать tpl в twig?

 

 

dka_cart.tpl

Edited by stywolf
Link to comment
Share on other sites


подскажите что не ик?

 

Fatal error: Uncaught Twig_Error_Syntax: Unknown "trim" function in 

 

строка                          

 

                          {% if dka_cart_update_modal or strlen(trim(dka_cart_update_modal < 1 )) %}

 

Edited by stywolf
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.