session_start(): The session id is too long or contains illegal characters

Asked 2 years ago, Updated 2 years ago, 100 views

I am using MAC OSX Yosemite 10.10.3.

We installed MAMP and successfully launched SQL Server Apache and MAMP's top screen.

However, if you open the tool →phpMyAdmin from here, the following error occurs and SQL editing is not possible.
Enter a description of the image here
I checked with the error code, but there was only information about permission confirmation.
(Permission for /Application/MAMP/tmp/php.)

Is there an incorrect character in the ID of the session?
Where can I start?

php macos phpmyadmin mamp

2022-09-30 10:45

1 Answers

php.ini to Off session.use_strict_mode or

 session.use_strict_mode=Off

Try deleting the browser cookie (PHPSESSID).

http://blog.tokumaru.org/2013/08/php-5.5.2-strict-sessions.html
https://stackoverflow.com/questions/3185779/the-session-id-is-too-long-or-contains-illegal-characters-valid-characters-are


2022-09-30 10:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.