Author Topic: Error in document description  (Read 2540 times)

gman

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Error in document description
« on: April 28, 2009, 05:09:57 pm »
When viewing properties for files I sometimes receive the following error:

Fatal error: Call to undefined function mb_detect_encoding() in D:\websetup\basePHP\opengoo\application\controllers\FilesController.class.php on line 1865

This occurs in an area of the window with an expand button? I haven't noticed this before. Is this a new feature in which you are attempting to show a preview of certain file types?

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: Error in document description
« Reply #1 on: April 30, 2009, 05:02:53 pm »
Hi,

That happens because you don't have the php extension "mb_string" that contains the "mb_detect_encoding" function.

We made a fix for next release, for those who doesn't have this extension. This will avoid getting this error, but does not ensure that the texts in documents will always be correctly displayed.

gman

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Error in document description
« Reply #2 on: May 01, 2009, 01:02:56 pm »
Thanks for the information. I enabled the mb_string extension and no more error.