We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1652
    • 9 Posts
    AndyWiltshireNZ Reply #1, 16 years ago
    Successfully installed v0.9.6.1 up to the point where it tells you it is finished and to login to the Manager, I get the following on the manager page:


    Warning: include_once(quotes_stripper.inc.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/vhosts/andy.net.nz/httpdocs/modx/manager/index.php on line 90

    Warning: include_once() [function.include]: Failed opening ’quotes_stripper.inc.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/andy.net.nz/httpdocs/modx/manager/index.php on line 90

    Warning: include_once(config.inc.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/vhosts/andy.net.nz/httpdocs/modx/manager/index.php on line 127

    Warning: include_once() [function.include]: Failed opening ’config.inc.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/andy.net.nz/httpdocs/modx/manager/index.php on line 127

    Warning: include_once(document.parser.class.inc.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/vhosts/andy.net.nz/httpdocs/modx/manager/index.php on line 130

    Warning: include_once() [function.include]: Failed opening ’document.parser.class.inc.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/andy.net.nz/httpdocs/modx/manager/index.php on line 130

    Fatal error: Class ’DocumentParser’ not found in /var/www/vhosts/andy.net.nz/httpdocs/modx/manager/index.php on line 131

    Thanks in advance for the fix.
      • 4310
      • 2,310 Posts
      Have a look at http://modxcms.com/forums/index.php/topic,24920.msg153128.html#msg153128
      seems to be a configuration issue with the host.
      I still don’t know what they did, but it worked on my clients site.
        • 1652
        • 9 Posts
        AndyWiltshireNZ Reply #3, 16 years ago
        Hmm, Ive got the same server setup as you... it would be nice to know exactly what they did to fix it smiley
          • 4310
          • 2,310 Posts
          I’ll see if the host tech support can give me any specific info as to what they did.
            • 4310
            • 2,310 Posts
            It seems it’s to do with the settings for PHP
            include_path	local value .:/var/www/vhosts/yourdomain.com/httpdocs/manager/includes/

            include_path	master value .:

            I think they had to manually set the local value to the above from the default of .:
              • 1652
              • 9 Posts
              AndyWiltshireNZ Reply #6, 16 years ago
              Do you know what php file those settings are in?

              It cant be the php.ini master, must be a local modX file?

              Edit:

              Well I went in and edited the manager/index.php and changed the paths from the errors above to have the include folder in it which fixed those errors (supposedly), because it could now find the files, but I still have the following error:

              Warning: Unterminated comment starting line 806 in /var/www/vhosts/andy.net.nz/httpdocs/modx/manager/index.php on line 806

              Parse error: syntax error, unexpected $end in /var/www/vhosts/andy.net.nz/httpdocs/modx/manager/index.php on line 806

              Guess Ill have a play with that...? Doesnt seem right that this is neccessary... anyone from MODX actually able to help here?

              EDIT2: Nevermind, I think Im going completely down the wrong path... Guess Ill try another fresh install....
                • 1652
                • 9 Posts
                AndyWiltshireNZ Reply #7, 16 years ago
                Well I installed the latest files from SVN and still get the same error, so I just need to know where I actually need to make those changes bunk58, to what file?

                Looks like its basically not finding the includes directory/

                Edit: So I followed this thread: http://modxcms.com/forums/index.php/topic,1527.0.html

                And tried out the index.php they had on the 3rd page and that brought up the manager login (progress), but when I try to login I get the following popup error now:

                  • 1652
                  • 9 Posts
                  AndyWiltshireNZ Reply #8, 16 years ago
                  What a mission, working through the errors one by one I eventually got it to login to the manager. I ended up having to edit a few files and adjusting the paths so that it could find all the includes.

                  The modified files are:

                  • manager/index.php
                  • manager/processors/login.processor.php
                  • manager/frames/1.php
                  • manager/actions/welcome.static.php
                  • manager/actions/mutate_user.dynamic.php
                  • manager/actions/sysinfo.static.php
                  • manager/actions/bkmanager.static.php
                  • manager/actions/mutate_content.dynamic.php
                  • manager/processors/save_web_user.processor.php
                  • manager/actions/mutate_web_user.dynamic.php
                  • manager/actions/files.dynamic.php

                  As of writing this, I have only checked as far as logging in and a few basic manager functions, I will continue to test to see if any other errors popup and reupload the new files as I go, but in the meantime, if you are in a similar situation, and just want to be able to login to the backend, I have uploaded the edited files here, but you will need to use the above listed paths to place the files back in the right directories:
                  http://andy.net.nz/uploads/modX.zip
                  • Sure seems to me it would a lot less hassle to change hosts to one that allows the include_path to be set rather than hack the core of MODx, which, as soon as a bug fix you want to apply comes out, you’re going to have to manually merge changes into your hacked copy.

                    0.9.6.x will simply not be modified and maintained to support these configurations as the effort is not worth it IMHO.
                      • 1652
                      • 9 Posts
                      AndyWiltshireNZ Reply #10, 16 years ago
                      No kidding, (sigh) ... I can change the include_path, but noone has actually told me WHERE I do that?!?

                      As I said, I am looking for the quick easy solution, but WHERE is the include_path set?