We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10174
    • 15 Posts
    I am new to MODx and installed it for the first time on my server in a subdirectory.
    Installation went smoothly, but when I try to access the manager I get the following error:

    Parse error: syntax error, unexpected ’.’ in /home/myweb/public_html/modx/manager/index.php on line 122

    If I go to Line 122 I find the following:

    echo "Please run the MODx <a href="../../../../scripts/modx-0.9.6.1/install">install utility</a>";

    This is a path to a directory that does not even exist!

    If I remove the link, I get the same parse error for line 138, also with a similar link. There are more lines in the index.php with this type of link.

    What have I done wrong.

    I am keen to try MODx, but this start is very disappointing and frustrating.
      • 10174
      • 15 Posts
      Am I the only one with this problem?
      It looks like I better give up and try Drupal instead.
        • 4310
        • 2,310 Posts
        echo "Please run the MODx <a href='../install'>install utility</a>";

        is what’s in my manager/index.php on line 122 etc.
        Somehow your install path seems to have gone astray
        Is it worth uploading the file again?
          • 10174
          • 15 Posts
          Thank you so much. After uploading this file again and /includes/document.parser.class.inc.php because I got an for this file after I did upload index.php again, I got the login page. I will give it a try!