A.Molodcov Опубликовано: июня 15, 2017 Жалоба Поделиться Опубликовано: июня 15, 2017 (изменено) Случайно удалил все данные в SEO менеджере и поставил окончание ЧПУ html ocStore 2.3.0.2.2. После этого выскакивает ошибка 500, выключил окончание (данные в сео менеджере не вернуть соответственно), в форуме начитался советов - внес изменения в .htaccess (уже переименованый). До этого косяка всё хорошо функционировало, а те данные, которые удалил - принял за остатки старых товаров из стандартного шаблона. В общем, товарищи - выручайте. Буду признателен. Сам впервые занялся подобными вещами, как сайтостроение. Содержимое .htaccess: Скрытый текст # 1.To use URL Alias you need to be running apache with mod_rewrite enabled. # 2. In your opencart directory rename htaccess.txt to .htaccess. # For any support issues please visit: http://www.opencart.com Options +FollowSymlinks # Prevent Directoy listing Options -Indexes php_flag display_errors On php_value error_reporting 2047 # Prevent Direct Access to files <FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))"> Require all denied ## For apache 2.2 and older, replace "Require all denied" with these two lines : # Order deny,allow # Deny from all </FilesMatch> <Files http://shop.plsmazok.ru/403.shtml> order allow,deny allow from all </Files> ErrorDocument 403 http://tagil-viagra.ru/403.shtml # Далее список юзерагентов которым мы запрещаем доступ SetEnvIfNoCase User-Agent MJ12bot bad_bot SetEnvIfNoCase User-Agent JS-Kit bad_bot SetEnvIfNoCase User-Agent PostRank bad_bot SetEnvIfNoCase User-Agent Python-urllib bad_bot SetEnvIfNoCase User-Agent UnwindFetchor bad_bot SetEnvIfNoCase User-Agent facebookexternalhit bad_bot SetEnvIfNoCase User-Agent TweetmemeBot bad_bot SetEnvIfNoCase User-Agent Butterfly bad_bot SetEnvIfNoCase User-Agent MFE_expand bad_bot SetEnvIfNoCase User-Agent Java bad_bot SetEnvIfNoCase User-Agent Summify bad_bot SetEnvIfNoCase User-Agent MetaURI bad_bot SetEnvIfNoCase User-Agent FlipboardProxy bad_bot SetEnvIfNoCase User-Agent ScribdReader bad_bot SetEnvIfNoCase User-Agent RockMelt bad_bot SetEnvIfNoCase User-Agent InAGist bad_bot SetEnvIfNoCase User-Agent NING bad_bot SetEnvIfNoCase User-Agent TweetedTimes bad_bot SetEnvIfNoCase User-Agent PaperLiBot bad_bot SetEnvIfNoCase User-Agent Library bad_bot SetEnvIfNoCase User-Agent Ezooms bad_bot SetEnvIfNoCase User-Agent strawberryj bad_bot SetEnvIfNoCase User-Agent Scooper bad_bot SetEnvIfNoCase User-Agent Ahrefs bad_bot SetEnvIfNoCase User-Agent Spider bad_bot SetEnvIfNoCase User-Agent None bad_bot SetEnvIfNoCase User-Agent EventMachine bad_bot SetEnvIfNoCase User-Agent aiHitBot bad_bot SetEnvIfNoCase User-Agent SolomonoBot bad_bot SetEnvIfNoCase User-Agent SearchBot bad_bot SetEnvIfNoCase User-Agent Wget bad_bot SetEnvIfNoCase User-Agent Crawler bad_bot Order Allow,Deny Allow from all Deny from env=bad_bot # SEO URL Settings RewriteEngine On # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ RewriteBase /tagil-viagra.ru/ RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^(.*) http://%1/$1 [L,R=301] RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L] RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L] RewriteRule ^system/download/(.*) index.php?route=error/not_found [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css) RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] RewriteEngine On ### Additional Settings that may need to be enabled for some servers ### Uncomment the commands by removing the # sign in front of it. ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that. # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it: # php_flag register_globals off # 2. If your cart has magic quotes enabled, This may work to disable it: # php_flag magic_quotes_gpc Off # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try # php_value upload_max_filesize 999M # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value post_max_size 999M # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_execution_time 200 # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields # php_value max_input_time 200 # 7. disable open_basedir limitations # php_admin_value open_basedir none Изменено июня 15, 2017 пользователем RHCk Картинки, логи и код убирайте под спойлер! Цитата Ссылка на комментарий Поделиться на других сайтах Больше вариантов поделиться...
WarStyle Опубликовано: июня 15, 2017 Жалоба Поделиться Опубликовано: июня 15, 2017 Включите показ ошибок php, что там пишет? Цитата Ссылка на комментарий Поделиться на других сайтах Больше вариантов поделиться...
A.Molodcov Опубликовано: июня 19, 2017 Автор Жалоба Поделиться Опубликовано: июня 19, 2017 В 15.06.2017 at 23:59, WarStyle сказал: Включите показ ошибок php, что там пишет? содержимое error.log Скрытый текст 2017-06-08 18:04:07 - PHP Notice: Error: Could not load template /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/common/footer.tpl! in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/system/library/template/php.php on line 23 2017-06-10 16:04:50 - PHP Notice: Undefined index: country_id in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/controller/tmdqc/shipping_address.php on line 381 2017-06-10 16:04:50 - PHP Notice: Undefined index: firstname in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: lastname in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: company in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: address_1 in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: address_2 in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: postcode in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: city in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: zone_id in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: country_id in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-11 11:47:28 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/order.tpl on line 14 2017-06-11 11:53:55 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 11:55:38 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 11:57:11 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 11:58:13 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 12:02:41 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 12:02:41 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/order.tpl on line 14 2017-06-11 12:03:45 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-13 20:10:39 - PHP Warning: unlink(/var/www/u0354829/data/www/tagil-viagra.ru/system/mbooth/install/d_quickcheckout.xml): No such file or directory in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 325 2017-06-13 20:10:39 - PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0354829/data/www/tagil-viagra.ru/admin/controller/startup/error.php:34) in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 428 2017-06-13 20:10:59 - PHP Warning: unlink(/var/www/u0354829/data/www/tagil-viagra.ru/system/mbooth/install/d_quickcheckout.xml): No such file or directory in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 325 2017-06-13 20:10:59 - PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0354829/data/www/tagil-viagra.ru/admin/controller/startup/error.php:34) in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 428 2017-06-13 20:13:12 - PHP Warning: unlink(/var/www/u0354829/data/www/tagil-viagra.ru/system/mbooth/install/d_quickcheckout.xml): No such file or directory in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 325 2017-06-13 20:13:12 - PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0354829/data/www/tagil-viagra.ru/admin/controller/startup/error.php:34) in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 428 Цитата Ссылка на комментарий Поделиться на других сайтах Больше вариантов поделиться...
WarStyle Опубликовано: июня 19, 2017 Жалоба Поделиться Опубликовано: июня 19, 2017 35 минут назад, A.Molodcov сказал: содержимое error.log Показать содержимое 2017-06-08 18:04:07 - PHP Notice: Error: Could not load template /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/common/footer.tpl! in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/system/library/template/php.php on line 23 2017-06-10 16:04:50 - PHP Notice: Undefined index: country_id in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/controller/tmdqc/shipping_address.php on line 381 2017-06-10 16:04:50 - PHP Notice: Undefined index: firstname in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: lastname in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: company in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: address_1 in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: address_2 in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: postcode in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: city in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: zone_id in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-10 16:04:50 - PHP Notice: Undefined index: country_id in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/model/account/address.php on line 4 2017-06-11 11:47:28 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/order.tpl on line 14 2017-06-11 11:53:55 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 11:55:38 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 11:57:11 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 11:58:13 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 12:02:41 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-11 12:02:41 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/order.tpl on line 14 2017-06-11 12:03:45 - PHP Notice: Undefined variable: data in /var/www/u0354829/data/www/tagil-viagra.ru/catalog/view/theme/default/template/extension/module/popup_form/message.tpl on line 14 2017-06-13 20:10:39 - PHP Warning: unlink(/var/www/u0354829/data/www/tagil-viagra.ru/system/mbooth/install/d_quickcheckout.xml): No such file or directory in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 325 2017-06-13 20:10:39 - PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0354829/data/www/tagil-viagra.ru/admin/controller/startup/error.php:34) in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 428 2017-06-13 20:10:59 - PHP Warning: unlink(/var/www/u0354829/data/www/tagil-viagra.ru/system/mbooth/install/d_quickcheckout.xml): No such file or directory in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 325 2017-06-13 20:10:59 - PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0354829/data/www/tagil-viagra.ru/admin/controller/startup/error.php:34) in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 428 2017-06-13 20:13:12 - PHP Warning: unlink(/var/www/u0354829/data/www/tagil-viagra.ru/system/mbooth/install/d_quickcheckout.xml): No such file or directory in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 325 2017-06-13 20:13:12 - PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0354829/data/www/tagil-viagra.ru/admin/controller/startup/error.php:34) in /var/www/u0354829/data/www/tagil-viagra.ru/system/storage/modification/admin/controller/extension/installer.php on line 428 Для начала верните .htaccess из сборки. Бекап есть до изменений? Цитата Ссылка на комментарий Поделиться на других сайтах Больше вариантов поделиться...
A.Molodcov Опубликовано: июня 19, 2017 Автор Жалоба Поделиться Опубликовано: июня 19, 2017 2 часа назад, WarStyle сказал: Для начала верните .htaccess из сборки. Бекап есть до изменений? Нет, к сожалению. Можно воспользоваться другим .htaccess? Может есть альтернативный вариант? Цитата Ссылка на комментарий Поделиться на других сайтах Больше вариантов поделиться...
WarStyle Опубликовано: июня 19, 2017 Жалоба Поделиться Опубликовано: июня 19, 2017 44 минуты назад, A.Molodcov сказал: Нет, к сожалению. Можно воспользоваться другим .htaccess? Может есть альтернативный вариант? Сохраните свой или переименуйте его в .htaccess.txt и загрузите тот что из сборки. При написании сообщения об ошибке, указывайте следующую информацию: Хостинг. Shared или VDS/VPS. Какая у вас сборка (движок). Версия движка. Какой шаблон установлен. Если платный, должна быть лицензия. С варезом можно не писать. Какие модули установлены. Точное описание последовательности действий, чтобы получить ошибку. В особо тяжелых случаях может потребоваться адрес сайта. Однако ни что не мешает указывать его сразу. ПОЛЕЗНО! Если на ваше сообщение не обращают внимание, возможно вы указали не всю информацию, проверьте себя. © Цитата Ссылка на комментарий Поделиться на других сайтах Больше вариантов поделиться...
A.Molodcov Опубликовано: июня 19, 2017 Автор Жалоба Поделиться Опубликовано: июня 19, 2017 1 час назад, WarStyle сказал: Сохраните свой или переименуйте его в .htaccess.txt и загрузите тот что из сборки. При написании сообщения об ошибке, указывайте следующую информацию: Хостинг. Shared или VDS/VPS. Какая у вас сборка (движок). Версия движка. Какой шаблон установлен. Если платный, должна быть лицензия. С варезом можно не писать. Какие модули установлены. Точное описание последовательности действий, чтобы получить ошибку. В особо тяжелых случаях может потребоваться адрес сайта. Однако ни что не мешает указывать его сразу. ПОЛЕЗНО! Если на ваше сообщение не обращают внимание, возможно вы указали не всю информацию, проверьте себя. © Половина ссылок заработало, половина - нет.. Цитата Ссылка на комментарий Поделиться на других сайтах Больше вариантов поделиться...
WarStyle Опубликовано: июня 19, 2017 Жалоба Поделиться Опубликовано: июня 19, 2017 1 час назад, A.Molodcov сказал: Половина ссылок заработало, половина - нет.. Кэш в СЕО менеджере сбросили? Цитата Ссылка на комментарий Поделиться на других сайтах Больше вариантов поделиться...
Рекомендуемые сообщения
Присоединяйтесь к обсуждению
Вы можете опубликовать сейчас и зарегистрироваться позже. Если у вас есть учётная запись, войдите, чтобы публиковать под своей учётной записью.