Warning: include(Google/Client.php): failed to open stream: No such file or directory - magento-1.9

I've been working for the last couple days at trying to get to Google Shopping to work. I keep getting this error:
Warning: include(Google/Client.php): failed to open stream: No such file or directory in /home/xxxx/public_html/lib/Varien/Autoload.php on line 56
#0 /home/xxxx/public_html/lib/Varien/Autoload.php(56): mageCoreErrorHandler(2, 'include(Google/...', '/home/xxxx/...', 56, Array)
#1 /home/xxxx/public_html/lib/Varien/Autoload.php(56): Varien_Autoload::autoload()
#2 [internal function]: Varien_Autoload->autoload('Google_Client')
#3 [internal function]: spl_autoload_call('Google_Client')
#4 /home/xxxx/public_html/vendor/google/apiclient/src/Google/Auth/AssertionCredentials.php(18): class_exists('Google_Client')
#5 /home/xxxx/public_html/vendor/google/apiclient/src/Google/autoload.php(29): require_once('/home/xxxx/...')
#6 [internal function]: Varien_Autoload->{closure}('Google_Auth_Ass...')
#7 /home/xxxx/public_html/app/code/community/BlueVisionTec/GoogleShoppingApi/Model/GoogleShopping.php(107): spl_autoload_call('Google_Auth_Ass...')
#8 /home/xxxx/public_html/app/code/community/BlueVisionTec/GoogleShoppingApi/controllers/Adminhtml/GoogleShoppingApi/ItemsController.php(53): BlueVisionTec_GoogleShoppingApi_Model_GoogleShopping->getClient('1')
#9 /home/xxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(278): BlueVisionTec_GoogleShoppingApi_Adminhtml_GoogleShoppingApi_ItemsController->indexAction()
#10 /home/xxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(200): Mage_Core_Controller_Varien_Action->dispatch('index')
#11 /home/xxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(116): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 /home/xxxx/public_html/app/code/core/Mage/Core/Model/App.php(189): Mage_Core_Controller_Varien_Front->dispatch()
#13 /home/xxxx/public_html/app/Mage.php(415): Mage_Core_Model_App->run(Array)
#14 /home/xxxx/public_html/index.php(40): Mage::run('', 'store')
#15 {main}
I've tried installing with composer and manually but nothing seems to work. Anyone knows what the problem is? Thanks

I moved the Google file to the root of my site, like Google/Client.php then in BlueVisionTec/GoogleShoppingApi/Model/GoogleShopping.php I changed the link to require_once Mage::getBaseDir().'/Google/autoload.php'; and everything worked prefect.

Related

Exception 'ReflectionException' with message 'Class ingelby\toolbox\helpers\PublicIdBehavior does not exist' in yii2 advance

