WP-config Already Exists (3 posts)

  1. vzx
    Posted 5 years ago #

    My server recently had a crash and I had to re-upload my backups (wordpress and its database). After uploading, I overwrote my existing wordpress installation with latest version (I May have already have the newest version - but reuploaded to be sure). Now the blog appears to be fine but when I try to log into the backend, It takes me to wordpress installation page and asks me to create wp-config.php file.

    This file already exists. The installer takes me to the next step and gives me a text link to "try installing wordpress now". When I click on that link, the next page says:

    "You appear to have already installed WordPress. To reinstall please clear your old database tables first."

    What should I do now? Any ideas?

  2. vzx
    Posted 5 years ago #

    I actually followed the instructions from this post


    Now when I try to login to the admin area, this is the error that I get:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in /home/... /blog/wp-admin/includes/template.php on line 3366

    This line actually deals with getting post ID... Any suggestions?

  3. Try increasing the memory for PHP and WordPress by putting this line in your .htaccess file:

    php_value memory_limit 64M

    or this line near the top of your wp-config.php file:

    define('WP_MEMORY_LIMIT', '64M');

    or in your php.ini, if you have access:

    memory_limit = 64M;

Topic Closed

This topic has been closed to new replies.

About this Topic