Plesk panel login error

Created:

2016-11-16 12:43:21 UTC

Modified:

2017-08-16 17:00:28 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk panel login error

Applicable to:

  • Web Presence Builder for Windows
  • Plesk 11.x for Windows

Symptoms

When I click on "Try and Buy Mode Settings" buttion in Plesk Control panel->Tools and Settings or when I trying to open any domain/subscription settings, create a new subscription, the following error appears:

    Internal error: PHP Warning : Invalid argument supplied for foreach()
Message PHP Warning : Invalid argument supplied for foreach()
File Config.php
Line 115
Type Base_SyntaxException
Go To Previous Page

From Plesk php_error.log:

    ERR (3)  [panel]: Failed to clear sitebuilder session: PHP Warning : Invalid argument supplied for foreach()
ERR (3) [panel]: Failed to clear sitebuilder session: PHP Warning : Invalid argument supplied for foreach()
Base_SyntaxException: PHP Warning : Invalid argument supplied for foreach()
file: C:\\Program Files (x86)\\Parallels\\Plesk\\sb\\include\\SB\\Config.php
line: 115

Cause

Disabled PHP function "parse_ini_file" in Plesk php.ini file located in " %plesk_dir%\\admin\\php.ini ":

    disable_functions = "parse_ini_file"

This function disable parsing any ini files (exept php.ini ).

Resolution

  1. Make sure that there is no custom disabled PHP functions in " %plesk_dir%\\admin \php.ini"

  2. If there is, comment line:

    disable_functions = "parse_ini_file"
  3. Restart IIS.

Have more questions? Submit a request
Please sign in to leave a comment.