1
Burning
Content 1.25 RC - Blank page with Xoops 2.4.5
  • 2010/9/26 20:32

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Issue : impossible to display content pages because of this fatal error.
Quote:
Fatal error: Call to undefined function mb_internal_encoding() in C:\wamp\www\xxx\yyy\modules\content\class\autokeyword.php on line 72


It means there is a trouble with this line :
Quote:

mb_internal_encoding($encoding);


Full function is
function autokeyword($params$encoding)
    {
        
//get parameters
        
$this->encoding $encoding;
        
mb_internal_encoding($encoding);
        
$this->contents $this->replace_chars($params['content']);

        
// single word
        
$this->wordLengthMin $params['min_word_length'];
        
$this->wordOccuredMin $params['min_word_occur'];

        
// 2 word phrase
        
$this->word2WordPhraseLengthMin $params['min_2words_length'];
        
$this->phrase2WordLengthMin $params['min_2words_phrase_length'];
        
$this->phrase2WordLengthMinOccur $params['min_2words_phrase_occur'];

        
// 3 word phrase
        
$this->word3WordPhraseLengthMin $params['min_3words_length'];
        
$this->phrase3WordLengthMin $params['min_3words_phrase_length'];
        
$this->phrase3WordLengthMinOccur $params['min_3words_phrase_occur'];

        
//parse single, two words and three words

    
}


Environment :
• Xoops 2.4.5
• PHP 5.2.0
• PhpMyAdmin 5.1.36


If someone has already resolved this issue, it would be very welcome. Thanks in advance.
Still learning CSS and... english

2
Burning
Re: Content 1.25 RC - mbstring extension needed
  • 2010/9/26 20:45

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


... ok, just a little misconfiguration into my php.ini.

To make Content 1.25 RC works in a local environment, it seems we have to activate mbstring extension (not the case per default with wampserver) :

Quote:
[mbstring]
mbstring.language = all
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.http_output = UTF-8
mbstring.encoding_translation = On
mbstring.detect_order = UTF-8
mbstring.substitute_character = none;
mbstring.func_overload = 0
mbstring.strict_encoding = Off
Still learning CSS and... english

3
anishikp
Re: Content 1.25 RC - Blank page with Xoops 2.4.5
  • 2010/9/27 6:00

  • anishikp

  • Just popping in

  • Posts: 1

  • Since: 2010/9/27


I had experience with this issues for almost 2 days now. Thanks for posting a solution at hand.

Login

Who's Online

419 user(s) are online (310 user(s) are browsing Support Forums)


Members: 0


Guests: 419


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits