Bug#335596: flyspray: Undefined index errors
tag 335596 + pending thanks Le Mar 25 Octobre 2005 17:18, Nelson A. de Oliveira a écrit : On 10/25/05, Pierre Habouzit [EMAIL PROTECTED] wrote: On PHP config file and also on flyspray config file, there is a line saying to don't display notice messages. I even restarted Apache (thinking maybe apache didn't see the new config), but without sucess. I don't know what could be wrong :-/ I don't know either. but the warning you have are definitely Notices (see their prefix). what do you use for php ? php4 or 5 ? mod_php or cgi ? apache or apache2 ? I am using mod_php (package libapache-mod-php4 version 4.4.0-4), php4 (4.4.0-4) and apache (1.3.33-8). for mod_php4 with apache2 the directory for php.ini is /etc/php4/apache2/php.ini. and then you must *RESTART* apache to take the modifications into account. I already verified the config file (it was OK) and even restarted apache, but notices are still there. the bug lies in flyspray and has been found recently. corrected package should follow quickly -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgp9dVsnM33cc.pgp Description: PGP signature
Bug#335596: flyspray: Undefined index errors
Le Mar 25 Octobre 2005 03:49, Nelson A. de Oliveira a écrit : Hi! On 10/24/05, Pierre Habouzit [EMAIL PROTECTED] wrote: Notice: Undefined index: open_new_tasks in /usr/share/flyspray/htdocs/scripts/newtask.php on line 12 Notice: Undefined index: modify_all_tasks in /usr/share/flyspray/htdocs/scripts/newtask.php on line 127 upstream does not support flyspray without notices. you have to setup your php so that php has its error_reporting set to E_ALL ^ E_NOTICE. I'll let the bug open and force it into the flyspray apache.conf so that the bug won't show up again. but you can fix it yourself either : * setting up the right confing in /etc/php4/*/php.ini * or adding into /etc/flyspray/apache.conf : php_value error_reporting 2039 2039 == E_ALL (~E_NOTICE) see http://php.net/error_reporting Thank you for your quick reply. However, it still is not working. On /etc/php4/apache/php.ini and /etc/php4/cli/php.ini there is: ; - Show all errors except for notices ; error_reporting = E_ALL ~E_NOTICE I didn't changed any of those files. They already had that line. I added php_value error_reporting 2039 to /etc/flyspray/apache.conf too, but the notices are still there. On PHP config file and also on flyspray config file, there is a line saying to don't display notice messages. I even restarted Apache (thinking maybe apache didn't see the new config), but without sucess. I don't know what could be wrong :-/ I don't know either. but the warning you have are definitely Notices (see their prefix). what do you use for php ? php4 or 5 ? mod_php or cgi ? apache or apache2 ? for mod_php4 with apache2 the directory for php.ini is /etc/php4/apache2/php.ini. and then you must *RESTART* apache to take the modifications into account. -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpPwKrwaoGgw.pgp Description: PGP signature
Bug#335596: flyspray: Undefined index errors
Le Mar 25 Octobre 2005 17:18, Nelson A. de Oliveira a écrit : On 10/25/05, Pierre Habouzit [EMAIL PROTECTED] wrote: On PHP config file and also on flyspray config file, there is a line saying to don't display notice messages. I even restarted Apache (thinking maybe apache didn't see the new config), but without sucess. I don't know what could be wrong :-/ I don't know either. but the warning you have are definitely Notices (see their prefix). what do you use for php ? php4 or 5 ? mod_php or cgi ? apache or apache2 ? I am using mod_php (package libapache-mod-php4 version 4.4.0-4), php4 (4.4.0-4) and apache (1.3.33-8). for mod_php4 with apache2 the directory for php.ini is /etc/php4/apache2/php.ini. and then you must *RESTART* apache to take the modifications into account. I already verified the config file (it was OK) and even restarted apache, but notices are still there. this is *really* odd could you hack for the sake of the test e.g. /usr/share/flyspray/htdocs/index.php make it begin with : ?php echo error_reporting(); exit; ? and tell me what number it says. thanks -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpo1tjdgwJBx.pgp Description: PGP signature
Bug#335596: flyspray: Undefined index errors
On 10/25/05, Pierre Habouzit [EMAIL PROTECTED] wrote: On PHP config file and also on flyspray config file, there is a line saying to don't display notice messages. I even restarted Apache (thinking maybe apache didn't see the new config), but without sucess. I don't know what could be wrong :-/ I don't know either. but the warning you have are definitely Notices (see their prefix). what do you use for php ? php4 or 5 ? mod_php or cgi ? apache or apache2 ? I am using mod_php (package libapache-mod-php4 version 4.4.0-4), php4 (4.4.0-4) and apache (1.3.33-8). for mod_php4 with apache2 the directory for php.ini is /etc/php4/apache2/php.ini. and then you must *RESTART* apache to take the modifications into account. I already verified the config file (it was OK) and even restarted apache, but notices are still there. -- Nelson A. de Oliveira
Bug#335596: flyspray: Undefined index errors
Hi! On 10/25/05, Pierre Habouzit [EMAIL PROTECTED] wrote: I already verified the config file (it was OK) and even restarted apache, but notices are still there. this is *really* odd could you hack for the sake of the test e.g. /usr/share/flyspray/htdocs/index.php make it begin with : ?php echo error_reporting(); exit; ? and tell me what number it says. It printed 2039. 2039 is the right number, right? However it isn't working. Could it be a bug on PHP4? Thank you! -- Nelson A. de Oliveira
Bug#335596: flyspray: Undefined index errors
Le Mar 25 Octobre 2005 19:22, Nelson A. de Oliveira a écrit : Hi! On 10/25/05, Pierre Habouzit [EMAIL PROTECTED] wrote: I already verified the config file (it was OK) and even restarted apache, but notices are still there. this is *really* odd could you hack for the sake of the test e.g. /usr/share/flyspray/htdocs/index.php make it begin with : ?php echo error_reporting(); exit; ? and tell me what number it says. It printed 2039. 2039 is the right number, right? However it isn't working. Could it be a bug on PHP4? according to http://fr.php.net/error_reporting it should, since E_NOTICE is 8, and 2039 + 8 = 2047 maybe you should disable E_USER_* too. please retry with setting : E_ERROR | E_WARNING | E_PARSE meaning 1 | 2 | 4 == 7 but i may be a PHP4 problem, and in that case, we should think reassign that bug. I'm sorry to confess I've no time to investigate this atm. -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpwJx43tS2cA.pgp Description: PGP signature
Bug#335596: flyspray: Undefined index errors
Package: flyspray Version: 0.9.8-1 Severity: normal Hi! Today I have upgraded to version 0.9.8 perfectly. It's working OK. However, when I click on Open a new Task anonymously, I see two warning messages: Notice: Undefined index: open_new_tasks in /usr/share/flyspray/htdocs/scripts/newtask.php on line 12 Notice: Undefined index: modify_all_tasks in /usr/share/flyspray/htdocs/scripts/newtask.php on line 127 You can see this by accessing http://biolinux.df.ibilce.unesp.br/bugs/ and clicking on Open a new Task anonymously. This wasn't happening on previous version. Thank you Nelson -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.13-rc5-mm1 Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to pt_BR) Versions of packages flyspray depends on: ii apache [httpd]1.3.33-8 versatile, high-performance HTTP s ii debconf [debconf-2.0] 1.4.58 Debian configuration management sy ii libapache-mod-php4 [phpapi-20 4:4.4.0-4 server-side, HTML-embedded scripti ii libphp-adodb 4.64-4 The 'adodb' database abstraction l ii php4-cli [phpapi-20050606]4:4.4.0-4 command-line interpreter for the p ii php4-mysql4:4.4.0-4 MySQL module for php4 ii ucf 2.003 Update Configuration File: preserv ii wwwconfig-common 0.0.44 Debian web auto configuration Versions of packages flyspray recommends: pn graphviz none (no description available) -- debconf information: * flyspray/databasemgr_type: MySQL * flyspray/welcome: * flyspray/database_upgrade: flyspray/webuser: www-data * flyspray/database_name: flyspray flyspray/webgroup: www-data flyspray/database_downgrade: * flyspray/database_user: flyspray * flyspray/purge_removes_data: false flyspray/cookie: jZ * flyspray/dbmyadmin: root * flyspray/webserver_type: Apache * flyspray/databasemgr_server: localhost -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#335596: flyspray: Undefined index errors
Le Lun 24 Octobre 2005 23:15, Nelson A. de Oliveira a écrit : Package: flyspray Version: 0.9.8-1 Severity: normal Hi! Today I have upgraded to version 0.9.8 perfectly. It's working OK. However, when I click on Open a new Task anonymously, I see two warning messages: Notice: Undefined index: open_new_tasks in /usr/share/flyspray/htdocs/scripts/newtask.php on line 12 Notice: Undefined index: modify_all_tasks in /usr/share/flyspray/htdocs/scripts/newtask.php on line 127 You can see this by accessing http://biolinux.df.ibilce.unesp.br/bugs/ and clicking on Open a new Task anonymously. This wasn't happening on previous version. Thank you Nelson upstream does not support flyspray without notices. you have to setup your php so that php has its error_reporting set to E_ALL ^ E_NOTICE. I'll let the bug open and force it into the flyspray apache.conf so that the bug won't show up again. but you can fix it yourself either : * setting up the right confing in /etc/php4/*/php.ini * or adding into /etc/flyspray/apache.conf : php_value error_reporting 2039 2039 == E_ALL (~E_NOTICE) see http://php.net/error_reporting Cheers, -- ·O· Pierre Habouzit ··O[EMAIL PROTECTED] OOOhttp://www.madism.org pgpOyBMsWHD50.pgp Description: PGP signature
Bug#335596: flyspray: Undefined index errors
Hi! On 10/24/05, Pierre Habouzit [EMAIL PROTECTED] wrote: Notice: Undefined index: open_new_tasks in /usr/share/flyspray/htdocs/scripts/newtask.php on line 12 Notice: Undefined index: modify_all_tasks in /usr/share/flyspray/htdocs/scripts/newtask.php on line 127 upstream does not support flyspray without notices. you have to setup your php so that php has its error_reporting set to E_ALL ^ E_NOTICE. I'll let the bug open and force it into the flyspray apache.conf so that the bug won't show up again. but you can fix it yourself either : * setting up the right confing in /etc/php4/*/php.ini * or adding into /etc/flyspray/apache.conf : php_value error_reporting 2039 2039 == E_ALL (~E_NOTICE) see http://php.net/error_reporting Thank you for your quick reply. However, it still is not working. On /etc/php4/apache/php.ini and /etc/php4/cli/php.ini there is: ; - Show all errors except for notices ; error_reporting = E_ALL ~E_NOTICE I didn't changed any of those files. They already had that line. I added php_value error_reporting 2039 to /etc/flyspray/apache.conf too, but the notices are still there. On PHP config file and also on flyspray config file, there is a line saying to don't display notice messages. I even restarted Apache (thinking maybe apache didn't see the new config), but without sucess. I don't know what could be wrong :-/ Thank you again! Nelson