Caching/Database Problem

From: Date: Wed, 26 Mar 2003 16:56:44 +0000
Subject: Caching/Database Problem
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8918@lists.php.net to get a copy of this message
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. 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

« previous php.smarty.general (#8918) next »