Jump to content
Netscout

Ошибка 500 при добавлении категории

Recommended Posts

[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error: Table 'sitename.oc_seo_url' doesn't exist<br />Error No: 1146<br />SELECT * FROM oc_seo_url WHERE keyword = 'testovaja'' in /var/www/sitename/data/www/sitename.store/system/library/db/mysqli.php:45, referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] Stack trace:, referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #0 /var/www/sitename/data/www/sitename.store/system/library/db.php(21): DB\\MySQLi->query('SELECT * FROM o...', Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #1 /var/www/sitename/data/www/sitename.store/admin/model/catalog/url_alias.php(4): DB->query('SELECT * FROM o...'), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #2 [internal function]: ModelCatalogUrlAlias->getUrlAlias('testovaja'), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #3 /var/www/sitename/data/www/sitename.store/system/storage/modification/system/engine/loader.php(183): call_user_func_array(Array, Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #4 [internal function]: Loader->{closure}(Array, Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #5 /var/www/sitename/data/www/sitename.store/system/engine/proxy.php(30): call_user_func_array(Object(Closure), Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #6 /var/www/sitename/data/www/sitename.store/system/storage/modification/admin/controller/catalog/category.php(641): Proxy->__call('getUrlAlias', Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #7  in /var/www/sitename/data/www/sitename.store/system/library/db/mysqli.php on line 45, referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ

Подскажите, пожалуйста, что за ерунда при добавлении категории ?

Share this post


Link to post
Share on other sites
4 минуты назад, Netscout сказал:
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] PHP Fatal error:  Uncaught exception 'Exception' with message 'Error: Table 'sitename.oc_seo_url' doesn't exist<br />Error No: 1146<br />SELECT * FROM oc_seo_url WHERE keyword = 'testovaja'' in /var/www/sitename/data/www/sitename.store/system/library/db/mysqli.php:45, referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] Stack trace:, referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #0 /var/www/sitename/data/www/sitename.store/system/library/db.php(21): DB\\MySQLi->query('SELECT * FROM o...', Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #1 /var/www/sitename/data/www/sitename.store/admin/model/catalog/url_alias.php(4): DB->query('SELECT * FROM o...'), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #2 [internal function]: ModelCatalogUrlAlias->getUrlAlias('testovaja'), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #3 /var/www/sitename/data/www/sitename.store/system/storage/modification/system/engine/loader.php(183): call_user_func_array(Array, Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #4 [internal function]: Loader->{closure}(Array, Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #5 /var/www/sitename/data/www/sitename.store/system/engine/proxy.php(30): call_user_func_array(Object(Closure), Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #6 /var/www/sitename/data/www/sitename.store/system/storage/modification/admin/controller/catalog/category.php(641): Proxy->__call('getUrlAlias', Array), referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ
[Wed May 27 17:02:26 2020] [error] [client 193.176.78.126] #7  in /var/www/sitename/data/www/sitename.store/system/library/db/mysqli.php on line 45, referer: https://sitename.store/admin/index.php?route=catalog/category/add&token=cIt4GiLJtC3hDX1ItVvZlwtrd9K4FRlQ

Подскажите, пожалуйста, что за ерунда при добавлении категории ?

там же написано- нет такой таблицы sitename.oc_seo_url

Share this post


Link to post
Share on other sites

Взял таблицу из обычного ocstore  и  заработало

 

Цитата

DROP TABLE IF EXISTS `oc_seo_url`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `oc_seo_url` (
  `seo_url_id` int(11) NOT NULL AUTO_INCREMENT,
  `store_id` int(11) NOT NULL,
  `language_id` int(11) NOT NULL,
  `query` varchar(255) NOT NULL,
  `keyword` varchar(255) NOT NULL,
  PRIMARY KEY (`seo_url_id`),
  KEY `query` (`query`),
  KEY `keyword` (`keyword`)
) ENGINE=MyISAM AUTO_INCREMENT=24465 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

 

Share this post


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

Взял таблицу из обычного ocstore  и  заработало

 

 

естественно заработает. 

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.