phpgroupware-users
[Top][All Lists]
Advanced

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

Re: [Phpgroupware-users] RE: Problems with Apache Processes


From: Dave Hall
Subject: Re: [Phpgroupware-users] RE: Problems with Apache Processes
Date: Tue, 16 Sep 2003 15:23:12 +1000

Brian Johnson <address@hidden> wrote:

> you might be right
> 
> see if you can find the line that inserts the value in the php code 
> and add a
> intval() with the brackets surrounding the code that is there
> 
> That will force null values to zero so you can test it again
> 

It is a serialised array.  Unfortunately this won't fix it.  The value
would need to be caste before the serialisation. Need to dig a little
deeper to fix it :(

> 
> 
> address@hidden wrote:
> >
> >Dave,
> >I am quite new to php programming, so I hope I'm not being a pest, 
> but, In looking
> >into this a little more I have noticed at in the phpgw_preferences 
> table the values
> >for a normal (working) calendar account look something like 
> "workdaystarts";i:8;>however,
> >on one of the accounts that are causing the problem (because it is 
> set to 00:00
> >hrs) it looks like "workdaystarts";N;
> >
> >My question: is the bug happening because the preference functions 
> are seeing 00:00
> >as a null value, or a no value entry?
> >
> >Dave Hall (address@hidden) wrote:
> >>
> >>address@hidden wrote:
> >>
> >>> While no one should work 24 hours a day, we are a 24/7 
> operation so
> >>> we have people
> >>> scheduled at all times.  Their supervisors like to look at "the
> >>> whole picture".  You
> >>> know how bosses are.  The problem is existant even if they start
> >>> work at 00:00 and
> >>> end at 08:00 hrs.
> >>
> >>Change the rostering ;)
> >>
> >>Ok on a more serious note, I have logged the bug and if people could
> >>contribute to it we will get it fixed for 16 :)
> >>
> >>> Bart
> >>>
> >>> Dave Hall (address@hidden) wrote:
> >>> >
> >>> >Bart Bailey <address@hidden> wrote:
> >>> >
> >>> >> On September 10, 2003 Jorge Izquierdo posted a message about
> >>> >> problems
> >>> >> with the apache processes.  He was experiencing httpd processes
> >>> >> consuming all of the CPU on his system.  I am having a simular
> >>> >> problem.
> >>> >> An associate of mine tracked the problem down to the calendar
> >>> >> program.
> >>> >> It works like this:
> >>> >> In user preferences, if a user selects 00:00 hrs as a 
> workday start
> >>> >> or
> >>> >> work day end, viewing the day view causes the error.  If the 
> start>>> >> preference is changed to 01:00 and the end to 23:00 the 
> problem>>> >> goes
> >>> >> away.  I have tried several different combinations of times, 
> and>>> >> the
> >>> >> problem only seems to arise if 00:00 hrs is selected.
> >>> >
> >>> >Yeah I had a report of this problem also.  It is a boundary 
> condition>>> >bug, which should be fixed.  I think it will take 
> some time track
> >>> down.> I have logged a bug at
> >>> 
>
>http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5324&group_id=509>>> >
> >>> >If people can contribute to tracking it down, then it will
> >>> probably be
> >>> >solved more quickly.
> >>> >
> >>> >I would suggest that no one should really be planning on working
> >>> 24hour>days, but I know it does happen :)
> >>> >
> >>> >>
> >>> >> I have tried this on 4 separate phpGroupWare 0.9.14.006
> >>> >> instalations( 3
> >>> >> with Postgresql and 1 with MySql), all have the same problem.
> >>> >> Additionally, changing the persistant connections in the 
> php.ini>>> >> seems
> >>> >> to have not effect.
> >>> >>
> >>> >> Changing the Forced Preferences doesn't seem to fix the 
> problem if
> >>> >> the
> >>> >> user selects 00:00 as a work time.
> >>> >>
> >>> >> I have looked at the class.uipreferences.php in the calendar
> >>> >> directory,
> >>> >> but I am unsure where to make changes to the code to fix the
> >>> >> problem.
> >>> >> Any help??
> >>> >>
> >>> >>
> >>> >> Thank You,
> >>> >> Bart Bailey
> >>> >>
> >>> >>
> >>> >>
> >>> >> _______________________________________________
> >>> >> Phpgroupware-users mailing list
> >>> >> address@hidden
> >>> >> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
> >>> >>
> >>> >
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Phpgroupware-users mailing list
> >>> address@hidden
> >>> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
> >>>
> >>
> >
> >
> >
> >_______________________________________________
> >Phpgroupware-users mailing list
> >address@hidden
> >http://mail.gnu.org/mailman/listinfo/phpgroupware-users
> >
> 
> --
> Brian Johnson
> * This is where my witty signature line would be if I bothered to 
> edit this line :) *
> 
> 
> 
> 
> _______________________________________________
> Phpgroupware-users mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/phpgroupware-users
> 

Attachment: dave.hall.vcf
Description: Card for <dave.hall@mbox.com.au>


reply via email to

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