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

TechStarter

Newbie
  
  • Posts

    2
  • Joined

  • Last visited

TechStarter's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Привет, делали с товарищем закрытый магазин. Доступ к витрине, товарам и тд возможен только после логина или регистрации. Для этого правился файл login.php в папке controller. Сейчас это ограничение надо убрать. Я убрал код, поставил всё как было бы в самом начале после установки. Ограничение снялось, сам сайт доступен, но теперь не отображается ни одна страница, везде возникает ошибка 404: "Страница не найдена". Прошлый мастер не помнит где он и что еще правил. Подскажите что проверить, куда копать вообще? ps все блоки отображаются, только содержимое нет: товары, статьи и тд, всё что в контенте в общем.
  2. Привет, мы с товарищем делали такой магазин. Попробуй в файле login.php в контроллере вставить такой код. В моём файле стояло начиная со строки 137. Он кстати этот код по моему где то тут нашёл. //funktsia obyazatel'nogo vhoda public function login() { if ($this->customer->isLogged()) { return false; } $allow_routes = array( 'account/create', 'account/forgotten'); if (isset($this->request->get['route'])) { $route = $this->request->get['route']; foreach ($allow_routes as $allow_route) { $length = strlen($allow_route); if (substr($route, 0, $length) == $allow_route) { return false; } } } return $this->forward('account/login'); }
×
×
  • 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.