• Resolved lb79

    (@lb79)


    Hi,

    Im trying to install my local site on a live server.
    I have my .zip file which duplicator extracted. My database tests pass but i get the error “Unable to read the database.sql file from the archive.”.

    My database.sql file is available. looking at other posts they mention an installer.sql but i cannot find this file at all – not in the zip or the extracted zip.

    Please can someone assist?
    Thanks

Viewing 1 replies (of 1 total)
  • Hey @lb79,

    This can happen for a few reasons:

    1. Your database was rather large and the memory needed by PHP to copy the database.sql file over to installer-data.sql is not large enough. Solution for this is double or triple the PHP memory relative to the size of the database.sql file.

    2. If you have plenty of memory then it might be related to your permissions on the server. PHP is unable to copy a file… In this cause you will want to check the PHP permissions.

    Let me know if any of them help~

Viewing 1 replies (of 1 total)
  • The topic ‘Unable to read the database.sql file from the archive.’ is closed to new replies.