CSRF token missing

Issue #320 resolved
Former user created an issue

I've got this message when i'm trying to upload my SQL file. I'm working on Wamp 3.0.0

Comments (5)

  1. phpLiteAdmin repo owner

    I need some more info:

    • So you use the "import" tab to upload a SQL dump, right?
    • There are two "import" tabs: One when you are inside a table, having action=table_import in the URL, and one when you are inside a database, having view=import in the url. Are both affected?
    • How big is the file you are trying to import?
    • Create a php-file called phpinfo.php with the following content:
    <?php 
    phpinfo();
    ?>
    

    Open this in the Browser and search for upload_max_filesize and tell me what it says next to this. Then search for post_max_size and tell me what its says next to it.

  2. Ngilio
    • Yes, i believe that i use the correct "import" tab. Capture.PNG

    • My URL end by "phpliteadmin.php?table=Medicaments&action=table_import"

    • Actually, my file wieght is not far than 112 Mo
    • upload_max_filesize = post_max_size = 32M
  3. Ngilio

    It's working when i set both max size to 132M.

    Maybe @phpliteadmin should update import form error message. Because in this case, the title "CSRF token missing" have nothing related to the real problem #Max_Size

    Thanks for your attention. Your tool is really useful. Congrats

    PS : I constat it's taking more than 2h to import 9M (49 980 rows) but less than 1h30 to import 112M (9 153 rows). Maybe it's possible to find a way to make it faster

  4. Log in to comment