Product:
Search Type:

[FIX] Error message when logging into Plesk Control panel

Article ID: 1339 
Last Review: Jul,13 2007
APPLIES TO:
  • Plesk 7.6.x for Windows
  • Plesk 8.1.0 for Windows

SYMPTOMS

When attempting to log into Plesk Panel the following message is displayed:

The file filename.php is part of Plesk distribution. It cannot be run outside of Plesk environment.

CAUSE

A *.php file cannot be decrypted by Plesk engine.  This ould happened in:

1. Plesk key installed is invalid. It means that you could install key for Plesk for Linux not for Windows or the other way round.

2. Plesk php environment is corrupted.

RESOLUTION

To fix the issue in the first case you need to complete the following steps:

1. Close your browser. Or just make sure that your browser does not show cached web pages.

2. Stop Plesk Control Panel Service.

3. Remove all files from within %plesk_dir%PrivateTempd. Reset current Plesk to default PLSK.00000000.0000. You can do it using defpkey.reg attached to this article.

4. Start Plesk Control Panel Service.

6. Re-upload valid Plesk key straight via Plesk Panel. You can upload PLSK.XXXXXXXX.XXXX.exe key.

To fix the issue in the second case you need to follow the steps:

1. Switch Plesk web server to another provider.

If IIS is used as Plesk web server switch it to Apache:

%plesk_bin%\reconfigurator.exe --switch-plesk-web-server --new-provider=apache

If Apache is used as Plesk web server switch it to IIS:

%plesk_bin%\reconfigurator.exe --switch-plesk-web-server --new-provider=iis


Check if Plesk works correctly once these steps are completed. Plesk PHP files were corrupted if the same error is displayed. . In this case you need to run Plesk Repair in Add or Remove Programs.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields