Magento Forum

   
errors on the 0.6.13110 version
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

I get all these errors and more when trying to install the most recent download.

Notice: unserialize() [function.unserialize]: Argument is not a string in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App.php on line 412
[0] in unserialize() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App.php on line 412
[1] in Mage_Core_Model_App->useCache("translate") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/Translate.php on line 428
[2] in Mage_Core_Model_Translate->_canUseCache() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/Translate.php on line 402
[3] in Mage_Core_Model_Translate->_loadCache() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/Translate.php on line 94
[4] in Mage_Core_Model_Translate->init("install") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App/Area.php on line 137
[5] in Mage_Core_Model_App_Area->_initTranslate() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App/Area.php on line 113
[6] in Mage_Core_Model_App_Area->_loadPart("translate") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App/Area.php on line 84
[7] in Mage_Core_Model_App_Area->load() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App.php on line 178
[8] in Mage_Core_Model_App->loadArea("install") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 353
[9] in Mage_Core_Controller_Varien_Action->preDispatch() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Install/controllers/WizardController.php on line 29
[10] in Mage_Install_WizardController->preDispatch() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 319
[11] in Mage_Core_Controller_Varien_Action->dispatch("beginPost") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 147
[12] in Mage_Core_Controller_Varien_Router_Standard->match(Zend_Controller_Request_Http) in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 164
[13] in Mage_Core_Controller_Varien_Front->dispatch() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/Mage.php on line 378
[14] in Mage::run("base") in /var/www/vhosts/designhosting.us/httpdocs/magento/index.php on line 28

Notice: unserialize() [function.unserialize]: Argument is not a string in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App.php on line 412
[0] in unserialize() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App.php on line 412
[1] in Mage_Core_Model_App->useCache("translate") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/Translate.php on line 428
[2] in Mage_Core_Model_Translate->_canUseCache() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/Translate.php on line 418
[3] in Mage_Core_Model_Translate->_saveCache() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/Translate.php on line 110
[4] in Mage_Core_Model_Translate->init("install") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App/Area.php on line 137
[5] in Mage_Core_Model_App_Area->_initTranslate() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App/Area.php on line 113
[6] in Mage_Core_Model_App_Area->_loadPart("translate") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App/Area.php on line 84
[7] in Mage_Core_Model_App_Area->load() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Model/App.php on line 178
[8] in Mage_Core_Model_App->loadArea("install") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 353
[9] in Mage_Core_Controller_Varien_Action->preDispatch() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Install/controllers/WizardController.php on line 29
[10] in Mage_Install_WizardController->preDispatch() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 319
[11] in Mage_Core_Controller_Varien_Action->dispatch("beginPost") in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 147
[12] in Mage_Core_Controller_Varien_Router_Standard->match(Zend_Controller_Request_Http) in /var/www/vhosts/designhosting.us/httpdocs/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 164
[13] in Mage_Core_Controller_Varien_Front->dispatch() in /var/www/vhosts/designhosting.us/httpdocs/magento/app/Mage.php on line 378
[14] in Mage::run("base") in /var/www/vhosts/designhosting.us/httpdocs/magento/index.php on line 28

Any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Thanks for the report, in app/code/core/Mage/Core/Model/App.php on line 412 replace:

