Urgent Help Needed

3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 3, 2010   (RSS)

Re: [GB39CA] Urgent Help Needed

By Dave - January 2, 2010

Hi GB39CA,

That looks like PHP code. If you can see that in the browser it probably means:

- The file got damaged (in a server move or re-upload)
- If you are using a extension other than .php then your .htaccess file may have be overwritten.

Can you attach one of your viewer files to the thread so we can take a look.

If nothing has changed and you have a backup of the site I'd recommend making another backup, and then uploading your last backup. It really does sounds like those files got modified somehow.

Hope that helps, let me know what you find out!
Dave Edis - Senior Developer
interactivetools.com

Re: [GB39CA] Urgent Help Needed

By Dave - January 3, 2010

Hi GB,

Try this:

1) Try removing the comment (#) from this line in the .htaccess (remove code in red):
# Addhandler application/x-httpd-php .html .php

2) If that doesn't fix it, create a test file called phpinfo.php with this content:
<?php phpinfo(); ?>

When you access phpinfo.php in your browser you should see pages of details about how php is configured. If you don't, or if the screen is blank (and viewing source shows that code) it means PHP isn't working on the server and you should email your webhost with:

"Hello, PHP doesn't seem to be working on my server. I created this test script here (insert url to phpinfo.php) and it won't run. Can you take a look and fix this? Thanks!"

Hope that helps! Let me know what happens.
Dave Edis - Senior Developer
interactivetools.com