Jump to content
Sign in to follow this  
Abrillian

Ошибка The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,'

Recommended Posts

После установки выдает ошибки.

Warning: session_start() [function.session-start]: The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/aktivnie/public_html/hopxxx.ru/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/aktivnie/public_html/hopxxx.ru/index.php:104) in /home/aktivnie/public_html/hopxxx.ru/system/library/session.php on line 11Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/aktivnie/public_html/hopxxx.ru/index.php:104) in /home/aktivnie/public_html/hopxxx.ru/system/library/session.php on line 11Warning: Cannot modify header information - headers already sent by (output started at /home/aktivnie/public_html/hopxxx.ru/index.php:104) in /home/aktivnie/public_html/hopxxx.ru/index.php on line 177

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

Share this post


Link to post
Share on other sites

Возможно вопрос немного не по теме, но с чем связан выбор оригинального английского opencart, а не русской сборки ocStore?

 

Кстати, зашел на сайт. Всё нормально, ошибок нет, зарегистрироваться тоже смог без проблем и ошибок.

Проблемы с сессией у вас в админке или где?

Share this post


Link to post
Share on other sites

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

 

...but a cookie that links you to a generated session id is client side. If that cookie changes to an invalid format (somebody is trying to exploit something) PHP will notice it...

 

http://www.php.net/manual/en/function.session-start.php#82957

Share this post


Link to post
Share on other sites

А разве эта проверка не должна быть уже встроена в движок?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.