I've screwed something up

Discussion in 'HTML & Website Design' started by Blogmaster, Nov 19, 2005.

  1. #1
    on my ebay store but not sure what. I was trying to add a commission Junction search box to it, and it happened, after removing the code it's still the same way. Anybody have an idea from looking at the code?

    Thanks.
     
    Blogmaster, Nov 19, 2005 IP
  2. piniyini

    piniyini Well-Known Member

    Messages:
    514
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Internal Server Error :eek:
     
    piniyini, Nov 19, 2005 IP
  3. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #3
    Right, but why :confused:
     
    Blogmaster, Nov 19, 2005 IP
  4. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #4
    If it was in the header or footer, adding a ' or $ with out a \ before it will cause that.

    If that's where you edited, post the current code.
     
    Nintendo, Nov 19, 2005 IP
  5. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #5
    Blogmaster, Nov 19, 2005 IP
  6. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #6
    Yep. For example just

    document.write('<nolayer>

    would cause that.

    For that code for example, replace it with

    document.write(\'<nolayer>

    Get the header and footer code and do a mass search and replace ' and $

    with

    \'

    \$

    There's a lot of ' there!!
     
    Nintendo, Nov 19, 2005 IP
  7. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #7
    Got it, looking at it now.
     
    Blogmaster, Nov 19, 2005 IP
  8. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Good luck!
     
    Dekker, Nov 19, 2005 IP
  9. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #9
    Here's how you can have the header/footer out of the script and not worry about the ' and $ stuff....

    Add

    use LWP::Simple;
    $header = get ('http://www.domain.com/file.txt');
    $footer = get ('http://www.domain.com/file.txt');

    to the script, and take the current header and footer stuff out of the script. The URLs are the URLs of the header/footer files.
     
    Nintendo, Nov 19, 2005 IP
  10. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Just a stupid question.

    If you have a CSS class set to a footer...it automatically becomes a footer correct? Or do you have to position it etc..

    What I'm asking are there already ingrained places in CSS? like headings, main content, etc?
     
    Dekker, Nov 19, 2005 IP
  11. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #11
    Nintendo, Nov 19, 2005 IP
  12. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #12
    me too. i'll just stick to dreamweaver :p if need be...i'll get a book or pay someone. i wonder if amit's free?
     
    Dekker, Nov 19, 2005 IP
  13. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #13
    LOL!!! He can't even write a one word book report!!! I keep shrinking the book report requirement and I can't go lower than one word!!! :D:D:D
     
    Nintendo, Nov 19, 2005 IP
  14. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #14
    urrgh trying, can I give you my login info? :D:D:D:D

    Hey lemme say this much: if he writes reports, he may actually get some solid misspelt keyword traffic
     
    Blogmaster, Nov 20, 2005 IP
  15. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #15
    Blogmaster, Nov 20, 2005 IP
  16. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #16
    it looks like the footer got lost, and there was a few too many \'s!!!

    
    $header = '
    <BODY bgcolor="ffffff" TEXT="000000" link="red" vlink="blue"><center><h1>eBay Shopping Directory</h1>
    <p align=center>Take me back to the  <a href=http://www.frogengine.net/cgi-bin/auctions.cgi?index><b>Frog Engine eBay Directory
    </a></b><p align=center><script language=javascript>
    mpt = new Date();
    mpts = mpt.getTimezoneOffset() + mpt.getTime();
     
    document.write(\'<nolayer><iframe src="http://adfarm.mediaplex.com/ad/fm/711-1751-2978-325?mpt=\' + mpts + \'&mpvc=http://www.qksrv.net/click-1060113-7088803?SID=%26mpt=\' + mpts + \'%26mig=" width=120 height=240 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no bordercolor="#000000"><a hr\'+\'ef="http://www.qksrv.net/click-1060113-7088803?SID=%26mpt=\' + mpts + \'"><img src="http://adfarm.mediaplex.com/ad/bn/711-1751-2978-325?mpt=\' + mpts + \'" alt="Bid, Sell and Collect at eBay!" border="0"></a></iframe></nolayer><ilayer src="http://adfarm.mediaplex.com/ad/fm/711-1751-2978-325?mpt=\' + mpts + \'&mpvc=http://www.qksrv.net/click-1060113-7088803?SID=%26mpt=\' + mpts + \'%26mig=" width=120 height=240"></ilayer>\');
    </script>
    <a href=http://www.frogengine.com><img src=http://frogengine.com/search/images/froglogo.jpg border=0></a><p align=center><a href="http://www.tkqlhce.com/click-1060113-10314237" target="_top">Sell on eBay</a><img src="http://www.afcyhf.com/image-1060113-10314237" width="1" height="1" border="0"><p align=center><script type="text/javascript"><!--
    google_ad_client = "pub-6381896905093377";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    ';
    #Place your footer HTML here. Again, if you include a ' or $ in it, place a \ before it. For example, \'  \$ .
    $footer = ' Take me back to the <a href=http://www.frogengine.net/cgi-bin/auctions.cgi?index><b>Frog Engine eBay Directory</a><p align=center><script type="text/javascript"><!--
    google_ad_client = "pub-6381896905093377";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    
    </script><p align=center>EBay has it all, sell your stuff as well<p align=center><a href="http://www.dpbolvw.net/click-1060113-10356782" target="_top" >
    <img src="http://www.awltovhc.com/image-1060113-10356782" width="468" height="60" alt="Open an eBay Store!" border="0"></a></body></html>';
    
    Code (markup):
     
    Nintendo, Nov 21, 2005 IP
  17. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #17
    k ... looking .... never mind, I'm a retard.
     
    Blogmaster, Nov 21, 2005 IP
  18. Blogmaster

    Blogmaster Blood Type Dating Affiliate Manager

    Messages:
    25,924
    Likes Received:
    1,354
    Best Answers:
    0
    Trophy Points:
    380
    #18
    Blogmaster, Nov 27, 2005 IP
  19. Nintendo

    Nintendo ♬ King of da Wackos ♬

    Messages:
    12,890
    Likes Received:
    1,064
    Best Answers:
    0
    Trophy Points:
    430
    #19
    Now, make a back-up and try this...

    What ever is in the header/footer in the script goes in the files. Then you'll never have to worry about $ and '.
     
    Nintendo, Nov 28, 2005 IP