Debug Mode - Error Logging

Discuss about Group-Office development here

Moderator: Developers

brainbows
Posts: 73
Joined: Tue Jul 01, 2008 10:29 am

Debug Mode - Error Logging

Postby brainbows » Sun May 23, 2010 1:29 pm

Hej,


I've got a problem with the new 3.5.x version in GO (maybe also the 3.4.x but I've upgraded from 3.3 to 3.5).

Within my modules I've some php-warnings and notices and they are displayed in the ErrorDialog of GO. The modules are therefore not working.

How can I change this? I don't want PHP Warnings and Notices not to be displayed in the ErrorDialog. My php.ini is only in logging-mode, not error-display-mode.


all the best,

alejandro
mschering
Site Admin
Site Admin
Posts: 8292
Joined: Tue Apr 20, 2004 1:06 pm
Location: The Netherlands - Den Bosch
Contact:

Re: Debug Mode - Error Logging

Postby mschering » Mon May 24, 2010 9:48 am

In Group-Office.php there is a line:

ini_set('display_errors', 1);

remove that if you don't want them displayed. But you should really fix those errors instead of hiding them!
Best regards,

Merijn Schering
Intermesh

Who is online

Users browsing this forum: No registered users and 1 guest

cron