Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Uncaught exception 'Exception' with message 'String could not be parsed as XML'
#1
Bug 
Quote:PHP Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /admin/inc/logging.class.php:44
Stack trace:
#0
/admin/inc/logging.class.php(44): SimpleXMLElement->__construct('<?xml version="...')
#1
/admin/inc/login_functions.php(36): GS_Logging_Class->__construct('failedlogins.lo...')
#2
/admin/inc/common.php(250): include_once('/home/r/r7nebor...')
#3
/admin/index.php(14): include('/home/r/r7nebor...')
#4 {main}
thrown in
/admin/inc/logging.class.php on line 44
So, 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.
Reply


Messages In This Thread
Uncaught exception 'Exception' with message 'String could not be parsed as XML' - by Lisandr - 2013-07-26, 09:59:56



Users browsing this thread: 1 Guest(s)