The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Uncaught exception 'Exception' with message 'String could not be parsed as XML' - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Uncaught exception 'Exception' with message 'String could not be parsed as XML' (/showthread.php?tid=5023) |
Uncaught exception 'Exception' with message 'String could not be parsed as XML' - Lisandr - 2013-07-26 Quote:PHP Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /admin/inc/logging.class.php:44So, logg files default have ANSI encoding, but parser required UTF8. In my incident i use cirilliс login and authorization took place successfully. But once at authorization the server started giving out a mistake No. 500. Probably I made a mistake in the form of my template that led to rewriting of log file, in a consequence of that at authorization there was the above mistake (№500). Thus, a change ANSI to UTF8 at log files (/data/other/loggs/) and the problem was resolved. In order to avoid this problem from other users, edit the php code to log files were created in UTF encoding. RE: Uncaught exception 'Exception' with message 'String could not be parsed as XML' - shawn_a - 2013-07-26 Can you detail exactly what you did to cause the issue? A cryllic username? Was this after some upgrade ? Did you simply delete the file and let it recreate or is the xml header wrong ? RE: Uncaught exception 'Exception' with message 'String could not be parsed as XML' - Lisandr - 2013-07-27 GetSimple CMS 3.2.1 Install, set login name on cyrillc, do some mistake -> GetSimple write log file at ANSI. But parser required UTF8, so if I have any not english symbols at log files - PHP Fatal error. If parser work with UTF8, why log files created with ANSI? English ANSI = UTF, and all work Ok, but any other language and we have error. RE: Uncaught exception 'Exception' with message 'String could not be parsed as XML' - shawn_a - 2013-07-31 https://github.com/GetSimpleCMS/GetSimpleCMS/issues/615 logs will have to be cleared, but this should fix it. Code: <entry> |