DailyMaintainance script error: "failed to open stream: No such file or directory"

Created:

2016-11-16 13:14:22 UTC

Modified:

2017-08-08 13:37:44 UTC

0

Was this article helpful?


Have more questions?

Submit a request

DailyMaintainance script error: "failed to open stream: No such file or directory"

Applicable to:

  • Plesk 12.0 for Windows

Symptoms

The following error appears while running Daily Maintance Script:

Warning: require_once(Loader.php): failed to open stream: No such file or directory in C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\DailyMaintainance\\script.php on line 3
Fatal error: require_once(): Failed opening required 'Loader.php' (include_path='.;C:\\php\\pear') in C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\DailyMaintainance\\script.php on line 3

Cause

Incorrect/modified Daily script task.

Resolution

Make sure that Daily task is set correctly: Plesk Control panel->Tools and Settings->Scheduled Tasks->Daily script task :

    Path to executable file: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\php.exe
Arguments: -q "C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\plib\\DailyMaintainance\\script.php"

Please check that paths are correct as well.

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