Re: PHP Cached Templates
| From: | William Moore | Date: | Fri, 03 Sep 2004 01:16:45 +0000 |
| Subject: | Re: PHP Cached Templates | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195666@lists.php.net to get a copy of this message | ||
On Tue, 31 Aug 2004 16:24:19 -0400, rogue <rogue@rightcode.net> wrote:
> Sorry if this is the wrong place for this post. I am having problems
> where PHP templates that I modify via ftp are not showing changes for
> like 1 minute or so. I assume this is some kind of server caching but I
> am not sure how to adjust this (it is my development server). Running
> Apache server.
I would recommend checking your access and error logs to make sure
Apache is really getting your request. I've run into some nasty
bugs/code in the past where I could not figure out what was going on
and it had turned out that apache was core dumping when ever I tried
pulling up the page. I was not getting any errors, but it appeared
that the page was not updating. I was able to use die("BLAHBLAH ".
__FILE__ .":". __LINE__) statements in the code to find out where the
problem was occurring. I started from the top and worked my way down
the page until I found the trouble spot.
If you try to pull up your page and neither your access_log, or
error_log file show anything for that request then you can be pretty
certain that your request is getting intercepted somewhere.
-William