#174 Invalid CSRF token. Send the form again.

3.3.3
closed-works-for-me
Jakub Vrána
MySQL (67)
5
2011-07-22
2011-07-22
Anonymous
No

When any of the buttons (such as "Delete", "Clone", "Truncate").

Discussion

  • Jakub Vrána
    Jakub Vrána
    2011-07-22

    • status: open --> open-works-for-me
     
  • Jakub Vrána
    Jakub Vrána
    2011-07-22

    Please specify your browser and PHP version. Send me the complete HTML code of any page with these buttons.

    Try to disable permanent login if you are using it to see if session variables works.

     
  • If you do not choose a permanent login, the system says that the expired session. Although cookies cleared.

    "Invalid CSRF token" error occurs in all forms.

    Browser: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0
    PHP: Version 5.2.9, register_globals=off, safe_mode=off; mysql Client API version 5.0.88

    How to send an entire page, rather than piecemeal (for Ajax)?

    I'm sorry for my English.

     
  • Jakub Vrána
    Jakub Vrána
    2011-07-22

    The problem is with session variables. Do they work in other pages? Please create a simple PHP script and run it on the same server to verify this.

    You don't need to send HTML anymore.

     
  • Jakub Vrána
    Jakub Vrána
    2011-07-22

    • status: open-works-for-me --> open-works-for-me
     
  • Please write the script. I do not know much PHP.

     
  • Jakub Vrána
    Jakub Vrána
    2011-07-22

    Session test

     
    Attachments
  • Jakub Vrána
    Jakub Vrána
    2011-07-22

    • status: open-works-for-me --> open-works-for-me
     
  • After completing brought 1.
    After a few page reloads the same thing.

     
  • Jakub Vrána
    Jakub Vrána
    2011-07-22

    Your session variables doesn't work. Adminer requires them.

    Check your session.save_path and other configuration directives.

     
  • Jakub Vrána
    Jakub Vrána
    2011-07-22

    • status: open-works-for-me --> closed-works-for-me
     
  • Thank you very much. That's right, all right!
    :)

     

  • Anonymous
    2011-11-16

    Yes this problem is caused by session savepath not being writable, add this line to the top of your file, will work if your host allows it

    ini_set( 'session.save_path', 'path/to/writable/directory/' );