Robots.txt help needed (site is down)

Discussion in 'robots.txt' started by neonrider, Nov 14, 2008.

  1. #1
    Hi,

    Hopefully someone can help at least to point me in the right direction (I'm not a programmer or etchnician, only a PC user):

    1. There was NO robots.txt on my store.domain.com. That is why I copied one from another site which only contained the Google-suggested 2 text lines and FTP'ed it to the store's public_html. As soon as I did that my little store has become blank with the following text only:

    Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/storeba/public_html/include/func/func.db.php on line 47
    Sorry, the shop is inaccessible temporarily. Please try again later.

    1a. The 2 lines that were the only text in the robots.txt were the following (as per Google AdSense suggestion):

    User-agent: Mediapartners-Google*
    Disallow:

    2. I deleted robots.txt completely. That did not fix the problem.

    3. I uploaded an empty (blank) robots.txt, but that did not solve the problem.

    Can you help?

    Thanks

    John
     
    neonrider, Nov 14, 2008 IP
  2. Nicodemus

    Nicodemus Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The robots.txt will have no impact on the operation of your website. It is used to control access to your website for the spiders that crawl websites for the purpose of indexing them. You need the robots.txt file from an SEO perspective but not an operational one.

    The error that you are getting is a sql error. It indicates that the database on your server is somehow not configured properly or is just plain old "down". Has your store ever worked?
     
    Nicodemus, Nov 14, 2008 IP
  3. neonrider

    neonrider Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi, thanks, yes, my store worked all the time for many months and years. As soon as I FTP'ed the robots.txt to store.domain.com it went down like that error. A coincidence? Do you have an idea how I can fix it by looking at that error message?
     
    neonrider, Nov 14, 2008 IP
  4. unhappy21

    unhappy21 Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    what is robot.txt for? i'm a newbie so i don't have an idea what it is.
     
    unhappy21, Nov 15, 2008 IP