Site url with www does not connect to the database
Hello,
I uploaded my new site to the live server.
The site works fine when I go to: mysite.com but if I try www.mysite.com it can't connect to the database, it tried to connect to the local server database.
Is there a way to solve this problem without redirecting it in the Cpanel?
Comments
It happens when I try to save a block I edited, that has the google maps code in it (e.g. the iframe you get from google maps)
In firebug I get this:
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
https://www.codeigniter.com/user_guide/installation/troubleshooting.html
We did just upgrade the forum and it may require you to reset your password. I would try the following: