Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

stuudent

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

stuudent's Achievements

Newbie

Newbie (1/14)

  • First Post

Recent Badges

0

Reputation

  1. Все привет! Схожая ситуация, необходимо запускать в php cli котроллер модуля с окружением OC 4 (системные модели админки и т.п.) Для примера пробую загрузить контроллер модуля Аккаунт extension/opencart/module/account (для теста) Скопировал и модифицировал framework.php в корневую директорию для своих нужд (см. вложение my_framework.php) но по непонятной для меня причине в строке 153 $result = $action->execute($registry, $args); возвращается исключение: Exception Object ( [message:protected] => Error: Could not call route extension/opencart/module/account! [string:Exception:private] => [code:protected] => 0 [file:protected] => X:\domains\opencart4011.loc\upload\system\engine\action.php [line:protected] => 75 [trace:Exception:private] => Array ( [0] => Array ( [file] => C:\OpenServer\domains\opencart4011.loc\upload\my_framework.php [line] => 153 [function] => execute [class] => Opencart\System\Engine\Action [type] => -> ) ) [previous:Exception:private] => ) то есть метод \Opencart\System\Engine\Action::execute не может подключить класс, почему так происходит? my_framework.php
×
×
  • 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.