Urgent Help Needed
3 posts by 2 authors in: Forums > CMS Builder
Last Post: January 3, 2010 (RSS)
Hi Guys
We installed CMS Builder on a clients site a few weeks ago and everything was working ok, however when we checked his site now we see no content is on the pages
we get the following for each page, we have not modified any code at all , the content just disappeared.
First page
testimonials', 'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); $testimonialsRecord = @$testimonialsRecords[0]; // get first record ?>
Second Page
'free_gifts', )); ?>
[font "Verdana"]Gift Item[/#9b2675][font "Verdana"] :
[font "Verdana"]
[font "Verdana"]Third page
'faq_page', 'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); $faq_pageRecord = @$faq_pageRecords[0]; // get first record ?>
No record found!
Thanks
GB
[font "Verdana"]
We installed CMS Builder on a clients site a few weeks ago and everything was working ok, however when we checked his site now we see no content is on the pages
we get the following for each page, we have not modified any code at all , the content just disappeared.
First page
testimonials', 'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); $testimonialsRecord = @$testimonialsRecords[0]; // get first record ?>
Second Page
'free_gifts', )); ?>
[font "Verdana"]Gift Item[/#9b2675][font "Verdana"] :
[font "Verdana"]
[font "Verdana"]Third page
'faq_page', 'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); $faq_pageRecord = @$faq_pageRecords[0]; // get first record ?>
No record found!
Thanks
GB
[font "Verdana"]
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!
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
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):
2) If that doesn't fix it, create a test file called phpinfo.php with this content:
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.
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
interactivetools.com