You are here: Re: cache class « PHP « IT news, forums, messages
Re: cache class

Posted by Jeremiah Fisher on 10/04/97 11:11

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 ?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация