We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • He MODX People,

    I just upgraded my site to 2.2.5 to see what caching improvements it will bring. Unfortunately it couldnt open some tip in core/packages and now the entire site is down, with a white screen of death on frontend, manager and setup.

    When i browse the servers error logs, there is these two incidents:
    [Wed Oct 17 01:41:36 2012] [error] [client 212.23.103.16] PHP Parse error: syntax error, unexpected '{' in /var/www/vhosts/luisenviertel.com/httpdocs/core/config/config.inc.php on line 13
    [Wed Oct 17 01:48:18 2012] [error] [client 212.23.103.16] PHP Parse error: syntax error, unexpected '{' in /var/www/vhosts/luisenviertel.com/httpdocs/core/config/config.inc.php on line 89 

    line 89 showed up after I corrected line 13 and 14. They looked like this
    $config_options = {config_options};
    $driver_options = {driver_options};

    instead of this:
    $config_options = '{config_options}';
    $driver_options = '{driver_options}';


    Now, I get:
    [Wed Oct 17 01:55:49 2012] [crit] [client 66.249.66.28] (13)Permission denied: /var/www/vhosts/luisenviertel.com/httpdocs/assets/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable 


    Which I did not touch during the update!

    Permissions are still correct. Even if I rename it to deactivate evaluation, I have the WSOD.

    Currently, I am reuploading the setup and hope for the best. But how can these errors in the config.inc.php happen anyway?

    Cheers,

    Guido
    • News from the logfile after rerunning setup:
      [Wed Oct 17 02:25:33 2012] [error] [client 212.23.103.16] PHP Fatal error: Class 'xPDODriver_' not found in /var/www/vhosts/luisenviertel.com/httpdocs/core/xpdo/xpdo.class.php on line 1823
      [Wed Oct 17 02:25:35 2012] [error] [client 212.23.103.16] PHP Fatal error: Class 'xPDODriver_' not found in /var/www/vhosts/luisenviertel.com/httpdocs/core/xpdo/xpdo.class.php on line 1823
      [Wed Oct 17 02:26:05 2012] [crit] [client 66.249.71.219] (13)Permission denied: /var/www/vhosts/luisenviertel.com/httpdocs/assets/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
      [Wed Oct 17 02:26:41 2012] [error] [client 212.23.103.16] PHP Warning: require_once(/var/www/vhosts/luisenviertel.com/httpdocs/setup/includes/drivers/modinstalldriver_{database_type}.class.php): failed to open stream: No such file or directory in /var/www/vhosts/luisenviertel.com/httpdocs/setup/includes/modinstall.class.php on line 91, referer: http://www.luisenviertel.com/setup/index.php?action=options
      [Wed Oct 17 02:26:41 2012] [error] [client 212.23.103.16] PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/luisenviertel.com/httpdocs/setup/includes/drivers/modinstalldriver_{database_type}.class.php' (include_path='.:') in /var/www/vhosts/luisenviertel.com/httpdocs/setup/includes/modinstall.class.php on line 91, referer: http://www.luisenviertel.com/setup/index.php?action=options 
      • Silly question, but did you clear the core/cache folder prior to running setup? And, log out all users?

          Frogabog- MODX Websites in Portland Oregon
          "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
          Having server issues? These guys have MODX Hosting perfected - SkyToaster
        • Ok, got it - it has overwritten my entire config.inc.php during the setup. Its all placeholders now. I have to get it from the backup :/
          • Yepp, I did clear everything.
            • The server log says a lot about "openBaseDir restriction in effect":
              [Wed Oct 17 02:43:42 2012] [error] [client 212.23.103.16] PHP Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/luisenviertel.com/httpdocs/..) is not within the allowed path(s): (/var/www/vhosts/luisenviertel.com/httpdocs/:/tmp/) in /var/www/vhosts/luisenviertel.com/httpdocs/core/model/phpthumb/phpthumb.functions.php on line 860 

              That was never a problem so far and I didnt change server config except from .htaccess

              The MOX error log in core/cache/logs is also full of errors like this:
              [2012-10-17 02:44:30] (ERROR @ /index.php) [phpThumbOf] Cache path not writable: /var/www/vhosts/luisenviertel.com/httpdocs/assets/components/phpthumbof/cache/
              

              This folder is 777 and belongs to the ftp user.
                • 30585
                • 833 Posts
                You mentioned that your config.inc.php file was overwritten. Did you restore it?
                This may be a case of missing files. Did you try uploading the files again and run a new install?
                  A MODx Fanatic
                • Yes, both. I restored config.inc.php and rerun setup. Setup finished without errors.
                  • In the manager, I can only see the top menu and the resources tree. No main content.
                    • I have 400 in the manager:
                      <h1>400 Bad Request</h1><p>Please see <a href='http://code.google.com/p/minify/wiki/Debugging'>http://code.google.com/p/minify/wiki/Debugging</a>.</p>


                      for this:

                      http://www.luisenviertel.com/manager/min/index.php?f=/assets/components/gallery/js/mgr/gallery.js,/assets/components/gallery/js/mgr/tree.js,/manager/assets/modext/widgets/core/modx.grid.settings.js,/manager/assets/modext/widgets/system/modx.panel.system.settings.js,/manager/assets/modext/sections/system/settings.js
                      [ed. note: gallenkamp last edited this post 11 years, 7 months ago.]