I have some trouble receiving order emails so i debuged a bit.
- Installed AOE Scheduler
Found some issues with the cron so i checked this. Now its running but keeps sending me the following errors:
When trying to run schedular_cron.sh:
PHP Fatal error: Call to undefined function simplexml_load_string() in /path/to/magento/lib/Varien/Simplexml/Config.php on line 510
When trying to run cron.sh (Mage default):
PHP Fatal error: Call to undefined function simplexml_load_file() in /path/to/magento/app/Mage.php on line 767
Both *.sh files are executable and have the right owner.
Based on my phpinfo() SimpleXML is enabled.
Also, if (extension_loaded('simplexml'))
tells me its loaded.
Best Answer
This errors means you do not have the simpleXML library loaded with PHP.
You should print your
phpinfo()
in Command Line mode and check the presence of the simplexml library.Check then how to install the simplexml library on your OS.