thomas.fredriksen
Forum Replies Created
-
All security rules in my .htaccess file was added again, in the middle of the existing security rules. Is that related to the wp-config problem, or could it be another issue? How do I send you my file?
I didn’t get any messages, I was instantly locked out…
The webhost I use doesn’t allow customers access to the log filesAll right, I figured out what went wrong – and I think I know why.
Everything after the salt-keys in wp-config.php got deleted, and I guess this happened because I have Norwegian language as default, and a comment in there stating that it’s forced to Norwegian (this is done by the WP-team).
My guess is that the function that parses and upgrades wp-config.php doesn’t understand anything when it gets to this comment, thus crashing and breaking the file.
Fix wp-config.php and your site should be fine
This happened to me as well!
Seconds after clicking the Upgrade-button I got 500-errors when trying to access any part of my site.
The .htaccess file looked like a mess, and deleting it didn’t help.
How can I get my site up running again? And why did this happen?