Re: [SMARTY] Caching/Database Problem
| From: | messju mohr | Date: | Wed, 26 Mar 2003 18:13:39 +0000 |
| Subject: | Re: [SMARTY] Caching/Database Problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8920@lists.php.net to get a copy of this message | ||
On Wed, Mar 26, 2003 at 08:56:44AM -0800, Tracy Rotton wrote:
> Hello all,
>
> I'm having a weird problem trying to cache my database-driven site. Every
> so often, when it comes time for the page to redraw itself, the database
> connection doesn't seem to take and Smarty ends up caching a blank page.
> When I go in and remove the offending page from the cache and then hit it
> again with my browser, it works fine.
>
> The weird thing is this seems to be an intermittent problem which I've never
> been able to recreate it (only seen it happen in the PHP error log). At
> first I thought it might have something to do with bots crawling the site,
> but now I'm not so sure.
maybe we could help, if you share with us what is shown in your error-log,
when this happens.
> I was using my own database wrappers, but I switched to using the PEAR DB
> methods and the problem is still cropping up.
>
> For the record, I'm running PHP 4.1.2 with apache 1.3.23 on Red Hat Linux
> and Smarty version 2.3.1.
>
> Thanks in advance,
> Tracy