Re: cache class

From: Date: Tue, 22 Mar 2005 20:18:17 +0000
Subject: Re: cache class
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-211320@lists.php.net to get a copy of this message
I usually encounter this when there's an error of some sort. Tail your error log and see if the apache child thread is seg faulting (if you're using httpd). The web server may still be up, but your code is causing the particular connection to fail. Because the connection just dies, the browser never receives any content, and so never changes what's on screen. Look for scoping issues: i.e., accessing a singleton from an aggregate object's constructor (before the singleton has been instantiated). Alternatively, comment out everything but the first few lines, and start uncommenting more and more until it stops working all together. As a good test, try this: <?php [...trial code...] echo 'test run finished'; exit; /* [...unknown code...] */ ?> Hope this helps, Jeremy Mister Jack wrote:
Hi, I'm having a bit of a problem. I include a class in my script, the first time run fine, and then if I change anything in my class, changes are not reflected on the browser, it's like it's still the old class which is used. I've cleared the browser cache, force a pragma no-cache, but no, nothing do the trick. even if I do "return;" at the beginning of the method I called, it doesn't work... does someone have a clue about what is going on ?


« previous php.general (#211320) next »