time to upgrade - php 5.1.6 had serious bugs IIRC Cliff Hirsch wrote: > > On 7/20/07 10:06 AM, "Ben Sgro (ProjectSkyLine)" <[EMAIL PROTECTED]> > wrote: > >> Hello, >> >> What are these types of "crashes"..what exactly is happening? >> >> What OS are you using .. version? Which PHP/Apache versions are you >> using? >> >> Infinite loops may cause you to have to restart apache. >> I'm curious what you mean by "crash"... >> >> Can you post some sampe code that's crashing apache. >> >> - Ben >> > Windows XP, XAMPP 1.5.5 (PHP 5.1.6, MySQL 5.0.24a) > > I traced the crash to my error handler routine. > > The first error a missing method -- is captured as indicated below: > > Error number: 8 > Error type: e_notice > TEXT: Undefined variable: method > LOCATION: C:\Program > Files\xampp\htdocs\kerbeaz\business_objects\admintasks.php, line 299, at > July 20, 2007, 10:17 am > Showing backtrace: > FilterRecordSet.ValidateForm() # line 266, file: C:\Program > Files\xampp\htdocs\kerbeaz\business_objects\admintasks.php > FilterRecordSet.Init(false) # line 165, file: C:\Program > Files\xampp\htdocs\kerbeaz\business_objects\admintasks.php > AdminTasks.DisplayTasks() # line 227, file: C:\Program > Files\xampp\htdocs\kerbeaz\business_objects\admintasks.php > AdminTasks.DefaultPage() # line 65, file: C:\Program > Files\xampp\htdocs\kerbeaz\business_objects\admintasks.php > AdminTasks.init() # line 43, file: C:\Program > Files\xampp\htdocs\kerbeaz\admin.php > > The second error an undefined variable is picked up as indicated > below: > > errorno 8, undefined variable min, file admintasks, line 299 > > But then when my error handler tries to build the error backtrace like > that > shown above, this line crashes Apache: > $traceArr = debug_backtrace(); > > That¹s where I¹m stuck I can¹t dig any deeper, since debug_backtrace() > is > a native php function. > > Cliff > > _______________________________________________ > New York PHP Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > NYPHPCon 2006 Presentations Online > http://www.nyphpcon.com > > Show Your Participation in New York PHP > http://www.nyphp.org/show_participation.php >
-- View this message in context: http://www.nabble.com/On-errors%2C-PHP-crashes-Apache-tf4117300.html#a11712399 Sent from the NYPHP-Talk mailing list archive at Nabble.com. _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php