CLI upgrade erro

Hi everyone!
While trying upgrade 1.2.0 to 1.2.2 get this error
Code:
An exception occurred: No such file or directory in Zend/Db/Adapter/Mysqli.php on line 333
#0 Zend/Db/Adapter/Abstract.php(315): Zend_Db_Adapter_Mysqli->_connect()
#1 XenForo/Application.php(684): Zend_Db_Adapter_Abstract->getConnection()
#2 [internal function]: XenForo_Application->loadDb(Object(Zend_Config))
#3 XenForo/Application.php(921): call_user_func_array(Array, Array)
#4 XenForo/Application.php(952): XenForo_Application->lazyLoad('db', NULL)
#5 XenForo/Application.php(1336): XenForo_Application::get('db')
#6 XenForo/Error.php(52): XenForo_Application::getDb()
#7 XenForo/Application.php(363): XenForo_Error::unexpectedException(Object(Zend_Db_Adapter_Mysqli_Exception))
#8 [internal function]: XenForo_Application::handleException(Object(Zend_Db_Adapter_Mysqli_Exception))
#9 {main}
Is this a bug or i have problems with path?

I'm sorry if I wrong with forum and for my bad English
 
This likely indicates an issue with your upload -- files are missing. (You should get the same results if you try to browse via the web.)
 
Via browser it works fine.

Code:
//Zend_Db_Adapter_Mysqli
if ($_isConnected === false || mysqli_connect_errno()) {

            $this->closeConnection();
            /**
             * @see Zend_Db_Adapter_Mysqli_Exception
             */
            require_once 'Zend/Db/Adapter/Mysqli/Exception.php';
            throw new Zend_Db_Adapter_Mysqli_Exception(mysqli_connect_error());
        }
file Zend/Db/Adapter/Mysqli/Exception.php in place. Looks like script can't connect to database and trying throw an exception. But web iface works fine
 
Then it looks like you might have issues with the include_path via the CLI -- I'm not really sure how that can happen via the CLI though. (We manipulate this to be correct.)

Alternatively, you moved the CLI script unexpectedly, though other things would probably break then normally.

I would simply recommend using the web interface. (The CLI doesn't really have any particular advantages unless you have large board with large table alters coming, and those almost always only happen in second-point releases.)
 
Back
Top Bottom