Can't load an XML File - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Can't load an XML File (/showthread.php?tid=13007) |
Can't load an XML File - El Forum - 11-07-2008 [eluser]donkey_[/eluser] Hi it's me again I have this question ... currently i work on a project where i'm late well .. it's only a simple PHP site so i used Codeigniter to build the website ... my costumer don't have any Databases ... so I must use SIMPLE XML .... i tried it ... but that doesn't Work Code: class Page extends Controller { and so i put the file in Code: system/application/controller/page.php in Code: system/application/controller/content.xml but my script sayes that he can't find my file why? I'm asking because normaly that works Best regards - donkey_ [EDIT] remember my script is at all not finished ... it's currently only my file problem .. the rest i will eleminate the rest of my errors :-D [/EDIT] Can't load an XML File - El Forum - 11-07-2008 [eluser]narkaT[/eluser] try an absolute path: Code: $file = APPPATH.'controller/content.xml'; |