I installed the Firestats component with the Firestats installer which worked perfectly (apart from a lot of files being unwritable), then the Firestats module but get these db errors :

# user notice: Database not connected in /home/mysite/public_html/firestats/php/db-common.php on line 246.
# warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /home/mysite/public_html/firestats/lib/ezsql/mysql/ez_sql_mysql.php on line 211

Any help possible?

Comments

AaronCollier’s picture

Status: Active » Postponed (maintainer needs more info)

What files were unwritable? What did you do about that being unwritable?

mhf’s picture

I chmoded them to writable, THAT isn't the problem !
It's not a FS module problem it's a FS problem - when I run /**/**/firestats/tools.php, and then the system test, everything is OK (not counting mutex but that's another story) except for :

Database status Failed
fatal Database is not configured

Thanks.

AaronCollier’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

I think you're right that it's not a Firestats Module problem. You should try asking in the Firestats support. Look at these two issues: http://firestats.cc/ticket/373 and http://firestats.cc/ticket/622, which seem similar.

mhf’s picture

Thanks for your help AaronCollier, I'll check that out.