Hi,
the issueis caused by missing write permissions to the wp-config.php file.
Youc an bypass this:
In the black log window you find the staging table name. Usually something like wpstg1_ wpstg2_ etc.
Open wp-config.php in yourwebsite/subfolderStaging/ with a text editor, find the entry table_prefix = and change the corresponding value.
Alternatively you need to give 644 write permissions to the wp-config.php and try to create another clone.
Thread Starter
222
(@222-1)
Thank you!
But now I have another problem. The staging site seems to have taken over the username and password and I can’t get into the main site. My login wasn’t working, so I tried the Lost Password to reset it and it says that there’s no user with my email address.
When I go into myphpadmin for my main site, I can see my user account (with my email address) and one I created on the staging site. But those logins are only working on my staging site and not the main site.
How can I get back into my main site so I can find the staging table name?
Thanks
You need to change the wp-config.php of the staging site NOT the one of the live site. This is essential.
You find the staging site in sub folder of your live site example htdocs/staging-site/wp-config.php
Cheers
René
Thread Starter
222
(@222-1)
Thanks, but the problem is it won’t let me into the main site so I can get that table code. I tried a made up table code on the staging site config so it was different from the main site’s config, but the login credentials are still not working on the main site.
Then I deleted the config in the staging site to try to force it to go back to the main site (the main site config is there and hasn’t changed), and now when I try to login to the main site, I get the message below:
unused
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
—
Thanks for your help. Once I can get back into the main site I redo all the staging and change the config table code.
Thread Starter
222
(@222-1)
Hi,
I got into the main site. I’m deleting the staging site now and will try again, hopefully without any problems this time.
Thanks