Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3690 Blank page after big file upload

3.3.7
out-of-date
Marc Delisle
5
2013-06-11
2012-10-05
No

I try to import a 13MB zipped SQL file (yes, I have incremented upload_max_filesize and post_max_size, and the correct value is displayed in the import page).
Immediately after the upload is done, I get a BLANK PAGE (the navigation column on the left is displayed but the right part of the page is blank).

There are a lot of good reasons why the import may fail, but what is absolutely wrong and is a phpmyadmin bug is the fact that you only see a blank page. An informative error message should be shown (or the import should work).

This is certainly NOT because of the max execution time limit, as the blank page is shown IMMEDIATELY after the file has finished uploading, so not even a few seconds of actual php execution times have elapsed when the blank page is shown.

Of course, the import fails (meaning the DBs are not created).

Discussion

  • Marc Delisle
    Marc Delisle
    2012-10-05

    Any error in the web server's logs?

    By the way, phpMyAdmin 3.3.7 is outdated.

     
  • Marc Delisle
    Marc Delisle
    2012-10-05

    • status: open --> pending
     
  • Oh my god, here it is:

    [Fri Oct 05 13:05:23 2012] [error] [client 194.183.97.103] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 96268285 bytes) in /usr/share/phpmyadmin/libraries/zip_extension.lib.php on line 62, referer: http://matteosistisette.es/phpmyadmin/server_import.php?token=7035bf6ed832d6d5ba1c657bc84ea8bd

    Trying to allocate 92MB... Looks like it unzips the entire file into memory. Unbelievable.

    Outdated? Well it's the latest available for Debian through apt-get, or at least it's the latest it finds.

     
  • Marc Delisle
    Marc Delisle
    2013-01-18

    • status: pending --> open
     
  • Marc Delisle
    Marc Delisle
    2013-03-24

    • status: open --> pending-out-of-date
    • assigned_to: Marc Delisle
     
  • Marc Delisle
    Marc Delisle
    2013-05-03

    • status: pending-out-of-date --> closed-out-of-date
     
  • Michal Čihař
    Michal Čihař
    2013-06-11

    • Status: closed-out-of-date --> out-of-date