We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40283
    • 1 Posts
    Site manager suddenly began displaying the following error:

    ——————
    Warning: require_once(./includes/protect.inc.php): failed to open stream: No such file or directory in /home/<mysite>/public_html/manager/index.php on line 84

    Fatal error: require_once(): Failed opening required './includes/protect.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/<mysite>/public_html/manager/index.php on line 84
    ——————

    I had been running 1.0.14 and upgraded to 1.2.1 assuming I had a PHP issue. However, the error continues. An old post (https://forums.modx.com/thread/8608/line-59-error) notes that the path needed to be '/manager/includes/protect.inc.php’. However this was for 0.9.61. I tried adjusting the path with no success.

    The 1.2.1 protect.inc.php file is in the include folder.

    Can anyone tell me what the issue is? I appreciate the assistance.

    MODx 1.0.14 / 1.2.1
    Apache 2.2.31
    PHP 5.6.21
    SQL 5.6.35
    OS linux