Jump to content

Recommended Posts

Перестали грузится производители. Ошибка HTTP ERROR 500. http://prntscr.com/nj2g80
В логах Opencart чисто. В чем может быть проблема?

Share this post


Link to post
Share on other sites

в /index.php вставить и посмотреть какие ошибки.

 

ini_set("display_errors", 1);

ini_set("track_errors", 1);

ini_set("html_errors", 1);

error_reporting(E_ALL);

Share this post


Link to post
Share on other sites
56 минут назад, smartcoder сказал:

в /index.php вставить и посмотреть какие ошибки.

 

ini_set("display_errors", 1);

ini_set("track_errors", 1);

ini_set("html_errors", 1);

error_reporting(E_ALL);

Спойлер

Fatal error: Uncaught exception 'Exception' with message 'Error: Table 'mpimsk_mpk.oc_manufacturer_description' doesn't exist<br />Error No: 1146<br />SELECT * FROM oc_manufacturer m LEFT JOIN oc_manufacturer_to_store m2s ON (m.manufacturer_id = m2s.manufacturer_id) JOIN oc_manufacturer_description md ON (md.manufacturer_id='17') AND (md.language_id='1') WHERE m.manufacturer_id = '17' AND m2s.store_id = '0'' in /home/m/mpimsk/mpi-klimat.ru/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/m/mpimsk/mpi-klimat.ru/public_html/system/library/db.php(45): DB\MySQLi->query('SELECT * FROM o...') #1 /home/m/mpimsk/mpi-klimat.ru/storage/modification/catalog/model/catalog/manufacturer.php(5): DB->query('SELECT * FROM o...') #2 [internal function]: ModelCatalogManufacturer->getManufacturer(17) #3 /home/m/mpimsk/mpi-klimat.ru/storage/modification/system/engine/loader.php(248): call_user_func_array(Array, Array) #4 [internal function]: Loader->{closure}(Array, Array) #5 /home/m/mpimsk/mpi-klimat.ru/public_html/system/e in /home/m/mpimsk/mpi-klimat.ru/public_html/system/library/db/mysqli.php on line 40

 

Share this post


Link to post
Share on other sites

вот прямтаки сами перестали? работали работали, ничего не трогали, и хоп и пропала таблица, да?

Share this post


Link to post
Share on other sites
1 минуту назад, nikifalex сказал:

вот прямтаки сами перестали? работали работали, ничего не трогали, и хоп и пропала таблица, да?

Уже забыл, много чего правил, теперь сайт ссылается, что нет в бд oc_manufacturer_description

Share this post


Link to post
Share on other sites
9 минут назад, Higher35 сказал:

Уже забыл, много чего правил, теперь сайт ссылается, что нет в бд oc_manufacturer_description

Выполните запрос

CREATE TABLE `oc_manufacturer_description` (
  `manufacturer_id` int(11) NOT NULL,
  `language_id` int(11) NOT NULL,
  `name` varchar(64) NOT NULL,
  `description` text NOT NULL,
  `meta_title` varchar(255) NOT NULL,
  `meta_h1` varchar(255) NOT NULL,
  `meta_description` varchar(255) NOT NULL,
  `meta_keyword` varchar(255) NOT NULL,
  PRIMARY KEY (`manufacturer_id`,`language_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

В phpMyadmin

Share this post


Link to post
Share on other sites
3 минуты назад, OCappLab сказал:

Выполните запрос


CREATE TABLE `oc_manufacturer_description` (
  `manufacturer_id` int(11) NOT NULL,
  `language_id` int(11) NOT NULL,
  `name` varchar(64) NOT NULL,
  `description` text NOT NULL,
  `meta_title` varchar(255) NOT NULL,
  `meta_h1` varchar(255) NOT NULL,
  `meta_description` varchar(255) NOT NULL,
  `meta_keyword` varchar(255) NOT NULL,
  PRIMARY KEY (`manufacturer_id`,`language_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

В phpMyadmin

Спасибо!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.