On Fri, 2006-09-08 at 00:05 -0500, Larry Garfield wrote: > I'm not certain if this is a PHP problem per se, but as the problem manifests > itself in PHP I'll give it a go. > > I've a PHP-based CMS for a site that I am maintaining. It's a large site with > a few thousand pages. Most of them work fine. However, twice now we've run > into a problem where a specific page will exhibit very odd behavior. > > When building the page, the script will seemingly terminate after it outputs > about 4 KB of data. It's not exactly 4 KB, but it's always about 4 KB of > data. If I add debugging information to the page, it will still stop at > about 4 KB of data, which is then less "real" output. > > The damned thing is, the 4KB mark is reached while outputting the left-side > navigation bar. The way the CMS is structured (I didn't write it), that > happens before any page-specific content is even loaded. There shouldn't be > anything different about the code there yet. > > I've been unable to figure out why it happens. Any idea what to check? I'm > stumped. > > The server itself is (get this) a Windows/IIS box running PHP 4.0.6 (yes, > really) and MS SQL server via ODBC. I unfortunately do not have direct > access to the box, so I can't check server logs myself. Binary search using error_log() and __LINE__ output to track down where the thing dies. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php