Results 1 to 2 of 2

Thread: php.ini - display_errors

  1. #1
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts

    php.ini - display_errors

    I'm getting the mb_strstr() warning a fair bit when using egroupware software (all aspects totally up to date). As I understand it, it's not serious and so I'd just like to disable the display of error messages e.g....

    Warning: mb_strstr() [function.mb-strstr]: Empty delimiter. in /var/www/localhost/htdocs/egroupware/phpgwapi/inc/class.html.inc.php on line 117

    Now, I've tried setting the display_errors line of php.ini to Off but it's not working (I've restarted apache as well). The site (egroupware) does not have it's own specific php.ini so it can't be getting in the way.

    Any ideas?

    Ta!

  2. #2
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: php.ini - display_errors

    Welcome to a great example of why PHP is terrible language and why all who proliferate its use should be shot. (or given c# books, but i think the former is cheaper).

    try putting a

    error_reporting(0);

    at the top of the class.html.inc.php line and see if that fixes it.

    also which version of PHP your running? You might find a later one generates (correctly) this warning, while older ones don't.
    throw new ArgumentException (String, String, Exception)

  3. Received thanks from:

    Raz316 (04-09-2007)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •