А теперь представьте сколько мы, вебмастера, потеряли денег

igor3310
На сайте с 27.02.2011
Offline
138
#2051

Новый 1.5 скрипт - залогинился вроде (написало в окошке Login successful!)

П.С. Правда при сохранении настроек ругалось на Заголовок в файле Warning: Cannot modify header information - headers already sent by (output started at D:\SERVER\OpenServer\domains\adsends\functions.php:498) in D:\SERVER\OpenServer\domains\adsends\settings\settings_update.php on line 13

==========

и при Старте такие выдает:

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 285

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 285

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 285

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 285

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 285

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 278

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 280

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 281

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 282

Notice: iconv(): Detected an illegal character in input string in D:\SERVER\OpenServer\domains\adsends\functions.php on line 285

Notice: Undefined index: host in D:\SERVER\OpenServer\domains\adsends\functions.php on line 141

Notice: Undefined offset: -1 in D:\SERVER\OpenServer\domains\adsends\functions.php on line 145

Notice: Undefined index: host in D:\SERVER\OpenServer\domains\adsends\functions.php on line 141

Notice: Undefined offset: -1 in D:\SERVER\OpenServer\domains\adsends\functions.php on line 145

Notice: Undefined index: host in D:\SERVER\OpenServer\domains\adsends\functions.php on line 141

Notice: Undefined offset: -1 in D:\SERVER\OpenServer\domains\adsends\functions.php on line 145

Notice: Undefined index: host in D:\SERVER\OpenServer\domains\adsends\functions.php on line 141

Notice: Undefined offset: -1 in D:\SERVER\OpenServer\domains\adsends\functions.php on line 145

Notice: Undefined index: host in D:\SERVER\OpenServer\domains\adsends\functions.php on line 141

Notice: Undefined offset: -1 in D:\SERVER\OpenServer\domains\adsends\functions.php on line 145

Notice: Undefined index: host in D:\SERVER\OpenServer\domains\adsends\functions.php on line 141

Notice: Undefined offset: -1 in D:\SERVER\OpenServer\domains\adsends\functions.php on line 145

Notice: Undefined index: host in D:\SERVER\OpenServer\domains\adsends\functions.php on line 141

Notice: Undefined offset: -1 in D:\SERVER\OpenServer\domains\adsends\functions.php on line 145
Веб разработка WordPress, OpenCart, Modx Revo и прочее - https://searchengines.guru/ru/forum/1040224
V
На сайте с 07.09.2011
Offline
113
#2052

Удалил iconv, все работает без ошибок. Правда я тестировал только на одном слове.

Возникает вопрос - в чем разница stopwords и bad ad text. Разная логика работы? Ведь в любом случае запрос с этим словом/текстом как фильтр посылается гуглу и тот отвечает списком объяв. Или здесь как-то по-другому?

Ведь один список на виду лучше чем два.

Добвил "суставы как в молодости" в stopwords - все прекрасно заблокировалось.

Еще. Запросы идут на новый ЦПО или старый? В новом, если пометить объявы как проверенные, они не будут появлятся в фильтре.

ps

"смотреть видео" - по этому фильтру было два объявления, одно текстовое, оно заблокировалось, а вот такое как на картинке не заблокировалось почемуто.

jpg adsense_obyavl.jpg
Drayz
На сайте с 03.02.2015
Offline
52
#2053

Версия 1.3 открывается норм. Перезалил версию 1.5 и получил:

Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home/домен/public_html/bl/functions.php on line 10 Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home/домен/public_html/bl/functions.php on line 11 Check __DIR__/settings/ directory write permissions

Чтобы это значило?

Жадность порождает бедность
V
На сайте с 07.09.2011
Offline
113
#2054
Drayz:
Версия 1.3 открывается норм. Перезалил версию 1.5 и получил:
Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home/домен/public_html/bl/functions.php on line 10 Notice: Use of undefined constant __DIR__ - assumed '__DIR__' in /home/домен/public_html/bl/functions.php on line 11 Check __DIR__/settings/ directory write permissions

Чтобы это значило?

Видимо PHP старенький. Попробуйте костыль

if( !defined( __DIR__ ) )define( __DIR__, dirname(__FILE__) );

Автор, тему бы создал новую под этот шайтан скрипт ))

T
На сайте с 11.08.2009
Offline
133
#2055
sergeich_gs:
Посмотрел что это. Ранее не знал. Да, можно было бы, но честно, нет желания сейчас переделывать под Symfony. На php5 и так работает, а на php7 есть и другие проблемы совместимости, так что ещё и смысла большого не вижу.

Необязательно тянуть весь Symfony, достаточно только одного этого компонента и подключить по Psr-4 + Composer. Это намного облегчит жизнь по парсингу, плюс в самом компоненте уже есть полная совместимость со всеми популярными версиями php.

P.S. Раньше я как и Вы кодил на чистом php. Как только перешел на фреймворки + composer, то как будто глоток свежего воздуха получил. Это нереально облегчит вам дальнейший код и сэкономит массу времени и нервов.

Drayz
На сайте с 03.02.2015
Offline
52
#2056
Vanzent:
Видимо PHP старенький.

Обновил PHP до 5.6, открылась главная страница) Спасибо!

V
На сайте с 07.09.2011
Offline
113
#2057

Поставил каждые 15 проверку )) Огонь!

Если бы можно было скрипт проверки в крон запихнуть, и через веб это контролировать, а я думаю что это можно сделать, то вообще зер гуд будет.

ps.

Check for redirects вылазят ошибки. И понаблокировал целую кучу нормальных объяв ))

Notice: Undefined index: host in /home/hdd1/www/soder.ru/bad_ads_blocker_1/functions.php on line 141

Notice: Undefined offset: -1 in /home/hdd1/www/soder.ru/bad_ads_blocker_1/functions.php on line 145
Drayz
На сайте с 03.02.2015
Offline
52
#2058

Теперь при авторизации в окошке справа внизу:

Notice: Undefined variable: forms in /home/домен/public_html/login_functions.php on line 165

😡

И при сохранении настроек:

Notice: Undefined index: HTTP_REFERER in /home/доменpublic_html/settings/settings_update.php on line 13 Warning: Cannot modify header information - headers already sent by (output started at /home/домен/public_html/functions.php:498) in /home/домен/public_html/settings/settings_update.php on line 13

V
На сайте с 07.09.2011
Offline
113
#2059

Ни с того ни с сего перезаписался сеттингс, мыло стало *** gmail.com . Откуда он это выкапал?

Вобщем блокировал, блокировал и перестал. Может там каптча вылазит? попробую позже.

200Online
На сайте с 22.01.2017
Offline
86
#2060
Vanzent:
Ни с того ни с сего перезаписался сеттингс, мыло стало ******* . Откуда он это выкапал?

Деанон засчитан, но на вашем месте я бы удалил email из сообщения, пока оно редактируется.

Многие люди ценят приватность, а этот адрес явно попал в конфиг случайно.

Авторизуйтесь или зарегистрируйтесь, чтобы оставить комментарий