phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [bug #5878] calendar does not show


From: nobody
Subject: [Phpgroupware-tracker] [bug #5878] calendar does not show
Date: Fri, 31 Oct 2003 03:29:51 -0500
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)

=================== BUG #5878: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5878&group_id=509

Changes by: Samuel Ballé <address@hidden>
Date: ven 31.10.2003 à 08:29 (GMT)

------------------ Additional Follow-up Comments ----------------------------
Bug is linked to php and not to phpgroupware. 

Newer versions solve the crash



=================== BUG #5878: FULL BUG SNAPSHOT ===================


Signalé par: sballe                   Projet: phpGroupWare                  
Signalé le: sam 11.10.2003 à 23:08
Category:  calendar                   Bug Group:  0.9.14 release            
Severity:  5 - Major                  Priority:  Normal                     
Resolution:  None                     Assigned to:  skeeter                 
Status:  Open                         Component Version:  CVS               
Platform Version:  Linux - RedHat     Reproducibility:  Every Time          

Summary:  calendar does not show

Original Submission:  after a few uses, calendar stopped working simply having 
absolutly no output.

I figured after step by step debug that in class.socalendar_sql.inc.php line 
125, instruction 
$this->add_attribute('reference',intval($this->stream->f('reference'))); is the 
cause. second parameter resolve to 0 in the hanging case.

I just commented the line and the application works for now but I do not see 
further how to patch better.

Follow-up Comments
*******************

-------------------------------------------------------
Date: ven 31.10.2003 à 08:29        By: sballe
Bug is linked to php and not to phpgroupware. 

Newer versions solve the crash

-------------------------------------------------------
Date: ven 17.10.2003 à 15:42        By: sballe
I thorougly checked everything and found a way to make it work but I am sure it 
has side effects.

I looked httpd logs and without this patch, some strings make php crash the 
httpd process.



It is not linked to calendar directly but as the bug never showed in other 
sections...



file phpgwapi/inc/class.phpgw.inc.php

function strip_html($s)

{

 if(strlen($s)>0)$s.=" "; //added line !!

 return htmlspecialchars(stripslashes($s));

}



-------------------------------------------------------
Date: ven 17.10.2003 à 15:41        By: sballe
I thorougly checked everything and found a way to make it work but I am sure it 
has side effects.

I looked httpd logs and without this patch, some strings make php crash the 
httpd process.



It is not linked to calendar directly but as the bug never showed in other 
sections...



file phpgwapi/inc/class.phpgw.inc.php

function strip_html($s)

{

 if(strlen($s)>0)$s.=" "; //added line !!

 return htmlspecialchars(stripslashes($s));

}



-------------------------------------------------------
Date: mar 14.10.2003 à 17:38        By: sballe
I started to use the calendar for real usage. In fact calendar still do not 
show for groups AND for all personnal events. I can see only PRIVATE events.

Apache is 2.0.40 

PHP is 4.2.2 

PostgreSQL is 7.2.2

-------------------------------------------------------
Date: dim 12.10.2003 à 01:49        By: skwashd
I found this in the 14 branch.



I have discovered that sometimes the reference field is populated with 
something other than 0 - although i am not sure what it does.  From what I have 
seen it seems to relate to repeat events.  I will allocate it to the calendar 
maintainer for further investigation.

-------------------------------------------------------
Date: sam 11.10.2003 à 23:36        By: sballe
I checked options for all users to see the bug.

It is one user who makes calendar hang for all users when he accesses his 
calendar.



I have to stop apache and restart it or logout user to make calendar work again.



I changed his preferences for calendar filter from "all" to "private only" and 
the calendar does not hang anymore.

I tried to put back filter to "all" and the calendar hanged again.

In fact, the calendar hangs when you want to see it for a group.



I turned back the line from class.socalendar_sql.inc.php and it is still 
working.




La liste CC est vide


Il n'y a aucun fichier attaché actuellement


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

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





reply via email to

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