每當我將一個本地php.ini文件放在我的siteground服務器上並增加max_execution_time
magento停止使用下面的錯誤時,我被困在一個非常奇怪的問題上。即使有空的php.ini文件也會產生問題:php.ini和magento衝突
Warning: simplexml_load_string() [function.simplexml-load-string]:
Entity: line 2: parser error : error parsing attribute name in
/home/omitted/public_html/includes/src/__default.php on line 22821
#0 [internal function]: mageCoreErrorHandler(2, 'simplexml_load_...',
'/home/omitted/...', 22821, Array)
#1 /home/omitted/public_html/includes/src/__default.php(22821):
simplexml_load_string('loadCache()
#3 /home/omitted/public_html/includes/src/__default.php(21115):
Mage_Core_Model_Config->loadModulesCache()
#4 /home/omitted/public_html/includes/src/__default.php(21045):
Mage_Core_Model_App->_initModules()
#5 /home/omitted/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#6 /home/omitted/public_html/index.php(83): Mage::run('', 'store')
#7 {main}
搜索了很多,但找不到原因。這個服務器問題或網站有問題嗎?
服務器 -
- Memcached的啓用
- HHVM啓用
即使是空的php.ini文件也會導致錯誤。 – asachanfbd
好的,你嘗試過嗎?正如我建議以上 – Keith
是的,只是沒有任何改變。同樣的錯誤。似乎magento不喜歡php.ini的存在。 – asachanfbd