1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHPH-Error after Update

Discussion in 'Plesk 10.x for Linux Issues, Fixes, How-To' started by HeinerJ, Jan 16, 2012.

  1. HeinerJ

    HeinerJ Guest

    0
     
    Our Plesk Installation reports an error after an automatic update on Friday 01/13/2012. In Logfile /var/log/sw-cp-server/error_log each request results in the following message:

    (mod_fastcgi.c.2588) FastCGI-stderr: PHP Fatal error: Call to undefined function of_get_key_by_product() in /opt/psa/admin/plib/common_func.php3 on line 4785

    ---------------------------------------------------------------
    PRODUCT: Parallels Plesk Panel 10
    VERSION: 10 (Update on Friday was to 10.4.4 as far as I know)
    OPERATING SYSTEM: Linux Debian
    ARCHITECTURE: Virtualized Server / X86 - 64


    PROBLEM DESCRIPTION AND STEPS TO REPRODUCE

    ACTUAL RESULT: Login-Page from Plesk Panel not showing up (working)

    EXPECTED RESULT: Login to Plesk Panel

    ANY ADDITIONAL INFORMATION: See description at the beginning of this post, e.g. the error message
    --------------------------------------------------------------
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,554
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Did you try to fix it with bootstrapper repair procedure? (Details you can find in KB)
     
  3. HeinerJ

    HeinerJ Guest

    0
     
    I tried now.

    On several steps of the script the bootstrapper.sh also reports:

    PHP Fatal error: Call to undefined function of_get_key_by_product() in /opt/psa/admin/plib/common_func.php3 on line 4785

    It ends with messages

    Congratulations!
    All stages of the upgrade were successful.
    psa is now running on your system.
    and the login-URL's, but the service is still not available
     
  4. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,554
    Likes Received:
    1,241
    Location:
    Novosibirsk, Russia
    Make sure that you have correct permissions here:

     
  5. HeinerJ

    HeinerJ Guest

    0
     
    The permissions are in my opinion correct.
    Especially the error message call to undefined function looks to me like a php-file is corrupt, either a missing include in the common_func.php3 or a missing or corrupt file containing this function.
     
Loading...