Перейти до вмісту
Пошук в
  • Детальніше...
Шукати результати, які ...
Шукати результати в ...

filter Pro [Поддержка]


freelancer

Recommended Posts

Freelancer, очень прошу помощи. Хотя бы напишите, в какую сторону копать.

Всем доброго дня!

Фильтр стал работать некорректно, выдает ошибки, зависает сайт, белый экран. В какой момент это произошло неизвестно.

Подскажите, кто сталкивался. В чем может быть проблема?

Раньше стояла версия FilterPro v2.4.4.1 (seo)
Сейчас переустановил на версию filter Pro 2.5.17.4_beta

Ошибки остались те же самые. 

 

Сайт: www.ottics.ru

Симптомы следующие: 

При отключенном фильтре данных ошибок не возникает.

При включенном фильтре вылезает кучу ошибок/записей в журнале. Следуя из этих записей, ошибки в 5 строках кода в 1-м файле.

 

2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 212
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 213
2016-02-25 19:27:41 - PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 217
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 218
2016-02-25 19:27:41 - PHP Notice: Array to string conversion in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219
2016-02-25 19:27:41 - PHP Warning: html_entity_decode() expects parameter 1 to be string, array given in ottics.ru/public_html/catalog/view/theme/univer/template/module/filterpro.tpl on line 219

Подскажите, кто знает, в чем проблема. Или, может знаете в какую сторону копать?

Надіслати
Поділитися на інших сайтах


про белый экран тут статья https://opencartforum.com/forum-12/announcement-1-%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B0-http-500-internal-server-error-%D0%BE%D0%BD%D0%B0-%D0%B6%D0%B5-%D0%B1%D0%B5%D0%BB%D1%8B%D0%B9-%D1%8D%D0%BA%D1%80%D0%B0%D0%BD-%D1%87%D0%B8%D1%82%D0%B0%D1%82%D1%8C-%D0%BF%D1%80%D0%B5%D0%B6%D0%B4/

на счет сохранения настроек фильтра есть в FAQ

 

при сохранении фильтров в админке не все поля сохраняются, например методы фильтрации или расположение фильтра на схемах

либо в логах ошибки вида
Notice: Undefined index: attr_group in .../catalog/controller/module/filterpro.php on line 274
Notice: Undefined index: filterpro_container
 
1. нужно указать параметр php_value max_input_vars 3000(или более) в файле .htaccess
2. выполнить скрипт в mysql
ALTER TABLE `oc_setting` CHANGE `value` `value` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
где oc_ ваш префикс, можно посмотреть в файле config

define('DB_PREFIX', 'oc_');
Надіслати
Поділитися на інших сайтах

да, если под фильтр не попали товары - вывод не меняется

А как можно это изменить? Вообще на самом деле это достаточно ожидаемая функция, так как на сервисах, где есть такие фильтры, обычно работает именно так, да и иначе клиент вводится в заблуждение.

Надіслати
Поділитися на інших сайтах


нет, это не так

Тогда наверное стоит как-то предупреждать людей, у кого-то активация стоит, у кого-то проекты - у вас же в профиле написано вон, что вы в отпуск там когда-то уезжали - могли бы и здесь наверное как-то предупредить. Как минимум перед вышестоящими людьми можно этим вашим сообщением будет оправдать простой, тут вроде все деньги зарабатывают, а не отзывы об игре пишут :)

Надіслати
Поділитися на інших сайтах


А как можно это изменить? Вообще на самом деле это достаточно ожидаемая функция, так как на сервисах, где есть такие фильтры, обычно работает именно так, да и иначе клиент вводится в заблуждение.

в файле

catalog\view\theme\default\template\module\filterpro_products.tpl

допишите в конец

<?php if(!$products){ ?>
 ваш текст
<?php } ?>
Надіслати
Поділитися на інших сайтах

Вопрос к участникам форума.

Мною куплено 3 модуля нашего разработчика, а именно FilterPro, SeoGen, SeoPro. По договоренности разработчик все установил на сайт и все остались довольны.

Сейчас у меня возникла проблема, нужно настроить ЧПУ для фильтра. Написал freelancer, а в ответ получаю сообщения из серии "отвали". На мои может не совсем правильные вопросы я получаю ответ "судя по вашим вопросам никак. вообще. вашу проблему не решить." Мне предложили заплатить за настройку модуля, но я не хочу этого делать, тк я уже платил этому человеку за настройку этого модуля. Почему я должен это еще раз делать?

Это поддержка модуля? Что думаю по этому поводу я отписал автору, на что переписка была удалена и включен игнор.Автор не отвечает, проблема не решена.

 

Рассудите.

Надіслати
Поділитися на інших сайтах


sadist

