Document Contains no Data...

From: Date: Tue, 04 Feb 2003 16:20:06 +0000
Subject: Document Contains no Data...
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7505@lists.php.net to get a copy of this message
I've been using smarty quite successfully on several different projects, but I've run into a problem that has me absolutely stumped. I have a guestbook that I'm writing, nothing that exciting, with a smilies features that takes text like :happy: and turns it into a smiley face image This is done with php code in a class, not with smarty, and then returned and assigned to a smarty variable. Works just jim dandy most of the time. Now, when you put more than 10 smilies in a message, something weird happens. I get a "document contains no data" message If I check the cache, the cache file was created just fine, but nothing is shown in the browser. If I echo out the smarty object, all the information is where it's supposed to be - the text is assigned properly, the smilies are inserted properly. If I turn caching off something even stranger happens. Only the first half of the page is shown, stopping just before the area where the text with smilies would be displayed...this is so weird... Anyone have any ideas on my disappearing page? I'm using smarty 2.4.0 on redhat 8 with php 4.2.2 as an apache 2 filter. Maybe I'll try downgrading smarty and see if the problem still happens... Elizabeth Andersen

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