PDA

View Full Version : Fatal error: Call to undefined function: check_php_version()


cccc
17th October 2006, 12:16
hi

I have SquirrelMail version 1.4.4 under sarge stable.

I have Change SQL Password Plugin version 3.2 installed,
but get the following error:
Fatal error: Call to undefined function: check_php_version() in /usr/share/squirrelmail/plugins/compatibility/functions.php on line 72

falko
18th October 2006, 17:32
Please check if the function check_php_version() is existing anywhere in the Squirrelmail sources. If it's existing, maybe the file is in the wrong directory.

cccc
20th October 2006, 16:13
I've installed Compatibility plugin Ver 2.0.2 and it seems to work.

I can change the password now, but after login into squirrelmail,
I get this error message:
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/share/squirrelmail/plugins/change_mysqlpass/functions.php on line 129

knows someone howto solve this problem ?

falko
21st October 2006, 22:13
You can try to output the SQL query in /usr/share/squirrelmail/plugins/change_mysqlpass/functions.php to find out why it's wrong.

cccc
21st October 2006, 22:36
You can try to output the SQL query in /usr/share/squirrelmail/plugins/change_mysqlpass/functions.php to find out why it's wrong.

I tried, but don't get any errors:
# php /usr/share/squirrelmail/plugins/change_mysqlpass/functions.php
#

falko
22nd October 2006, 17:19
No, you must access Squirrelmail in your browser. Your changed script should then show the SQL query.

Running functions.php on the shell doesn't help at all.