Cache-Control, internal server error

Permalink
Hey there, I have C5 running smoothly on my localserver (IIS, FastCGI and MySQL), my Host has the same set-up, however when installing C5 on my host servers (PHP on IIS, FastCGI and a MySQL database) I get the following error
nternal Server Error Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Type: text/html Expires: Thu, 19 Nov 1981 08:52:00 GMT Server: Microsoft-IIS/7.0 X-Powered-By: PHP/5.2.10 Set-Cookie: CONCRETE5=qlg65272664k1j4b7f2i5fb0f2; path=/ X-Powered-By: ASP.NET Date: Sat, 24 Apr 2010 22:52:10 GMT Connection: close Content-Length: 691
Concrete CMS
Unable to connect to database.
A database error occurred while processing this request.


Any ideas?

I get as far as entering my server and mysql-db details on the C5 startup screen, then get to 'index.php/-/configuration' which is blank, throwing up the error above. It's very confuzzling, as the site.php is a blank file, tried rejigging my localserver site.php to suit my host-server but no avail, keeps throwing this error :( , at wits end, would appreciate any help!

Kind Regards,

Joe

JoeGlasgow
 
mose replied on at Permalink Reply
mose
You are looking at the headers of the web page as well as the content. The error message is in the content.

"Unable to connect to database"

Either you entered the wrong address for the database, something (e.g., a firewall) is blocking connections to the database from your web server or the database server is not running.

I suppose it could also be due to an incorrect database username/password, but I would expect to see a message about access denied, if that were the case.

The solution is to double check the address of the database, the name of the database and the database username/password. Make sure the user has all of the appropriate privileges for the database, and, of course, make sure the database itself is running. More information on installation can be found in the documentation.

http://www.concrete5.org/documentation/installation/installing_conc...
mose replied on at Permalink Reply
mose
It appears that you posted the same message twice. Let's use this thread. You can delete the other one.