index page code error

  • sensitive747
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 09, 2009
  • Posts: 5
  • Status: Offline

Post February 9th, 2009, 6:02 pm

I designed website (from template) nationalvend.us.

I have to re-upload the index page almost every day do keep from defaulting to a place holder page.

Whats wrong with my code? Thanks, Chuck
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 9th, 2009, 6:02 pm

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 09, 2008
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England
  • Status: Offline

Post February 10th, 2009, 4:19 am

can we see the code im not a mind reader! lol
^__^
  • sensitive747
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 09, 2009
  • Posts: 5
  • Status: Offline

Post February 10th, 2009, 10:03 am

the code is:
Code: [ Select ]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0033)http://www.nationalvend.us/ --><!-- BOF: ./personal-templates/show.body --><!-- BOF: ./personal-templates/simple/generic/show --><!-- BOF: ./personal-templates/rtl.html --><!-- Locale=en_US_ISO8859_1 --><!-- EOF: ./personal-templates/rtl.html --><!-- BOF: ./personal-templates/simple/generic/functions --><!-- BOF: ./personal-templates/simple/generic/navbar --><!-- EOF: ./personal-templates/simple/generic/navbar --><!-- EOF: ./personal-templates/simple/generic/functions --><!-- EOF: ./personal-templates/simple/generic/show --><!-- BOF: ./personal-templates/simple/generic/images --><!-- EOF: ./personal-templates/simple/generic/images --><!-- BOF: ./personal-templates/simple/business/other/l11.settings.init --><!-- EOF: ./personal-templates/simple/business/other/l11.settings.init --><!-- BOF: ./personal-templates/simple/business/layout/l11.wait --><!-- EOF: ./personal-templates/simple/business/layout/l11.wait --><HTML><HEAD><TITLE>National Fulfillment</TITLE>
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!-- saved from url=(0033)http://www.nationalvend.us/ --><!-- BOF: ./personal-templates/show.body --><!-- BOF: ./personal-templates/simple/generic/show --><!-- BOF: ./personal-templates/rtl.html --><!-- Locale=en_US_ISO8859_1 --><!-- EOF: ./personal-templates/rtl.html --><!-- BOF: ./personal-templates/simple/generic/functions --><!-- BOF: ./personal-templates/simple/generic/navbar --><!-- EOF: ./personal-templates/simple/generic/navbar --><!-- EOF: ./personal-templates/simple/generic/functions --><!-- EOF: ./personal-templates/simple/generic/show --><!-- BOF: ./personal-templates/simple/generic/images --><!-- EOF: ./personal-templates/simple/generic/images --><!-- BOF: ./personal-templates/simple/business/other/l11.settings.init --><!-- EOF: ./personal-templates/simple/business/other/l11.settings.init --><!-- BOF: ./personal-templates/simple/business/layout/l11.wait --><!-- EOF: ./personal-templates/simple/business/layout/l11.wait --><HTML><HEAD><TITLE>National Fulfillment</TITLE>

Thanks, Chuck
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post February 10th, 2009, 12:30 pm

That sounds like either you or someone else is inadvertently deleting your index page nearly every day, perhaps there's an errant cron-job/automated-task somewhere.
Strong with this one, the sudo is.
  • sensitive747
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 09, 2009
  • Posts: 5
  • Status: Offline

Post February 10th, 2009, 2:49 pm

Many times it causes the browser to be slow and default to a 144 placeholder page. This has happened with two different hosting sites. Chuck
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post February 10th, 2009, 3:05 pm

FYI: You haven't really posted your code... but from what I can see over there... why all that mess?

(The HTML comments).
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • sensitive747
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 09, 2009
  • Posts: 5
  • Status: Offline

Post February 10th, 2009, 4:46 pm

Maybe some of the mess is causing this to happen?
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post February 10th, 2009, 5:24 pm

Well this line suggests to me that you're saving the page to your desktop from your browser, then opening it in notepad/dreamweaver/etc and copying what you see.

Code: [ Select ]
<!-- saved from url=(0033)http://www.nationalvend.us/ -->


If something is wrong with the code, it's going to be the code that you're re-uploading to the server. Perhaps there's a CGI/etc directive somewhere that causes the server to choke and the default error handler on the server is these placeholder pages you've mentioned.
Strong with this one, the sudo is.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post February 10th, 2009, 5:26 pm

Come to think of it, if those other lines in what you posted are being processed by the server, the "saved from" line that was likely inserted by a browser may very well be what's causing the problem if the page you're re-uploading has that. Maybe there's someone else that works on the site that could be doing it ?
Strong with this one, the sudo is.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post February 10th, 2009, 5:43 pm

Thats what brings me to think. Maybe the CGI script or some server related script reads through that and has that thing defined for it's own use, that's hidden from the view of anyone, and somehow, it got printed into the dump file or something and he re-uploaded and that thing is defined twice, confusing the script and sending the viewer somewhere else...
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • sensitive747
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Feb 09, 2009
  • Posts: 5
  • Status: Offline

Post February 11th, 2009, 12:43 pm

Thanks everyone for your feedback. I used Dreamweaver MX to take out all of the "trash" code, both before the HEAD, and at the bottom of the page, and re-uploaded. Everything seems to be fine now.

The cgi comment makes me suspect the code was possibly tampered with by someone with server access. Or maybe I did it myself. Thanks.

Post Information

  • Total Posts in this topic: 11 posts
  • Users browsing this forum: No registered users and 146 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.