$this->_useCache unserialize($this->getCache()->load('use_cache'));
with
$data $this->getCache()->load('use_cache');
if (
is_string($data)) {
  $this
->_useCache unserialize($data);
else {
  $this
->_useCache = array();
}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Melinda
Member
 
Total Posts:  49
Joined:  2007-08-31
 

Thanks so much Moshe!  It worked!

Note to plesk users that have http folder as both for http and https you have to change the 443 and https to 80 and http to continue installing.

Thanks again!

 
Magento Community Magento Community
Magento Community
Magento Community
 
ericstamper
Jr. Member
 
Total Posts:  2
Joined:  2007-10-19
 

Thanks for the suggested fix.  I applied that change of code, but I am also getting this error:

Warning: session_start() [function.session-start]: Unknown session.serialize_handler. Failed to decode session object. in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 58
[0] in session_start() in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 58
[1] in Mage_Core_Model_Session_Abstract_Varien->start("install") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 67
[2] in Mage_Core_Model_Session_Abstract_Varien->init("core", “install") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract.php on line 32
[3] in Mage_Core_Model_Session_Abstract->init("core", “install") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session.php on line 33
[4] in Mage_Core_Model_Session->__construct(Array[1]) in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Config.php on line 560
[5] in Mage_Core_Model_Config->getModelInstance("core/session", Array[1]) in /home/mydomain/public_html/magento/app/Mage.php on line 256
[6] in Mage::getModel("core/session", Array[1]) in /home/mydomain/public_html/magento/app/Mage.php on line 270
[7] in Mage::getSingleton("core/session", Array[1]) in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 352
[8] in Mage_Core_Controller_Varien_Action->preDispatch() in /home/mydomain/public_html/magento/app/code/core/Mage/Install/controllers/IndexController.php on line 33
[9] in Mage_Install_IndexController->preDispatch() in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 319
[10] in Mage_Core_Controller_Varien_Action->dispatch("index") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 147
[11] in Mage_Core_Controller_Varien_Router_Standard->match(Zend_Controller_Request_Http) in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 164
[12] in Mage_Core_Controller_Varien_Front->dispatch() in /home/mydomain/public_html/magento/app/Mage.php on line 378
[13] in Mage::run("base") in /home/mydomain/public_html/magento/index.php on line 28

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mydomain/public_html/magento/app/code/core/Mage/Core/functions.php:134) in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 58
[0] in session_start() in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 58
[1] in Mage_Core_Model_Session_Abstract_Varien->start("install") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 67
[2] in Mage_Core_Model_Session_Abstract_Varien->init("core", “install") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract.php on line 32
[3] in Mage_Core_Model_Session_Abstract->init("core", “install") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session.php on line 33
[4] in Mage_Core_Model_Session->__construct(Array[1]) in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Config.php on line 560
[5] in Mage_Core_Model_Config->getModelInstance("core/session", Array[1]) in /home/mydomain/public_html/magento/app/Mage.php on line 256
[6] in Mage::getModel("core/session", Array[1]) in /home/mydomain/public_html/magento/app/Mage.php on line 270
[7] in Mage::getSingleton("core/session", Array[1]) in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 352
[8] in Mage_Core_Controller_Varien_Action->preDispatch() in /home/mydomain/public_html/magento/app/code/core/Mage/Install/controllers/IndexController.php on line 33
[9] in Mage_Install_IndexController->preDispatch() in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 319
[10] in Mage_Core_Controller_Varien_Action->dispatch("index") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 147
[11] in Mage_Core_Controller_Varien_Router_Standard->match(Zend_Controller_Request_Http) in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 164
[12] in Mage_Core_Controller_Varien_Front->dispatch() in /home/mydomain/public_html/magento/app/Mage.php on line 378
[13] in Mage::run("base") in /home/mydomain/public_html/magento/index.php on line 28

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mydomain/public_html/magento/app/code/core/Mage/Core/functions.php:134) in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 58
[0] in session_start() in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 58
[1] in Mage_Core_Model_Session_Abstract_Varien->start("install") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php on line 67
[2] in Mage_Core_Model_Session_Abstract_Varien->init("core", “install") in /home/mydomain/public_html/magento/app/code/core/Mage/Core/Model/Session/Abstract.php on line 32
....

Any further suggestions?  Thanks for your help!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

@ericstamper: could you please paste here the line in your php.ini that starts with “session.serialize_handle” ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ericstamper
Jr. Member
 
Total Posts:  2
Joined:  2007-10-19
 

Moshe,

Thank you so much for the reply.

I assume you meant session.serialize_handler with the “r” at the end. 

I checked that setting in the php.ini file and it was set as “php “.  For some reason there were some spaces in there.  I removed those spaces and now I get no errors.

Thanks again for your help.  I look forward to giving the shopping cart a try.

Eric

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top