Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

Last post 09-25-2009, 8:59 PM by sdeng. 10 replies.
Sort Posts: Previous Next
  •  05-20-2008, 8:40 PM 40592

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    Hi,
     
    I just installed the php html editor, but I'm getting this error:
     
    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "CuteEditor_Files/Languages/en-en.xml" in /home/MYACCOUNT/public_html/newsletter/CuteEditor_Files/include_CuteEditor.php on line 843
    Error while parsing the Languages fileLanguages/en-en.xml
     
    Any ideas?
     
    Thanks, Jenny
  •  05-20-2008, 9:58 PM 40595 in reply to 40592

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    Jenny,
     
    Do you know which version of PHP are you running on your site?
     
    If you are not sure, please save the following into a PHP page and run it on your server:
     
    <?php
    // Show all information, defaults to INFO_ALL
    phpinfo();

    ?>

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  05-20-2008, 11:45 PM 40604 in reply to 40595

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    Hi Adam,
     
    It's 5.2.5.
     
    Since I posted earlier, I discovered that the sample file works at a different location on my server, at least, I'm not getting any error.  I moved the location of the files (I didn't realize they had to be in the same folder as the file invoking the object - mea culpa!).
     
    Now I'm getting these errors:
     
    Warning: simplexml_load_file() [function.simplexml-load-file]: CuteEditor_Files/Configuration/AutoConfigure/Full.config:1: parser error : Document is empty in /home/wwdnet/public_html/newsletter/wwdnewsletters/admin/CuteEditor_Files/include_CuteEditor.php on line 1106

    Warning: simplexml_load_file() [function.simplexml-load-file]: in /home/wwdnet/public_html/newsletter/wwdnewsletters/admin/CuteEditor_Files/include_CuteEditor.php on line 1106

    Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/wwdnet/public_html/newsletter/wwdnewsletters/admin/CuteEditor_Files/include_CuteEditor.php on line 1106

    Warning: simplexml_load_file() [function.simplexml-load-file]: CuteEditor_Files/Configuration/AutoConfigure/Full.config:1: parser error : Start tag expected, '<' not found in /home/wwdnet/public_html/newsletter/wwdnewsletters/admin/CuteEditor_Files/include_CuteEditor.php on line 1106

    Warning: simplexml_load_file() [function.simplexml-load-file]: in /home/wwdnet/public_html/newsletter/wwdnewsletters/admin/CuteEditor_Files/include_CuteEditor.php on line 1106

    Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/wwdnet/public_html/newsletter/wwdnewsletters/admin/CuteEditor_Files/include_CuteEditor.php on line 1106
    Error while parsing the toolbar configuration file
     
     
     
    I'll have to take another look tomorrow, it's very late now.  But if you have any thoughts, please let me know!
     
    Thanks, Jenny
  •  05-21-2008, 1:39 PM 40643 in reply to 40604

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

  •  06-08-2008, 11:09 PM 41247 in reply to 40643

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    I am getting the same sort of error:
     
    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "CuteEditor_Files/Configuration/AutoConfigure/simple.config" in /clientdata/clients/m/e/menzies.org.au/www/editor/CuteEditor_Files/include_CuteEditor.php on line 1209
    Error while parsing the toolbar configuration fileCuteEditor_Files/Configuration/AutoConfigure/simple.config
     
    these files have just been moved from another server where it worked perfectly..
     
    any ideas on what i need to look at?
  •  06-09-2008, 1:13 AM 41248 in reply to 41247

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    by the way the server where it works is PHP 5.2.0, the server where i get this error is PHP 5.2.5
  •  06-09-2008, 3:16 PM 41264 in reply to 41248

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    RYann556,
     
    simplexml_load_file is enabled by default in PHP5. Please contact your host and find out why simplexml_load_file is not supported on your server.
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  06-12-2008, 6:57 AM 41355 in reply to 41264

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    adam,
     
    i will investigate this and get back to you
     
    thanks
  •  06-13-2008, 1:26 AM 41382 in reply to 41355

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    turns out simplexml_load_file isnt supported on that server. so i have changed hosts
  •  09-10-2009, 1:13 AM 55509 in reply to 41382

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    I stumbled on this thread whilst looking for the answer to why I was getting an error message "Error while parsing the toolbar configuration file/Configuration/AutoConfigure/Simple.config.
     
    In my case it was very simple; In the call to the editor in my php script was the line
     
    $editor->AutoConfigure="simple";  //Select Toolbar
     
    but should have been
     
    $editor->AutoConfigure="Simple";  //Select Toolbar
     
    i.e. with an uppercase 'S' at the start of the word 'Simple'.   Whatever is specified here has to match exactly (case sensitive) with  a filename in the CuteEditor_Files/Configuration/AutoConfigure folder - the '.config' extension to the filename is added for you.
     
  •  09-25-2009, 8:59 PM 55883 in reply to 55509

    Re: Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning

    I just had the same problem after uploading a working website to my hosting provider. This also turned out to be a problem with upper-/lowercase of the config files.

    I found out that  I could even upload admin.config TWICE to my hosting provider if one filename starts with uppercase and the other one with lowercase. I don't know if this has got to do with unix/linux or something else, but it's a bit misleading.
     
    I prefer to keep everything lowercase anyway, and that solved the problem. Still got another one now (menus cannot be loaded???) but I suppose that hasn't got anything to do with this...
View as RSS news feed in XML