phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #5468] phpGroupware depends on error reporti


From: nobody
Subject: [Phpgroupware-tracker] [bug #5468] phpGroupware depends on error reporting = E_ALL ~E_NOTICE
Date: Mon, 22 Sep 2003 04:57:59 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030908 Galeon/1.3.9

=================== BUG #5468: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5468&group_id=509

Submitted by: meebey                  Project: phpGroupWare                 
Submitted on: Mon 09/22/03 at 10:57
Category:  None                       Bug Group:  0.9.16RC1                 
Severity:  5 - Major                  Priority:  High                       
Resolution:  None                     Assigned to:  None                    
Status:  Open                         Component Version:  None              
Platform Version:  Linux - Debian     Reproducibility:  Every Time          

Summary:  phpGroupware depends on error reporting = E_ALL ~E_NOTICE

Original Submission:  I get alots of notices about undefined variables, those 
are that much that I believe phpGroupware was never tested with proper error 
reporting level...



For example the setup page, there I get:



Notice: Undefined index: FormDomain in 
/www/groupware-test.gsd-software.net/htdocs/phpgwapi/inc/class.setup.inc.php on 
line 56



Notice: Undefined property: Link_ID in 
/www/groupware-test.gsd-software.net/htdocs/phpgwapi/inc/class.db_mysql.inc.php 
on line 454



Notice: Undefined property: Link_ID in 
/www/groupware-test.gsd-software.net/htdocs/phpgwapi/inc/class.db_mysql.inc.php 
on line 51



Notice: Undefined property: Query_ID in 
/www/groupware-test.gsd-software.net/htdocs/phpgwapi/inc/class.db_mysql.inc.php 
on line 130



Sometimes those notices are harmless, but often they show problems in the code 
flow.. I found one in "phpgwapi/inc/class.setup.inc.php"

on line 809 (that if() in the get_hooks_table_name() function)

it tries to use $setup_info[] but there is no global for that array neither its 
a parameter...



please fix those unnice code things.. just use error_reporting(E_ALL); and you 
will find all problems.







No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5468&group_id=509

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]