|
Posted by Mister Jack on 10/16/36 11:11
Many thanks for all the answers.
I've checked that I was saving the right file (I even think about it
!), and even if I'm using Templeet (sort of smarty http://templeet.org
) i've disabled all cache, and this code is only PHP not
template-language.
I've checked the error.log, and it just said that the file does not
exists (which is normal, the page is generated when it's missing, by
Templeet, thus proving it's not using a cache). Now, i've put the
class definition inside by PHP file, (I do not include it anymore with
include ''), and it just hang with the error.log saying that it
exhausted all memory.
On Tue, 22 Mar 2005 15:18:17 -0500, Jeremiah Fisher
<thisisroot@gmail.com> wrote:
> 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
>
>
[Back to original message]
|