Fatal error: Call to undefined function: check_php_version()

Discussion in 'Server Operation' started by cccc, Oct 17, 2006.

  1. cccc

    cccc New Member

    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:
    Code:
    Fatal error: Call to undefined function: check_php_version() in /usr/share/squirrelmail/plugins/compatibility/functions.php on line 72
     
    Last edited: Oct 20, 2006
  2. falko

    falko Super Moderator ISPConfig Developer

    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.
     
  3. cccc

    cccc New Member

    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:
    Code:
    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 ?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    You can try to output the SQL query in /usr/share/squirrelmail/plugins/change_mysqlpass/functions.php to find out why it's wrong.
     
  5. cccc

    cccc New Member

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

    falko Super Moderator ISPConfig Developer

    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.
     

Share This Page