simplexml_load_file error: Error while parsing the Languages fileLanguages/en-en.xml

  •  10-22-2008, 9:14 AM

    simplexml_load_file error: Error while parsing the Languages fileLanguages/en-en.xml

    I have been troubleshooting this problem and can not seem to understand why it behave the way it does.
     
    I've installed CuteEditor into our webserver and $_SERVER['DOCUMENT_ROOT'] = "/wwwdev";
    The file structure is as follow:
     
     /
        CuteEditor/CuteEditor_Files
        antibody_new
        ...
     
    Now, when I viewed on the internet: http://xxx.com/CuteEditor/cute.php -- my minimal configuration of the editor work.
    However, when I viewed on the internet: http://xxx.com/antibody_new/cute.php -- it get the simplexml_load_file error: Error while parsing the Languages fileLanguages/en-en.xml.
     
    In both cute.php  ... the include path is:
       
        include($_SERVER['DOCUMENT_ROOT'] . "/CuteEditor_Files/include_CuteEditor.php") ;
     
    If the path in the "include" code is absolute, it should work.  Why doesn't it?
     
    Please help!!!
     

View Complete Thread