I have an established site in development that has been working, but today lost the connection to the database or something. While I can see the admin screen and screens for each formatted page and post, when I try to view the page, I get an error message that the file cannot be found on the server, plus a 404 error.
How can I re-establish the connection? Or is that the problem? What other information can I provide that would be helpful?
the front page appears fine, it is just when I clickthough to go to a constructed page or post, I get the errors mentioned earlier. It affects all pages, including those accessed by the header menus.
Also have the same problem when I create a new page from scratch. When I hit View Page, I get the server error.
please check your permalink settings (especially the structure). Go to Settings > Permalinks to view/edit/save the permalink structure.
Hurrah! That was the problem. Changed back to default and all the pages reappeared. THANK YOU!
The topic ‘Lost connection to the database.’ is closed to new replies.