MyBB.de Forum

Normale Version: BootBB
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Seiten: 1 2 3 4 5 6 7 8
Ich hatte dieses Problem tatsächlich auch schon.
Es handelte sich, wie doylecc bereits schrieb, um fehlerhaften MyCode.
Deaktivieren mal alle eigenen MyCodes bzw. prüfe deren Code nochmal auf Validität.
Allerdings müsste der Fehler dann wohl auch im Standard-Theme bestehen.
Gerti, prüfe bitte die Punkte, die in der Doku zu dem Thema genannt werden: https://docs.mybb.com/1.8/faq/errors/#pa...ion-failed
@StefanT
Danke für den Tipp, welcher defintiv zu einem Erfolg der Fehlerquelleneingrenzung führte.

Wenn ich gemäß Vorgabe in der class_parser.php von
Code:
public $output_validation_policy = self::VALIDATION_REQUIRE;
auf

Code:
public $output_validation_policy = self::VALIDATION_REPORT_ONLY;
umstelle, werden die Beiträge angezeigt. Oh welch Überrschaung, es sind gar Grafiken (aus der Smilebox) in den Beiträgen enthalten.

Da es jedoch nur ein Reporting ist, was keine Dauerszustand sein sollte, gilt es jetzt die damit verbunde Fehlerquelle zu finden.

Im Log-File steht nach dem Refsh der Seite wie folgt:
Code:
<error>
    <dateline>1677435152</dateline>
    <script>global.php(557) : eval()'d code</script>
    <line>13</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Array to string conversion</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(557) : eval()'d code:13]
#2  eval() called at [/global.php:557]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(557) : eval()'d code</script>
    <line>13</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Array to string conversion</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(557) : eval()'d code:13]
#2  eval() called at [/global.php:557]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(966) : eval()'d code</script>
    <line>26</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Array to string conversion</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(966) : eval()'d code:26]
#2  eval() called at [/global.php:966]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(966) : eval()'d code</script>
    <line>31</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Array to string conversion</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(966) : eval()'d code:31]
#2  eval() called at [/global.php:966]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(966) : eval()'d code</script>
    <line>48</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Undefined property: MyLanguage::$coffee_fontane_header</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(966) : eval()'d code:48]
#2  eval() called at [/global.php:966]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(966) : eval()'d code</script>
    <line>72</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Undefined variable $holidays</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(966) : eval()'d code:72]
#2  eval() called at [/global.php:966]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(966) : eval()'d code</script>
    <line>72</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Undefined variable $holidays</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(966) : eval()'d code:72]
#2  eval() called at [/global.php:966]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(1075) : eval()'d code</script>
    <line>100</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Undefined property: MyLanguage::$assisted_supported</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(1075) : eval()'d code:100]
#2  eval() called at [/global.php:1075]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(1075) : eval()'d code</script>
    <line>108</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Array to string conversion</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(1075) : eval()'d code:108]
#2  eval() called at [/global.php:1075]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(1075) : eval()'d code</script>
    <line>117</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Array to string conversion</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(1075) : eval()'d code:117]
#2  eval() called at [/global.php:1075]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>global.php(1075) : eval()'d code</script>
    <line>117</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Array to string conversion</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/global.php(1075) : eval()'d code:117]
#2  eval() called at [/global.php:1075]
#3  require_once() called at [/showthread.php:28]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>inc/class_parser.php</script>
    <line>2060</line>
    <type>512</type>
    <friendly_type>User Warning</friendly_type>
    <message>Parser output validation failed.
array (
  'sourceHtmlEntities' => 'Beitrag = HTML-Inhalt',',
  'errors' =>
  array (
    0 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 65,
       'column' => 121,
       'message' => 'attributes construct error
',
       'file' => '',
       'line' => 4,
    )),
    1 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 73,
       'column' => 121,
       'message' => 'Couldn\'t find end of Start Tag img line 4
',
       'file' => '',
       'line' => 4,
    )),
    2 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 65,
       'column' => 103,
       'message' => 'attributes construct error
',
       'file' => '',
       'line' => 9,
    )),
    3 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 73,
       'column' => 103,
       'message' => 'Couldn\'t find end of Start Tag img line 9
',
       'file' => '',
       'line' => 9,
    )),
    4 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 65,
       'column' => 97,
       'message' => 'attributes construct error
',
       'file' => '',
       'line' => 14,
    )),
    5 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 73,
       'column' => 97,
       'message' => 'Couldn\'t find end of Start Tag img line 14
',
       'file' => '',
       'line' => 14,
    )),
  ),
)</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_parser.php:2060]
#1  postParser->validate_output() called at [/inc/class_parser.php:2001]
#2  postParser->output_allowed() called at [/inc/class_parser.php:285]
#3  postParser->parse_message() called at [/inc/functions_post.php:829]
#4  build_postbit() called at [/showthread.php:1118]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>inc/class_parser.php</script>
    <line>2060</line>
    <type>512</type>
    <friendly_type>User Warning</friendly_type>
    <message>Parser output validation failed.
