Menu

#3890 (ok 4.0.1) Importing from web server upload directory fails

4.0.0
fixed
None
1
2013-06-11
2013-04-26
No

When trying to import a dump file from the web server upload directory, the file is not imported, but an error is shown.

Steps to reproduce:

  1. Create a folder "upload" in the phpMyAdmin root directory.
  2. Add an SQL dump file to the new folder.
  3. Add the following line to your config.inc.php file:

    $cfg['UploadDir'] = 'upload';

  4. Open a database, and switch to the "Import" tab.

  5. Mark the option "Select from the web server upload directory".
  6. Open the drop down, and pick the file added in step 2.
  7. At the bottom, click the "Go" button.

Expected result:
- The file is imported, and a success message is displayed afterwards.

Actual result:
- The following error message is shown, and the import is canceled:

No data was received to import. Either no file name was submitted,
or the file size exceeded the maximum size permitted by your PHP
configuration. See FAQ 1.16.

Discussion

  • J.M. Rütter

    J.M. Rütter - 2013-04-26
    • summary: Importing from web server upload directory fails --> (ok 4.0.1) Importing from web server upload directory fails
    • status: open --> open-fixed
    • assigned_to: J.M.
    • Priority: 5 --> 1
     
  • Marc Delisle

    Marc Delisle - 2013-05-14
    • Status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed