This forum is no longer active. Please post your questions to our new community site
Over-written wp-config file
|
|
I recently shot myself in the foot when I over-wrote my wp-config.php file as I was preparing to install a WP site I created locally onto a web server. Now I get a database error when I try to access my local site. I went into wp-config.php and changed the settings back to what I thought were the correct ones; now I get the message that WordPress cannot select the database. How do I find the database name so I can get back into my local site? I am running WordPress 3.1.2 on Windows 7 Ultimate. |
|
|
Update: After doing some research, I was able to find the database name and re-entered the correct information into my wp-config.php file, and now when I try to open the site, I get this error message: “This webpage has a redirect loop. The webpage at ”http://localhost:81/wordpress/wp-admin/install.php">http://localhost:81/wordpress/wp-admin/install.php has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer. I’ve worked with the cookies and that did not seem to help. Any suggestions are welcome. |
|
|
Hi, Did you modify the Wordpress URL? Wordpress application saves the URL in the database so it is possilbe that you modify the domain or the port. Take a look at http://wiki.bitnami.com/Applications/BitNami_Wordpress_Stack#How_to_change_the_default_URL.3f |

