bugSavane - Bugs: bug #280, PHP Warnings when commenting a...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #280: PHP Warnings when commenting a support request

Submitted by:  Sylvain Beucler <beuc>
Submitted on:  Wed 25 Feb 2004 10:09:26 AM UTC  
 
Category: Web FrontendStatus: Fixed
Severity: 1 - WishPriority: C - Normal
Assigned to: Mathieu Roy <yeupou>Open/Closed: Closed
Release: =< 1.0.2Planned Release: 1.0.3
Reproducibility: NonePrivacy: Public

(Jump to the original submission Jump to the original submission)

Sun 14 Mar 2004 06:42:15 PM UTC, comment #8:
[CONFIRM]

Ok, fixed in the cvs.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Sat 13 Mar 2004 05:22:39 PM UTC, comment #7:

It seems it not fixed; here is what I get:

Warning: fopen("", "r") - Succès in /usr/src/savane/frontend/php/include/trackers/general.php on line 1024

Warning: Cannot add header information - headers already sent by (output started at /usr/src/savane/frontend/php/include/trackers/general.php:1024) in /usr/src/savane/frontend/php/include/Layout.class on line 124

and then:

Commentaire ajouté [#1]; Document non-joint : impossible de l'ouvrire (échec de fopen) [#2]; Courriel envoyé à beuc --à-- beuc --point-- net [#3]; Courriel envoyé à yeupou --à-- coleumes --point-- org [#4]; Courriel envoyé à savane-dev [#5]; Mise-à-jour envoyée [#6];

I used Mozilla 0.9.9 (this is an old laptop). Be sure to try with a non-priviledged user, ie not part of the Savane team or project. You can try to get my identity for the test if you want (you may do so by temporarily replacing my password in the database with yours).

Sylvain Beucler <beuc>
Project Administrator
Sat 13 Mar 2004 05:17:23 PM UTC, comment #6:

I did not hope to fix it at savannah.gnu.org, I just wanted to report it for Savane.
With this post, I will try the bug yet another time. If I do not reply again, then I will not have received any warning, and this bug item can be closed.

Sylvain Beucler <beuc>
Project Administrator
Sat 13 Mar 2004 04:12:53 PM UTC, comment #5:
[INFO NEEDED]

Hum, unfortunately, it a bit hard to tell if the bug is not fixed already (that would explain why I'm unable to reproduce it), since you run a version unclearly identified.

Maybe you could you try to update the tracker codebase (frontend/php/include/trackers and frontend/php/include/trackers_run) with the CVS, and see if it still occurs. But I'm afraid it could break your installation, because stuff in these directories depends on the reste of the frontend/php/include/directory.

I now that I fixed a bug related to that problem, that was due to some browser strangely trying to send a file if the "attach file" button has been touched (even if no file was selected).

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Wed 25 Feb 2004 11:58:46 AM UTC, comment #4:

It did it again. I forgot to add I also get this Savane (!= PHP) warning:

Commentaire ajouté [#1]; Document non-joint : impossible de l'ouvrire (échec de fopen) [#2];

Sylvain Beucler <beuc>
Project Administrator
Wed 25 Feb 2004 11:57:34 AM UTC, comment #3:

This.
Add a comment, I meant.

Sylvain Beucler <beuc>
Project Administrator
Wed 25 Feb 2004 11:28:03 AM UTC, comment #2:
[INFO NEEDED]

Hum, I have no clear idea about the meaning of "commenting" a support request. What is it exactly?

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Wed 25 Feb 2004 10:13:29 AM UTC, comment #1:

Please also check this support request, which is about the same issue:
https://savannah.gnu.org/support/index.php?func=detailitem&item_id=102779

Sylvain Beucler <beuc>
Project Administrator
Wed 25 Feb 2004 10:09:26 AM UTC, original submission:

There is a warning when commenting a support request, and it seems it only happens with a non-privileged user. It also seems the PHP script tries to open an uploaded file even if there was no uploaded attachment:

=====
Warning: fopen("", "r") - Succès in /usr/src/savane/frontend/php/include/trackers/general.php on line 1024

Warning: Cannot add header information - headers already sent by (output started at /usr/src/savane/frontend/php/include/trackers/general.php:1024) in /usr/src/savane/frontend/php/include/Layout.class on line 124
=====

More information here:
https://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=7717

Sylvain Beucler <beuc>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by yeupou (Updated the item)
  • -unavailable- added by beuc (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 14 Mar 2004 06:42:15 PM UTCyeupouStatusWorks For Me=>Fixed
      Open/ClosedOpen=>Closed
      Release1.0.0=>=< 1.0.2
      Planned Release=>1.0.3
    Sat 13 Mar 2004 04:12:53 PM UTCyeupouStatusNone=>Works For Me
      Assigned toNone=>yeupou
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup