error - Session expired, please login again

Help
2010-05-31
2013-06-06
  • Nobody/Anonymous

    Hello!

    Adminer do not work for me. Аfter each login i got error:
    Session expired, please login again

    Screen: http://imm.io/Bjw

    What's wrong? 8(

    Please help me…

    tnx, Sergey

     
  • Nobody/Anonymous

    any help from adminer or anybody?

     
  • Trevor Morse

    Trevor Morse - 2010-08-25

    I am having the same problem.

    Adminer version: 2.3.2
    PHP version: 5.3.2
    PHP session.* vars:
    session

    Session Support enabled
    Registered save handlers files user memcache
    Registered serializer handlers php php_binary wddx

    Directive Local Value Master Value
    session.auto_start Off Off
    session.bug_compat_42 Off Off
    session.bug_compat_warn Off Off
    session.cache_expire 180 180
    session.cache_limiter nocache nocache
    session.cookie_domain no value no value
    session.cookie_httponly Off Off
    session.cookie_lifetime 0 0
    session.cookie_path / /
    session.cookie_secure Off Off
    session.entropy_file no value no value
    session.entropy_length 0 0
    session.gc_divisor 1000 1000
    session.gc_maxlifetime 1440 1440
    session.gc_probability 1 1
    session.hash_bits_per_character 5 5
    session.hash_function 0 0
    session.name PHPSESSID PHPSESSID
    session.referer_check no value no value
    session.save_handler files files
    session.save_path /var/lib/php/session /var/lib/php/session
    session.serialize_handler php php
    session.use_cookies On On
    session.use_only_cookies On On
    session.use_trans_sid 0 0

     
  • Trevor Morse

    Trevor Morse - 2010-08-25

    Found this error at the bottom of the page were I couldn't see it without scrolling:

    Warning: Unknown: open(/var/lib/php/session/sess_halempt0sbmccobeat8k5rpe52, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0

    Then realized I had just changed the username/group that apache gets run as a few days ago. So it can be fixed by making sure the user apache is run as has permission to your session.save_path

     
  • Nobody/Anonymous

    Thanks a lot!

    Indeed, I was experiencing this issue with the Session Expires error and if I were to login with permanent login selected, then it would login but when creating a database i'd get the Invalid CSRF token. Send the form again. error. But this got fixed after I created the session.save_path directory.

    Thank you again !

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks