Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Local.xml error
 
droomscott
Jr. Member
 
Total Posts:  1
Joined:  2013-01-09
 

We are having a re-occuring fault where our live Magento site keeps switching to the installation page. The ways we seem to of got the site back up and running is by deleting var/cache var/session and running the magento-cleanup.php tool. Then we have uploaded and older version of the cache and session folder/files and it seems to come back to life.

Whilst looking through various issues we switched on the developer errors and have the following error.

Could someone please help us try and understand what the error is an what could be causing the above to happen.

Thnaks in advance for your help : )

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “/var/www/vhosts/ivsyringes.com/httpdocs/app/etc/local.xml” in /var/www/vhosts/ivsyringes.com/httpdocs/app/Mage.php on line 766

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/ivsyringes.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php on line 133

#0 /var/www/vhosts/ivsyringes.com/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(133): mageCoreErrorHandler(2, ‘Invalid argumen...’, ‘/var/www/vhosts...’, 133, Array)
#1 /var/www/vhosts/ivsyringes.com/httpdocs/app/code/core/Mage/Core/Model/App.php(749): Mage_Core_Controller_Varien_Front->init()
#2 /var/www/vhosts/ivsyringes.com/httpdocs/app/code/core/Mage/Core/Model/App.php(1094): Mage_Core_Model_App->_initFrontController()
#3 /var/www/vhosts/ivsyringes.com/httpdocs/app/code/core/Mage/Core/Model/Url.php(529): Mage_Core_Model_App->getFrontController()
#4 /var/www/vhosts/ivsyringes.com/httpdocs/app/code/core/Mage/Core/Model/Url.php(381): Mage_Core_Model_Url->getRouteFrontName()
#5 /var/www/vhosts/ivsyringes.com/httpdocs/app/code/core/Mage/Core/Model/Url.php(746): Mage_Core_Model_Url->getBaseUrl()
#6 /var/www/vhosts/ivsyringes.com/httpdocs/app/code/core/Mage/Core/Model/Url.php(977): Mage_Core_Model_Url->getRouteUrl(’install’, Array)
#7 /var/www/vhosts/ivsyringes.com/httpdocs/app/Mage.php(393): Mage_Core_Model_Url->getUrl(’install’, Array)
#8 /var/www/vhosts/ivsyringes.com/httpdocs/app/Mage.php(699): Mage::getUrl(’install’)
#9 /var/www/vhosts/ivsyringes.com/httpdocs/index.php(93): Mage::run(’’, ‘store’)
#10 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
LuclaNet
Jr. Member
 
Avatar
Total Posts:  1
Joined:  2008-03-09
Italy
 

It’s in italian :( but here you can find solution
http://blog.lucla.net/magento-warning-simplexml_load_file-io-warning-failed-load-external-entity-appetclocal-xml-appmage-php-line-766/

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