Thread: phpberrystats
View Single Post
Old 01-06-2009, 05:43 PM   #101
clicker666
Knows Where the Search Button Is
 
Join Date: Jul 2007
Location: Nova Scotia, Canada
Model: None
PIN: N/A
Carrier: Telus
Posts: 22
Default

Please Login to Remove!

Quote:
Originally Posted by blubyu View Post
clicker666 and spy1309, do a favor for me. Go into your php folder and open up your php.ini file. Find the following line:

Code:
error_reporting = E_All
comment out that line by puting a ';' in front of it (without the quotes).

A few lines above it find this line and uncomment it:

Code:
error_reporting = E_All & ~E_NOTICE | E_STRICT
Save the file and restart your IIS. Then open up the phpberrystats index page. This should give an additional line or two of errors along with the Unable to Connect to Database line. From the additional information we should be able to tell what is wrong. I hope
Here's the results:

Code:
PHP Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Halifax' for '-4.0/no DST' instead in C:\Inetpub\wwwroot\phpberrystats\includes\html_header.php on line 21 

PHP Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 10.0.0.2 in C:\Inetpub\wwwroot\phpberrystats\includes\common_funcs.php on line 27 

PHP Warning: mssql_select_db() [function.mssql-select-db]: Unable to connect to server: (null) in C:\Inetpub\wwwroot\phpberrystats\includes\common_funcs.php on line 28 

PHP Warning: mssql_select_db() [function.mssql-select-db]: A link to the server could not be established in C:\Inetpub\wwwroot\phpberrystats\includes\common_funcs.php on line 28
Offline   Reply With Quote