i am getting this error.
Exception 'ReflectionException' with message 'Class ingelby\toolbox\helpers\PublicIdBehavior does not exist'
in D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\di\Container.php:428
Stack trace:
#0 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\di\Container.php(428): ReflectionClass->__construct('ingelby\\toolbox...')
#1 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\di\Container.php(364): yii\di\Container->getDependencies('ingelby\\toolbox...')
#2 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\di\Container.php(156): yii\di\Container->build('ingelby\\toolbox...', Array, Array)
#3 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\BaseYii.php(349): yii\di\Container->get('ingelby\\toolbox...', Array, Array)
#4 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\base\Component.php(750): yii\BaseYii::createObject(Array)
#5 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\base\Component.php(734): yii\base\Component->attachBehaviorInternal(2, Array)
#6 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\base\Component.php(603): yii\base\Component->ensureBehaviors()
#7 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\db\BaseActiveRecord.php(925): yii\base\Component->trigger('init')
#8 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\base\BaseObject.php(109): yii\db\BaseActiveRecord->init()
#9 [internal function]: yii\base\BaseObject->__construct(Array)
#10 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\di\Container.php(375): ReflectionClass->newInstanceArgs(Array)
#11 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\di\Container.php(156): yii\di\Container->build('frontend\\models...', Array, Array)
#12 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\BaseYii.php(345): yii\di\Container->get('frontend\\models...', Array)
#13 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\base\StaticInstanceTrait.php(37): yii\BaseYii::createObject('frontend\\models...')
#14 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\db\ActiveQuery.php(447): yii\base\Model::instance()
#15 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\db\ActiveQuery.php(146): yii\db\ActiveQuery->buildJoinWith()
#16 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\db\QueryBuilder.php(227): yii\db\ActiveQuery->prepare(Object(yii\db\mysql\QueryBuilder))
#17 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\db\ActiveQuery.php(316): yii\db\QueryBuilder->build(Object(yii\db\ActiveQuery))
#18 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\db\Query.php(237): yii\db\ActiveQuery->createCommand(Object(yii\db\Connection))
#19 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\db\ActiveQuery.php(133): yii\db\Query->all(NULL)
#20 D:\xamppnew\htdocs\nfsp\frontend\models\Event.php(86): yii\db\ActiveQuery->all()
#21 D:\xamppnew\htdocs\nfsp\frontend\controllers\SiteController.php(212): frontend\models\Event::getEvents(Array, 50976)
#22 [internal function]: frontend\controllers\SiteController->actionIndex()
#23 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#24 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\base\Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#25 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller->runAction('', Array)
#26 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('', Array)
#27 D:\xamppnew\htdocs\nfsp\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#28 D:\xamppnew\htdocs\nfsp\frontend\web\index.php(18): yii\base\Application->run()
#29 {main}
please help me to solve this problem.
It looks like you are missing a package in a folder vendor.
Try to execute command "composer install".
if it doesn’t help, show please composer.

Error occur after composer require

I ran composer require 2amigos/yii2-multi-select-widget "*" and after my site went down
An Error occurred while handling another error:
yii\base\InvalidArgumentException: Invalid path alias: #dektrium/rbac/views in C:\xampp\htdocs\webster\vendor\yiisoft\yii2\BaseYii.php:154
Stack trace:
#0 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\Theme.php(144): yii\BaseYii::getAlias('#dektrium/rbac/...')
#1 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\View.php(228): yii\base\Theme->applyTo('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\web\ErrorHandler.php(266): yii\base\View->renderFile('C:\\xampp\\htdocs...', Array, Object(yii\web\ErrorHandler))
#3 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\web\ErrorHandler.php(126): yii\web\ErrorHandler->renderFile('#yii/views/erro...', Array)
#4 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\ErrorHandler.php(111): yii\web\ErrorHandler->renderException(Object(yii\base\InvalidArgumentException))
#5 [internal function]: yii\base\ErrorHandler->handleException(Object(yii\base\InvalidArgumentException))
#6 {main}
Previous exception:
yii\base\InvalidArgumentException: Invalid path alias: #dektrium/rbac/views in C:\xampp\htdocs\webster\vendor\yiisoft\yii2\BaseYii.php:154
Stack trace:
#0 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\Theme.php(144): yii\BaseYii::getAlias('#dektrium/rbac/...')
#1 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\View.php(228): yii\base\Theme->applyTo('C:\\xampp\\htdocs...')
#2 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\View.php(156): yii\base\View->renderFile('C:\\xampp\\htdocs...', Array, Object(backend\controllers\SiteController))
#3 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\Controller.php(384): yii\base\View->render('index', Array, Object(backend\controllers\SiteController))
#4 C:\xampp\htdocs\webster\backend\controllers\SiteController.php(65): yii\base\Controller->render('index')
#5 [internal function]: backend\controllers\SiteController->actionIndex()
#6 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#7 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#8 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller->runAction('', Array)
#9 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('', Array)
#10 C:\xampp\htdocs\webster\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#11 C:\xampp\htdocs\webster\backend\web\index.php(18): yii\base\Application->run()
#12 {main}
It is all that I did. Nothing more nothing less. Just tried to install multi-select and my site went down. Why is that? What can cause this? I tried to remove it composer remove 2amigos/yii2-multi-select-widget and nothing happen. I am totally shocked. Please give me advice!

