Plesk fails to load: Call to undefined function of_get_key_by_product()

Created:

2016-11-16 13:15:41 UTC

Modified:

2017-04-24 11:35:27 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk fails to load: Call to undefined function of_get_key_by_product()

Applicable to:

  • Plesk 10.0.0 for Windows
  • Plesk 9.5.5 for Windows
  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux
  • Plesk 12.5 for Windows
  • Plesk 10.x and below for Windows

Symptoms

Plesk is not accessible and shows this error message:

    Fatal error: Call to undefined function of_get_key_by_product() in C:\\Program Files\\SWsoft\\Plesk\\admin\\plib\\common_func.php3 on line 4506

The following error appears in the event log of the server:

    Event Type:     Information
Event Source: PHP-5.2.6
Event Category: (6)
Event ID: 2
Date: 12/23/2008
Time: 8:02:36 AM
User: N/A
Computer: PLESK
Description:
The description for Event ID ( 2 ) in Source ( PHP-5.2.6 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer.
You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: php[5004], PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\SWsoft\\Plesk\\admin\\modules\\php_psakey.dll' - in Unknown on line 0.

Resolution

To fix the issue, it is necessary to set Full Control permissions for the psaadm user on the "C:\Program Files\SWsoft\Plesk\admin\repository" folder (or "C:\Program Files (x86)\Parallels\Plesk\admin\repository") on the server.

Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Roozbeh Amiressami

    psaadm user is full control but i got same error too

  • 0
    Avatar
    Nikolay Zhmuk

    Check the size of the file %plesk_dir%\admin\repository\registry.xml. If file is empty and equals 0KB, delete this file.
    Once it is done, try to access to Plesk. New file should be generated automatically.

    Edited by Nikolay Zhmuk
Please sign in to leave a comment.