We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1804
    • 13 Posts
    Alright, I give in. I’ve been messing with this error and can’t dig my way out. Hoping someone can enlighten me, hopefully I’m just an idiot.

    This error occurs with a freshly installed copy modx (installation is smooth), downloaded days ago from modxcms.com (0.9.2.1), running on PHP 4.3.10 (a link to phpinfo() is below). Web host is intermedia.net, and I assume its a linux variant (don’t have enough control of the server to care.. its virtual dedicated). MySQL version is 3.23.49, not that I think its relevant..

    The error:
    Fatal error: Cannot instantiate non-existent class: documentparser in /imedia/users/cajunriver/htdocs/zinc/index.php on line 154

    Error appears on both of these pages:

    http://zincwine.com/zinc/index.php
    http://zincwine.com/zinc/manager/index.php

    phpinfo() output: http://zincwine.com/zinc/phpinfo.php

    I’ve tried some of the solutions I could generally find in the forums, and taken some of them to the extreme.

    I’ve set all permissions to every file on the server to 777, without success.
    The include_once() for "document.parser.class.inc.php" appears to be working (include_once returns true).
    In the manager/index.php file, I’ve confirmed that the php include path is being set to the manager/includes directory.

    Any other possibilites? I’m banging my head on my desk, quite litterally. And that hurts, believe me.
      • 34017
      • 898 Posts
      antiver,

      I don’t see the problem. Did you fix it? Sometimes you need to re-upload the files.

      Chuck
        Chuck the Trukk
        ProWebscape.com :: Nashville-WebDesign.com
        - - - - - - - -
        What are TV's? Here's some info below.
        http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
        http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
        • 1804
        • 13 Posts
        Well, I have been able to somewhat sidestep the problem by copying the entire contents of the "document.parser.class.inc.php" into both "/index.php" and "/manager/index.php", replacing the include_once() function in each.

        However, if you launch manager (and login... just enter some random garbage and hit Login), it’s failing on another file:

        Fatal error: Cannot instantiate non-existent class: errorhandler in /imedia/users/cajunriver/htdocs/zinc/manager/processors/login.processor.php on line 43

        Same idea.

        ?
          • 1804
          • 13 Posts
          Fed up, I deleted all files, re-uploaded a freshly extracted 0.9.2.1 setup, and tried to do an Upgrade installation. It said something about the database, I’m not sure what :/ ... so I went back, to a New Installation, changed the database prefix, and completed the installation. Seems to work as intended.
            • 34017
            • 898 Posts
            I’m glad you finally got it working. I have seen a similar problem occur with new uploaded sites. I am not sure why this happens (corrupt uploads or so). Glad you got it working though. If you want a resource to begin MODx, check out the Blog Tutorial (http://modxcms.com/blog-tutorial.html) and http://www.modxhost.com tutorials.

            Chuck
              Chuck the Trukk
              ProWebscape.com :: Nashville-WebDesign.com
              - - - - - - - -
              What are TV's? Here's some info below.
              http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
              http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008