Magento Error: After Theme upload on Magento 1.9

Just uploaded a new theme and now get the error. I cannot access the website as well as the backend.
Here is the log:
Trace:
#0 /home/xxxxxx/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/xxxxxx/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/xxxxxx/public_html/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /home/xxxxxx/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `main_ta...', Array)
#4 /home/xxxxxx/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array)
#5 /home/xxxxxx/public_html/lib/Zend/Db/Adapter/Abstract.php(737): Varien_Db_Adapter_Pdo_Mysql->query('SELECT `main_ta...', Array)
#6 /home/xxxxxx/public_html/lib/Varien/Data/Collection/Db.php(734): Zend_Db_Adapter_Abstract->fetchAll('SELECT `main_ta...', Array)
#7 /home/xxxxxx/public_html/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(521): Varien_Data_Collection_Db->_fetchAll('SELECT `main_ta...', Array)
#8 /home/xxxxxx/public_html/lib/Varien/Data/Collection/Db.php(566): Mage_Core_Model_Resource_Db_Collection_Abstract->getData()
#9 /home/xxxxxx/public_html/lib/Varien/Data/Collection.php(741): Varien_Data_Collection_Db->load()
#10 /home/xxxxxx/public_html/app/code/local/Magentothem/Revslider/Helper/Data.php(617): Varien_Data_Collection->getIterator()
#11 /home/xxxxxx/public_html/app/code/local/Magentothem/Revslider/Helper/Data.php(634): Magentothem_Revslider_Helper_Data->getAllCaptionInSlide()
#12 /home/xxxxxx/public_html/app/code/local/Magentothem/Revslider/Block/Revslider.php(26): Magentothem_Revslider_Helper_Data->initCss()
#13 /home/xxxxxx/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Magentothem_Revslider_Block_Revslider->_toHtml()
#14 /home/xxxxxx/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#15 /home/xxxxxx/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
#16 /home/xxxxxx/public_html/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#17 /home/xxxxxx/public_html/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('ma_banner', true)
#18 /home/xxxxxx/public_html/app/design/frontend/ma_optician/ma_optician4/template/page/2columns-right.phtml(47): Mage_Core_Block_Abstract->getChildHtml('ma_banner')
#19 /home/xxxxxx/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/xxxxxx/...')
#20 /home/xxxxxx/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/ma_opt...')
#21 /home/xxxxxx/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#22 /home/xxxxxx/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#23 /home/xxxxxx/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#24 /home/xxxxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#25 /home/xxxxxx/public_html/app/code/core/Mage/Cms/Helper/Page.php(137): Mage_Core_Controller_Varien_Action->renderLayout()
#26 /home/xxxxxx/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'ma_optician4_ho...')
#27 /home/xxxxxx/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'ma_optician4_ho...')
#28 /home/xxxxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction()
#29 /home/xxxxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#30 /home/xxxxxx/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#31 /home/xxxxxx/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#32 /home/xxxxxx/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#33 /home/xxxxxx/public_html/index.php(87): Mage::run('', 'store')
#34 {main}
I did this but it didn't resolve the issue.
Navigate to the "errors" folder.
Change local.xml.sample to local.xml
You should now see a new list of crazy errors all over the Magento page - this is okay.
Open magento/lib/Zend/Cache/Backend/File.php and look for:
protected $_options = array(
'cache_dir' => 'null',
Change it to:
protected $_options = array(
'cache_dir' => 'tmp/',
Save it.
Now the final step is to go create a tmp folder in the root Magento folder.
Any more pointers on what's wrong here?
Thank you.
You have any remaned localxxx.xml if it is there, just delete and clear your cache

Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created + cakephp 2.x

I got an error during placing order. Order placed half and after that i got error. I checked error.log file i found,
013-11-25 16:35:07 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
#0 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Model/Datasource/DboSource.php(261): Mysql->connect()
#1 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Model/Model.php(3164): ConnectionManager::getDataSource('default')
#3 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Model/Model.php(1096): Model->setDataSource('default')
#4 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Model/Model.php(3186): Model->setSource('baskets')
#5 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Model/Model.php(2637): Model->getDataSource()
#6 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/app/Model/Basket.php(24): Model->find('first', Array)
#7 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/app/Controller/AppController.php(53): Basket->getSessionDetails('c71b56ada66fd45...')
#8 [internal function]: AppController->beforeFilter(Object(CakeEvent))
#9 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Event/CakeEventManager.php(246): call_user_func(Array, Object(CakeEvent))
#10 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Controller/Controller.php(669): CakeEventManager->dispatch(Object(CakeEvent))
#11 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Routing/Dispatcher.php(183): Controller->startupProcess()
#12 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/lib/Cake/Routing/Dispatcher.php(161): Dispatcher->_invoke(Object(IndexController), Object(CakeRequest), Object(CakeResponse))
#13 /usr/local/pem/vhosts/262731/webspace/httpdocs/parceldirect.ie/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#14 {main}
Can anyone suggest me what is the issue with connection? Was server down during order process and got that error? Or any other issue?

Magento site down due to mysql error General error: 1030 Got error -1 from storage engine

I even deleted all records from log_visitor table, still getting the same issue. Following is the stack I am getting.
SQLSTATE[HY000]: General error: 1030 Got error -1 from storage engine
#0 /home/site/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/site/public_html/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/site/public_html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/site/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `lo...', Array)
#4 /home/site/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `lo...', Array)
#5 /home/site/public_html/lib/Zend/Db/Adapter/Abstract.php(574): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `lo...', Array)
#6 /home/site/public_html/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php(453): Zend_Db_Adapter_Abstract->insert('log_visitor', Array)
#7 /home/site/public_html/app/code/core/Mage/Core/Model/Abstract.php(318): Mage_Core_Model_Resource_Db_Abstract->save(Object(Mage_Log_Model_Visitor))
#8 /home/site/public_html/app/code/core/Mage/Log/Model/Visitor.php(167): Mage_Core_Model_Abstract->save()
#9 /home/site/public_html/app/code/core/Mage/Core/Model/App.php(1338): Mage_Log_Model_Visitor->initByRequest(Object(Varien_Event_Observer))
#10 /home/site/public_html/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Log_Model_Visitor), 'initByRequest', Object(Varien_Event_Observer))
#11 /home/site/public_html/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#12 /home/site/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(528): Mage::dispatchEvent('controller_acti...', Array)
#13 /home/site/public_html/app/code/core/Mage/Core/Controller/Front/Action.php(64): Mage_Core_Controller_Varien_Action->preDispatch()
#14 /home/site/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(408): Mage_Core_Controller_Front_Action->preDispatch()
#15 /home/site/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#16 /home/site/public_html/app/code/local/SM/Vendors/Controller/Router/Vendor.php(76): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#17 /home/site/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): SM_Vendors_Controller_Router_Vendor->match(Object(Mage_Core_Controller_Request_Http))
#18 /home/site/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#19 /home/site/public_html/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#20 /home/site/public_html/index.php(87): Mage::run('', 'store')
#21 {main}
Fatal error: Exception thrown without a stack frame in Unknown on line 0
This is a live site, I need make it live as soon as possible. Please help.
This is a general error that happens when InnoDB cannot write to its data files.
I've seen reports of this when the disk is full, or if permissions on the files changed so you can't write to them.
Another report was when someone enabled innodb_force_recovery to a value greater than 0, not realizing that in recovery modes >0, InnoDB is effectively read-only.
I hope this helps.
try deleting the folders var/cache and var/session it works for me