При фильтрации выдавать результат с ЧПУ? Если да, то не видел такого. Скорее всего это невозможно или сложно, но я не спец. В любом случае, в поддержку модуля, это не входит. 

Змінено користувачем Rataban
Надіслати
Поділитися на інших сайтах


sadist

При фильтрации выдавать результат с ЧПУ? Если да, то не видел такого. Скорее всего это невозможно или сложно, но я не спец. В любом случае, в поддержку модуля, это не входит. 

в модуле есть вкладка SEO. Она не функционирует правильно.

Надіслати
Поділитися на інших сайтах


Фильтр приобрел давно, проблем с установкой и подгонкой под свои нужды, у меня не возникло, все работает превосходно.  СЕО функционал (отличное дополнение к фильтру), не сразу, но завелся (проблема была в моей невнимательности). Спасибо freelancer за помощь, в наставлении на путь истинный :-) .

В целом, модуль выше всяких похвал. Рекомендую всем!

Надіслати
Поділитися на інших сайтах


Фильтр приобрел давно, проблем с установкой и подгонкой под свои нужды, у меня не возникло, все работает превосходно.  СЕО функционал (отличное дополнение к фильтру), не сразу, но завелся (проблема была в моей невнимательности). Спасибо freelancer за помощь, в наставлении на путь истинный :-) .

В целом, модуль выше всяких похвал. Рекомендую всем!

В чем была проблема с сео? 

Надіслати
Поділитися на інших сайтах


В чем была проблема с сео? 

Невнимательное чтение  инструкции.

 

Есть где нибудь инструкция или обсуждение по настройки seo?

Инструкция в архиве с модулем.

Надіслати
Поділитися на інших сайтах


Вы можете наконец-то исправить баг???????????????????
что за отношение???
увидел что опытный разработчик, разные модули... а по факту игнор, недопонимание и т.д.!!!!

КУПИЛ 23.02.2016

Надіслати
Поділитися на інших сайтах


Есть втрибути и отсортированы так 100мм, 110мм, 90мм

А надо 90мм, 100мм, 110мм

Вот нашел решение

покажу на примере


   	   foreach($this->data['attributes'] as $attribute_group_id => $attribute_group) {
       	   foreach($attribute_group['attribute_values'] as $attribute_id => $attribute){
           	 if ($attribute_id==4){
               	 $sort_order = array("16GB" => 2, "32GB" => 3, "4GB" => 0, "64GB" =>4 , "8гб" => 1);
               	 array_multisort($sort_order, SORT_ASC, $this->data['attributes'][$attribute_group_id]['attribute_values'][$attribute_id]['values']);
           	 }
       	   }  
   	   }
 
код в контроллере фильтра перед
$this->data['price_slider'] = $filterpro_setting['price_slider'];

Делаю так:

foreach($this->data['attributes'] as $attribute_group_id => $attribute_group) {
    foreach($attribute_group['attribute_values'] as $attribute_id => $attribute){
       $attribute = array_multisort($attribute['values'], SORT_NUMERIC, SORT_ASC);
   }  
 }
Но сортировка не изменяется где я ошибся?
Надіслати
Поділитися на інших сайтах

Невнимательное чтение  инструкции.

 

Инструкция в архиве с модулем.

Проблем не было т.к. вообще его не использовал.Сейчас ссылку прописал, работает.Но тайтл и описание не меняется

Надіслати
Поділитися на інших сайтах


Serg9988, это способ для версии 2.4.4

для 2.5.x я в контроллере закомментировал код, который следует раскомментировать и подставить свои значения

Надіслати
Поділитися на інших сайтах

Здравствуйте,   Некоторое время назад покупали у вас лицензию на ваш фильтр для домена в prettymum.org Сейчас выяснилось что на нем не работает функция  фильтрации по наличию товара. Она выводиться, но не работает. Можете посмотреть, почему так выходит и поправить данный вариант. И если мы покупали лицензию, доступно ли для нас обновление бесплатно? Решит ли  она нашу проблему?

Надіслати
Поділитися на інших сайтах


Створіть аккаунт або увійдіть для коментування

Ви повинні бути користувачем, щоб залишити коментар

Створити обліковий запис

Зареєструйтеся для отримання облікового запису. Це просто!

Зареєструвати аккаунт

Вхід

Уже зареєстровані? Увійдіть тут.

Вхід зараз

×
×
  • Створити...

Important Information

На нашому сайті використовуються файли cookie і відбувається обробка деяких персональних даних користувачів, щоб поліпшити користувальницький інтерфейс. Щоб дізнатися для чого і які персональні дані ми обробляємо перейдіть за посиланням . Якщо Ви натиснете «Я даю згоду», це означає, що Ви розумієте і приймаєте всі умови, зазначені в цьому Повідомленні про конфіденційність.