slaterino Posted July 20, 2008 Share Posted July 20, 2008 I have created a CMS image gallery which I am having one problem with. Sometimes when in the admin side of the site, after uploading an image or modifying various areas the page is loading up as code instead of the actual design. When this happens, this code is before the page code: // HTTP/1.1 200 OK Date: Sun, 20 Jul 2008 15:36:46 GMT Server: Apache/2 X-Powered-By: PHP/4.4.8 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=15, max=93 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html 134f // and there is always a 0 at the bottom of the page, following the </html> command. The URL of the page will always be the name of the php file followed by the specific area that wants to be viewed, for example '?page=album-detail&alId=7.' Does anyone know what causes this to happen? Thanks Russ Link to comment https://forums.phpfreaks.com/topic/115707-browser-is-displaying-php-code-instead-of-design-what-is-cause-of-this/ Share on other sites More sharing options...
teynon Posted July 20, 2008 Share Posted July 20, 2008 I'd have to see your code. It looks like something is triggering a developer output so he can view the headers. Which is exactly what its doing, outputting the page headers. Link to comment https://forums.phpfreaks.com/topic/115707-browser-is-displaying-php-code-instead-of-design-what-is-cause-of-this/#findComment-594860 Share on other sites More sharing options...
cooldude832 Posted July 20, 2008 Share Posted July 20, 2008 It could be error and this is a custom error report so check your error logs or its timing out giving a custom 408 error Link to comment https://forums.phpfreaks.com/topic/115707-browser-is-displaying-php-code-instead-of-design-what-is-cause-of-this/#findComment-594861 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.