Page 1 of 1

Install issue 2.6.6 undefined function mysql_set_charset()

Posted: Thu Jul 15, 2010 1:36 pm
by midodds
Trying to install and getting the message

Fatal error: Call to undefined function mysql_set_charset() in /home/fhlinux153/t/my.server.co.uk/user/htdocs/faq/inc/PMF_DB/Mysql.php on line 84

I have set all files and folders permissions to 777

Any ideas ?

Re: Install issue 2.6.6 undefined function mysql_set_charset()

Posted: Thu Jul 15, 2010 2:22 pm
by Thorsten
Hi,

which PHP version do you use?

bye
Thorsten

Re: Install issue 2.6.6 undefined function mysql_set_charset()

Posted: Tue Aug 17, 2010 11:28 am
by Lico
I have the same error message on 2.6.7 after entering DB info and pressing "Click here to install..."
Fatal error: Call to undefined function mysql_set_charset() in /home/userB/bxxxxxx/public_html/www.domain.xx/faq/inc/PMF_DB/Mysql.php on line 84

PHP Version 5.2.8

Re: Install issue 2.6.6 undefined function mysql_set_charset()

Posted: Tue Aug 17, 2010 12:02 pm
by Thorsten
Hi,

your PHP is broken. The function mysql_set_charset() is available since PHP 5.2.3:

http://php.net/manual/en/function.mysql-set-charset.php

You can fix this by fixing the check in inc/PMF_DB/Mysql.php

bye
Thorsten