AdmiralAkbar Posted April 18, 2011 Share Posted April 18, 2011 I'm working on a very simple CMS for someone. It's working fine but, when I upload the files to their server, I get this error: Fatal error: Call to undefined function: simplexml_load_file() in /home/content/s/o/m/sommerpaul/html/src/index.php on line 11 Is it possible that their server is running a different or outdated version of PHP? Is it possible that the files must be in a special folder? This project was going far too smoothly, so I should've expected this. I'm on a deadline so I'd rather not rework the script if I don't have to. Does anyone have any advice? Thanks for reading! Link to comment https://forums.phpfreaks.com/topic/234081-call-to-undefined-function-simplexml_load_file/ Share on other sites More sharing options...
requinix Posted April 18, 2011 Share Posted April 18, 2011 SimpleXML is for PHP 5+ and is enabled by default. Therefore you don't have PHP 5 and/or SimpleXML was explicitly disabled. Link to comment https://forums.phpfreaks.com/topic/234081-call-to-undefined-function-simplexml_load_file/#findComment-1203149 Share on other sites More sharing options...
AdmiralAkbar Posted April 18, 2011 Author Share Posted April 18, 2011 Thanks for the answer! Link to comment https://forums.phpfreaks.com/topic/234081-call-to-undefined-function-simplexml_load_file/#findComment-1203186 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.