• Resolved mikerinos

    (@mikerinos)


    Hi!

    I’m still so happy to use you plugin… Thanks a lot again.
    Today I wanted to move to another host for some test.
    After running the installer everything looks find and green but in fact when I wanted to access my webpage I only got a 500 error.
    After some investigation, wp-config.php was empty!

    So there might be a bug somewhere 🙂 (I ran the installer like 4 times)

    Cheers,

    http://wordpress.org/extend/plugins/duplicator/

Viewing 8 replies - 1 through 8 (of 8 total)
  • That is very strange. It does update the wp-config.php but nobody has ever reported it showing a complete blank file. When the wp-config file is in the zip file is it blank? Also check immediately after step 1 and see the state of the file.

    Thread Starter mikerinos

    (@mikerinos)

    In fact, the one in the zip file… well, there’s no wp-config.php in my zip file created by Duplicator…

    Thread Starter mikerinos

    (@mikerinos)

    I’ve tested Duplicator on my new host and in the archive there was the wp-config.php completed.
    I’ve checked some old archive on my “old” hosting and they don’t have it… strange…

    This is probably a permissions issue on the server where you created the package. The wp-config files permissions may be too strict for the Duplicator to pick it up and put it in the package. 99% of the time when a file is missing from the package its because of permissions on that file or directory. Also make sure you didn’t ever exclude it from the exclusion filter list found in the options dialog…

    I just duplicated one wordpress site to another both hosted with godaddy. My wp-config file is 0 bytes as well

    Hey kvgorham,

    I would try the process again to make sure you didn’t run into a possible race condition. If it happens again then check the package.zip file. If the wp-config file is not blank from within the package, then there is probably a permissions issues when it is extracted from the zip to disk that is causing the file to get zeroed out. I would contact godaddy support to validate the issue…

    Cheers~

    I have the same problem here with version 0.4.6. I clone a live site to a local development server and get a wp-config.php with 0 bytes. I have to manually get the wp-config.php from the archive and change the database connection in order for everything to work as expected.

    Hey paddelboot,

    You may check the wp-config.php file inside the zip file and see its byte size. If its 0 inside the package then the plugin is having issues reading/writing the file. If its not then the plugin probably doesn’t have enough permissions to update the file after its extracted. I would check your permissions and file owner settings on the root folder and file itself.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘wp-config.php empty after installing’ is closed to new replies.