Error trying to install

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
kapikapo
Posts: 2
Joined: Sat Aug 26, 2006 8:23 pm

Error trying to install

Post by kapikapo »

Hi :) I really like this script, is very usefull... I tryed on my pc and it works very good...
When I tryed to install in my server... I can't...

I don't know why....

Warning: mysql_pconnect() has been disabled for security reasons in /home/pf000137/public_html/cafemusical/inc/mysql.php on line 78

The connection to the MySQL server could not be established.

The error message of the MySQL server:

Warning: mysql_pconnect() has been disabled for security reasons in /home/pf000137/public_html/cafemusical/inc/mysql.php on line 78

The connection to the MySQL server could not be established.

The error message of the MySQL server:


Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/pf000137/public_html/cafemusical/inc/mysql.php on line 110
|

Error: Please install your version of phpMyFAQ once again or send us a bug report.
DB error:

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/pf000137/public_html/cafemusical/inc/mysql.php on line 110



If you can help me I really apreciate :D

Thanks and sorry for my english.

Gabriel
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

please change the following line in inc/mysql.php from


Code: Select all

		$this->conn = mysql_pconnect($host, $user, $passwd);
to

Code: Select all

		$this->conn = mysql_connect($host, $user, $passwd);
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kapikapo
Posts: 2
Joined: Sat Aug 26, 2006 8:23 pm

Post by kapikapo »

THANKS YOU VERY MUCH!!!!

:D
Post Reply