Page 1 of 1

Fatal error: zm_db.php on line 22

Posted: Thu Aug 28, 2003 1:04 pm
by ajpalm
Hi there,

I'mve just installed zoneminder and think I have everything setup as I'm meant to. I had a few issues with the mysql part, but I'm not sure. After getting the following error I think I might. I can see the zm database in mysql as being created.

When I goto

http://mywebserver/zm

I get this

Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/zm/zm_db.php on line 22

Any pointers?

Re: Fatal error: zm_db.php on line 22

Posted: Fri Aug 29, 2003 5:40 pm
by enricopallatzo
Hi,

Depending on what Disto/release you're running, you'll need to install (in the case of RedHat 9) the php-mysql package. (Currently 4.2.2-17.2)

Hope this helps,
Erik.

Re: Fatal error: zm_db.php on line 22

Posted: Sat Aug 30, 2003 12:08 am
by ajpalm
Hi Erik,

Thank you, that was the rpm I was missing for now :)

Since I posted that, I had reset the password to nothing on the server to see if that would fix it. It didn't...

I then installed the package above and got this error

Warning: Access denied for user: 'root@localhost' (Using password: YES) in /var/www/html/zm/zm_db.php on line 22
Could not connect to database: Access denied for user: 'root@localhost' (Using password: YES)

Which I knew why as I had reset the password to nothing, I reset it back and WOWLA I have the Console screen up. Now to work out how to drive it