Zend simplexml_load_file() path not working in Apache in Ubuntu

droveysung

New Member
I am trying to load an xml file from a helper method inside scripts folder with $styleData = http://stackoverflow.com/questions/3913029/new Zend_Config_Xml($this->view->baseUrl().'/styles/style1/style.xml');And i am getting errorUncaught exception 'Zend_Config_Exception' with message 'simplexml_load_file(): I/O warning : failed to load external entity "/my_blog/public/styles/style1/style.xml"' in /usr/share/php/libzend-framework-php/Zend/Config/Xml.php:98Now if i do$styleData = http://stackoverflow.com/questions/3913029/new Zend_Config_Xml('localhost/'.$this->view->baseUrl().'/styles/style1/style.xml');Then everything works fineCould you please help
 
Top