The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




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: 2 Guest(s)