Jump to content

Browser is displaying PHP code instead of design. What is cause of this?


slaterino

Recommended Posts

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

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.