array (
  'sourceHtmlEntities' => 'Beitrag = HTML-Inhalt',
  'errors' =>
  array (
    0 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 65,
       'column' => 105,
       'message' => 'attributes construct error
',
       'file' => '',
       'line' => 2,
    )),
    1 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 73,
       'column' => 105,
       'message' => 'Couldn\'t find end of Start Tag img line 2
',
       'file' => '',
       'line' => 2,
    )),
  ),
)</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_parser.php:2060]
#1  postParser->validate_output() called at [/inc/class_parser.php:2001]
#2  postParser->output_allowed() called at [/inc/class_parser.php:285]
#3  postParser->parse_message() called at [/inc/functions_post.php:829]
#4  build_postbit() called at [/showthread.php:1118]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>inc/class_parser.php</script>
    <line>2060</line>
    <type>512</type>
    <friendly_type>User Warning</friendly_type>
    <message>Parser output validation failed.
array (
  'sourceHtmlEntities' => 'Beitrag = HTML-Inhalt',
  'errors' =>
  array (
    0 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 65,
       'column' => 114,
       'message' => 'attributes construct error
',
       'file' => '',
       'line' => 1,
    )),
    1 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 73,
       'column' => 114,
       'message' => 'Couldn\'t find end of Start Tag img line 1
',
       'file' => '',
       'line' => 1,
    )),
    2 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 65,
       'column' => 126,
       'message' => 'attributes construct error
',
       'file' => '',
       'line' => 7,
    )),
    3 =>
    LibXMLError::__set_state(array(
       'level' => 3,
       'code' => 73,
       'column' => 126,
       'message' => 'Couldn\'t find end of Start Tag img line 7
',
       'file' => '',
       'line' => 7,
    )),
  ),
)</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_parser.php:2060]
#1  postParser->validate_output() called at [/inc/class_parser.php:2001]
#2  postParser->output_allowed() called at [/inc/class_parser.php:285]
#3  postParser->parse_message() called at [/inc/functions_post.php:829]
#4  build_postbit() called at [/showthread.php:1118]
</back_trace>
</error>

<error>
    <dateline>1677435152</dateline>
    <script>showthread.php(1305) : eval()'d code</script>
    <line>42</line>
    <type>2</type>
    <friendly_type>Warning</friendly_type>
    <message>Undefined variable $guestterms</message>
    <back_trace>#0  errorHandler->error() called at [/inc/class_error.php:153]
#1  errorHandler->error_callback() called at [/showthread.php(1305) : eval()'d code:42]
#2  eval() called at [/showthread.php:1305]
</back_trace>
</error>
Die Fehlermeldung: Couldn\'t find end of Start Tag img line x dürfte die eigentliche Fehlerquelle sein. Wo findet sich diese?

Das Template smile (Template ohne Gruppen) ist korrekt wie in anderen Foren.

Zumindest ist man jetzt, Dank Deines Tipps, einen wesentlichen Schritt weiter.
Der Doctype ist auf
Code:
<!DOCTYPE html>

gesetzt, Standard ist doch:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@SvePu
htmldoctype wurde entsprechend Deinen Hinweis angepasst, erbrachte jedoch keine Veränderung.
@all
StefanT gab den entscheidenden Hinweis.
So wie es aussieht, konnte die Fehlerquelle mit dem Analysetool _parser-debug.php gefunden werden! Smile

Im Template ohne Gruppe > smile war wie folgt gegeben:
Code:
<img src="{$smilie['image']}"alt="{$smilie['name']}" title="{$smilie['name']}" class="smilie smilie_{$smilie['sid']}{$extra_class}"{$onclick} />
geändert zu:
Code:
<img src="{$smilie['image']}" alt="{$smilie['name']}" title="{$smilie['name']}" class="smilie smilie_{$smilie['sid']}{$extra_class}"{$onclick} />
und schon hat es wieder funktioniert.

Sieht man genau hin, stellt man fest dass die Ursache lediglich ein fehlende Leerzeichen war!
Inkorrekt: "{$smilie['image']}"alt="{$smilie['name']}"
Leerzeichen eingefügt und schon wird alles korrekt angezeigt. Kleine Ursache mit großer Wirkung.
Korrekt: "{$smilie['image']}"Leerzeichenalt="{$smilie['name']}" war.

Besten Dank an Alle welche sich mit ihrem Engagement mit der Problematik beschäftigt haben.
Na das ist schon sehr fies, aber schön dass du den Fehler gefunden hast.
Seiten: 1 2 3 4 5 6 7 8