Re: cache class

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

 



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 ?

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux