Перейти к публикации
Поиск в
  • Дополнительно...
Искать результаты, содержащие...
Искать результаты в...

The session id is too long or contains illegal characters


fijneman
 Поделиться

Рекомендованные сообщения

Месяца 2 назад вдруг стали переодически появлятся логи такого типа в журнале. До этого таких никогда не было. Стоит бояться или фигня? С сайтом ничего не делал, новых модулей не ставил. Разве что решил включить регистрацию пользователей, так как впервые за пол-года кто-то хотел зарегаться.
 

2016-06-09 18:02:59 - PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/***/public_html/system/library/session.php on line 10
2016-06-09 18:02:59 - PHP Warning:  session_start(): Cannot send session cookie - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/session.php on line 10
2016-06-09 18:02:59 - PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/session.php on line 10
2016-06-09 18:02:59 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/index.php on line 425
2016-06-09 18:02:59 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/currency.php on line 45
2016-06-09 18:02:59 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 191
2016-06-09 18:03:02 - PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/***/public_html/system/library/session.php on line 10
2016-06-09 18:03:02 - PHP Warning:  session_start(): Cannot send session cookie - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/session.php on line 10
2016-06-09 18:03:02 - PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/session.php on line 10
2016-06-09 18:03:02 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/index.php on line 425
2016-06-09 18:03:02 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/currency.php on line 45
2016-06-09 18:03:02 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/vqmod/vqcache/vq2-catalog_controller_product_category.php on line 135
2016-06-09 19:13:13 - PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/***/public_html/system/library/session.php on line 10
2016-06-09 19:13:13 - PHP Warning:  session_start(): Cannot send session cookie - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/session.php on line 10
2016-06-09 19:13:13 - PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/session.php on line 10
2016-06-09 19:13:13 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/index.php on line 425
2016-06-09 19:13:13 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/currency.php on line 45
2016-06-09 19:13:13 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 191
2016-06-09 21:19:28 - PHP Warning:  unlink(/home/***/public_html/system/cache/cache.product.seopath.1465499968): No such file or directory in /home/***/public_html/vqmod/vqcache/vq2-system_library_cache.php on line 48
2016-06-09 21:19:28 - PHP Warning:  unlink(/home/***/public_html/system/cache/cache.product.seopath.1465499968): No such file or directory in /home/***/public_html/vqmod/vqcache/vq2-system_library_cache.php on line 48
2016-06-09 21:19:35 - PHP Warning:  unlink(/home/***/public_html/system/cache/cache.product.seopath.1465499975): No such file or directory in /home/***/public_html/vqmod/vqcache/vq2-system_library_cache.php on line 48
2016-06-09 21:19:45 - PHP Warning:  file_get_contents(/home/***/public_html/system/cache/cache.product.seopath.1465499985): failed to open stream: No such file or directory in /home/***/public_html/vqmod/vqcache/vq2-system_library_cache.php on line 9
2016-06-10 0:29:08 - PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/***/public_html/system/library/session.php on line 10
2016-06-10 0:29:08 - PHP Warning:  session_start(): Cannot send session cookie - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/session.php on line 10
2016-06-10 0:29:08 - PHP Warning:  session_start(): Cannot send session cache limiter - headers already sent (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/session.php on line 10
2016-06-10 0:29:08 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/index.php on line 425
2016-06-10 0:29:08 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/system/library/currency.php on line 45
2016-06-10 0:29:08 - PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/***/public_html/index.php:352) in /home/***/public_html/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 191
 
Ссылка на комментарий
Поделиться на других сайтах


версия движка ниже 2101?

возможно кто-то из любопытства играет в юного хакера

 

как вариант - попробуйте в файле system\library\session.php

 

перед строкой

session_set_cookie_params(0, '/');

 

добавить

            if (isset($_COOKIE[session_name()]) && !preg_match('/^[a-zA-Z0-9,\-]{22,40}$/', $_COOKIE[session_name()])) {
                exit();
            }
Ссылка на комментарий
Поделиться на других сайтах

Странно, что у вас такая ошибка часто возникает..

Такое возможно но очень редко

 

Эта ошибка возникает у вас или она присутствует в логах

 

вот посмотрите.. ну чтоб я не пресказывал - гугл все знает :)

 

http://stackoverflow.com/questions/3185779/the-session-id-is-too-long-or-contains-illegal-characters-valid-characters-are

Ссылка на комментарий
Поделиться на других сайтах

Я её не могу воспроизвести сам. Пытался регить нового пользователя, логинился им, делал тестовые заказы - нифига в логах опенкарта нет. А вот эти warning'и переодически появляются в логах журнала опенкарта. Надеюсь прекратится после добавления той строчки выше.

 

З.Ы. Помню еще забегал на работу, а мне там девочки менеджеры показывали, что во всей сетке у них в группах ВК стала вставляться непонятная реклама (даже 18+) (все компы на линкусе). При этом у директора на ноуте было норм. Я им сказал провериться на вирусню (а может роутеры вообще хакнуты). Надеюсь тут связи никакой не прослеживается :) Для манагеров все равно настроена учетка с правами просмотра\редактирования заказа и всё.

Ссылка на комментарий
Поделиться на других сайтах


Создайте аккаунт или войдите в него для комментирования

Вы должны быть пользователем, чтобы оставить комментарий

Создать аккаунт

Зарегистрируйтесь для получения аккаунта. Это просто!

Зарегистрировать аккаунт

Войти

Уже зарегистрированы? Войдите здесь.

Войти сейчас
 Поделиться

  • Сейчас на странице   0 пользователей

    • Нет пользователей, просматривающих эту страницу.
×
×
  • Создать...

Важная информация

На нашем сайте используются файлы cookie и происходит обработка некоторых персональных данных пользователей, чтобы улучшить пользовательский интерфейс. Чтобы узнать для чего и какие персональные данные мы обрабатываем перейдите по ссылке. Если Вы нажмете «Я даю согласие», это означает, что Вы понимаете и принимаете все условия, указанные в этом Уведомлении о Конфиденциальности.