Magento Forum

   
Some error messages when trying to install. 
 
Brett
Sr. Member
 
Total Posts:  121
Joined:  2007-12-01
 

Locale *

WarningInvalid argument supplied for foreach() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Cache/Backend/File.php on line 460
[0] in Zend_Cache_Backend_File
->_unregisterTag("Zend_Locale_en_US_languagelist_"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Cache/Backend/File.php on line 269
[1] in Zend_Cache_Backend_File
->remove("Zend_Locale_en_US_languagelist_"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Cache/Backend/File.php on line 210
[2] in Zend_Cache_Backend_File
->save("a:505:{s:2:"aa";s:4:"Afar";s:2:"ab";s:9:"Abkhazian";s:3:"ace";s:8:"Achinese";s:3:"ach";s:5:"Acoli";s""Zend_Locale_en_US_languagelist_"Array[0], ) in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Cache/Core.php on line 278
[3] in Zend_Cache_Core
->save("a:505:{s:2:"aa";s:4:"Afar";s:2:"ab";s:9:"Abkhazian";s:3:"ace";s:8:"Achinese";s:3:"ach";s:5:"Acoli";s""Zend_Locale_en_US_languagelist_"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Locale/Data.php on line 761
[4] in Zend_Locale_Data
::getContent("en_US""languagelist"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Locale.php on line 483
[5] in Zend_Locale
->getTranslationList("language"NULLin /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Locale.php on line 594
[6] in Zend_Locale
->getLanguageTranslationList() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Model/Locale.php on line 169
[7] in Mage_Core_Model_Locale
->getOptionLocales() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Install/Block/Locale.php on line 81
[8] in Mage_Install_Block_Locale
->getLocaleSelect() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/design/install/default/default/template/install/locale.phtml on line 40
[9] in 
include("/var/www/vhosts/brettmorgan.com/httpdocs/shop/app/design/install/default/default/template/install/lo"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Block/Template.php on line 116
[10] in Mage_Core_Block_Template
->fetchView("install/default/default/template/install/locale.phtml"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Block/Template.php on line 143
[11] in Mage_Core_Block_Template
->renderView() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Block/Template.php on line 188
[12] in Mage_Core_Block_Template
->toHtml() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Block/Text/List.php on line 38
[13] in Mage_Core_Block_Text_List
->toHtml() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Block/Abstract.php on line 439
[14] in Mage_Core_Block_Abstract
->_getChildHtml("content"1in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Block/Abstract.php on line 417
[15] in Mage_Core_Block_Abstract
->getChildHtml("content"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/design/install/default/default/template/page.phtml on line 96
[16] in 
include("/var/www/vhosts/brettmorgan.com/httpdocs/shop/app/design/install/default/default/template/page.phtml"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Block/Template.php on line 116
[17] in Mage_Core_Block_Template
->fetchView("install/default/default/template/page.phtml"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Block/Template.php on line 143
[18] in Mage_Core_Block_Template
->renderView() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Block/Template.php on line 188
[19] in Mage_Core_Block_Template
->toHtml() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Model/Layout.php on line 402
[20] in Mage_Core_Model_Layout
->getOutput() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Controller/Varien/Action.php on line 302
[21] in Mage_Core_Controller_Varien_Action
->renderLayout() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Install/controllers/WizardController.php on line 142
[22] in Mage_Install_WizardController
->localeAction() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Controller/Varien/Action.php on line 325
[23] in Mage_Core_Controller_Varien_Action
->dispatch("locale"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 149
[24] in Mage_Core_Controller_Varien_Router_Standard
->match(Zend_Controller_Request_Httpin /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/code/core/Mage/Core/Controller/Varien/Front.php on line 166
[25] in Mage_Core_Controller_Varien_Front
->dispatch() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/app/Mage.php on line 380
[26] in Mage
::run("base"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/index.php on line 28

Warning
Invalid argument supplied for foreach() in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Cache/Backend/File.php on line 460
[0] in Zend_Cache_Backend_File
->_unregisterTag("Zend_Locale_en_US_territorylist_"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Cache/Backend/File.php on line 269
[1] in Zend_Cache_Backend_File
->remove("Zend_Locale_en_US_territorylist_"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Cache/Backend/File.php on line 210
[2] in Zend_Cache_Backend_File
->save("a:298:{s:3:"001";s:5:"World";s:3:"002";s:6:"Africa";s:3:"003";s:13:"North America";s:3:"005";s:13:"S", "Zend_Locale_en_US_territorylist_", Array[0], ) in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Cache/Core.php on line 278
[3] in Zend_Cache_Core->save("
a:298:{s:3:"001";s:5:"World";s:3:"002";s:6:"Africa";s:3:"003";s:13:"North America";s:3:"005";s:13:"S""Zend_Locale_en_US_territorylist_"in /var/www/vhosts/brettmorgan.com/httpdocs/shop/lib/Zend/Locale/Data.php on line 761

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brett
Sr. Member
 
Total Posts:  121
Joined:  2007-12-01
 

It continues like that for a while ( was too big for one post)

http://www.brettmorgan.com/phpinfo.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brett
Sr. Member
 
Total Posts:  121
Joined:  2007-12-01
 

Got a bit further after updating some stuff.. Based on the phpinfo file, it looks like all of the requirements are enabled. After I entered all of the info and stuff for the database, ports, etc. it showed me this:

(again too long for one post)
http://www.brettmorgan.com/cfgerror.txt

 
Magento Community Magento Community
Magento Community
Magento Community
 
lipo
Jr. Member
 
Total Posts:  7
Joined:  2007-11-22
 

this is a known issue with PHP 5.2.5 and Zend_Cache. See: 

http://www.magentocommerce.com/boards/viewthread/1600/P0/

and a workaround here:

See http://www.magentocommerce.com/boards/viewthread/1600/P15/

Karl

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brett
Sr. Member
 
Total Posts:  121
Joined:  2007-12-01
 

Thanks lots man, great reply wink Took care of my problem!

So, magento was definitely not easy for me to install. However, its important to note that the only actual problem i had with magento was the File.php thing since I’m using php 5.2.5.

Anyways, here’s what I did to solve my problems, in case anyone else is running into them:

I use Fedora 6 and run Plesk 8.2.1

I was getting the php-common error while updating php so I did the following:

wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh

yum install php-xml php-pdo

yum install php-pear

mv /etc/php.ini.rpmnew /etc/php.ini

And I DID NOT have to do this, but some might HAVE to do thi:
mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf

PHP was updated fine!

Now I need to update MySQL - time for another few hours of searchign google I guess

corman420
http://forum.swsoft.com/showthread.php?s=870c25369450973736ec8fcc4eb16bd4&threadid;=49481

At this point I have a decent bit of knowlege with updating linux, so if anyone has similar problems with updating their php version while running plesk, let me know smile

After I updated everything and replaced File.php like Karl said, everything worked fine.

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