We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2264
    • 3 Posts
    Hello everyone,
    Please, can you help me with this problem?
    I can not find solution (google) and here for I think small thing.
    I have tried joomla, drupal but there is more problems than I thought.
    Then I found modx and I will stick to it.

    Q.The installation went well. Home page is displayed correctly but when I click
    on link "To log into the MODx Control Panel..." then I got this:
    Fatal error: Class 'DocumentParser' not found in /home/sites/***/manager/index.php on line 133 


    MySQL client version: 5.1.41
    Host: www.friko.pl
    Database (when installing) I change for something like this: my_adress_com
    but table no change: modx_

    I will be grateful for assistance.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      It is possible that your host configuration does not allow changing the include path.

      On line 86, to test this, add this line to the /manager/index.php file:

      echo get_include_path(); exit();


      This will display the newly changed include path. Post the output of the page here, then remove that line from the /manager/index.php file.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 2264
        • 3 Posts
        Hello, thanks for answer. I did what you said (check screenshot) and after that page on my.homepage.com/manager/ is clear. No error or other info is showing. I checked with firefox, chrome, explorer, no different.
        http://img684.imageshack.us/img684/597/screenepz.jpg
        hmm sad
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          It should have the include path where it will look for things, among others it should say something about manager/includes. If it’s just a blank page, it’s probable that it won’t let you change the include path.

          I’m not sure if there is a solution for this. You’ll have to check with your host’s tech support and ask them about modifying the include path. Maybe you can add a customized php.ini to the manager folder.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 2264
            • 3 Posts
            Ok, I going to ask them about it.
            Thanks for help. I will let you know what happen.