We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27210
    • 158 Posts
    Well, i had screwed up core/config.php - don’t ask...

    Updating the server is always an adventure with MODx.

    Ignore everything below this line...

    Revo 2.0.8-pl

    I have 2 sites
    seaville-suzuki
    allaction-yamaha

    allaction-yamaha is in a subdirectory of seaville-suzuki but both sites have a full MODx installation.

    i updated allaction-yamaha and now i broke both sites.

    This is the error i get: Fatal error: Class ’xPDODriver_’ not found in /home/content/60/7466460/html/core/xpdo/xpdo.class.php on line 1393

    The code of xpdo.class.php looks like this:
        public function getDriver() {
            if ($this->driver === null || !$this->driver instanceof xPDODriver) {
                $loaded= include_once(XPDO_CORE_PATH . 'om/' . $this->config['dbtype'] . '/xpdodriver.class.php');
                if ($loaded) {
                    $driverClass = 'xPDODriver_' . $this->config['dbtype'];
                    $this->driver= new $driverClass ($this);
                }
                if (!$this->driver) {
                    $this->log(xPDO::LOG_LEVEL_ERROR, "Could not load xPDODriver class for the {$this->config['dbtype']} PDO driver.");
                }
            }
            return $this->driver;
        }
    


    Both sites give this error. I’m surprised that allaction-yamaha shows the same failure path
    /home/content/60/7466460/html/core/xpdo/xpdo.class.php 


    For all action i think the path should be
    /home/content/60/7466460/html/core/allaction-yamaha/xpdo/xpdo.class.php 


    Both sites are down. I could really use some help.

    Thanks,
    Steve

    Edited to say: i put an .htaccess file in the allaction-yamaha site and now i get a 500 Server error - my other site still gives the above error (it already had an .htaccess file)