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

Белый экран при переходе в модуль


Recommended Posts

Добрый вечер. Не понятная ситуация - создаю модуль для 2.1

Контроллер модуля лежит  catalog/controller/module/autoparts

создал схему, указал путь module/autoparts, выбрал свой модуль с админки

по адресу сайт.ком/index.php?route=module/autoparts получаю белый экран

Ошибок никаких, логи сервера - пусто, логи ОС - пусто. Я что-то не так делаю? Только начинаю с опенкартом, если что-то делаю не так - ткните носом и дайте что почитать

Link to comment
Share on other sites


8 часов назад, shalan сказал:

А какой код ответа сервера?
Если 200(Ок), видимо ваш модуль ничего не выводит.

HTTP/1.1 200 OK
Server: nginx
Date: Fri, 03 Nov 2017 10:39:20 GMT
Content-Type: text/html
Connection: keep-alive
Keep-Alive: timeout=60
X-Powered-By: PHP/5.4.45-0+deb7u6
Set-Cookie: PHPSESSID=liugf54fkrlro5q2g1bbk88n77; path=/; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: language=ru; expires=Sun, 03-Dec-2017 10:39:19 GMT; path=/; domain=advesa.lt
Set-Cookie: currency=USD; expires=Sun, 03-Dec-2017 10:39:19 GMT; path=/; domain=advesa.lt
Vary: Accept-Encoding
Link to comment
Share on other sites


Ну даже разметку не выводит

 

Если вставляю в макет Home то все работает

 

Если обращатся 

сайт.ком/index.php?route=controller/module/autoparts

 

То все работает, но получаю под тем, что выводит модуль

Запрашиваемая страница не найдена! К сожалению, запрашиваемая Вами страница не найдена. Вероятно, Вы указали несуществующий адрес, страница была удалена, перемещена или сейчас она временно недоступна!

Edited by davyduck
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.