Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

Fatal error when viewing posts

Hello all,
When I either try to create or view a post I get this fatal error message

The text in the box says

984:         // If we couldn't find a charset above, then lets try to detect one based on the text we got...

985:         if (empty($charset))

986:         {

987:             // Have php try to detect the encoding from the text given to us.

988:             $charset = mb_detect_encoding($this->root->plaintext . "ascii", $encoding_list = array( "UTF-8", "CP1252" ) );

989:             if (is_object($debugObject)) {$debugObject->debugLog(2, 'mb_detect found: ' . $charset);}

990: 

991:             // and if this doesn't work...  then we need to just wrongheadedly assume it's UTF-8 so that we can move on - cause this will usually give us most of what we need...

992:             if ($charset === false)

Someone please help me

Sign In or Register to comment.