1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Errors - Transfering site to another host

Discussion in 'MySQL' started by Bryan, Nov 8, 2005.

  1. #1
    Transfered a site to another host and I'm getting these errors, anybody know how to fix it? Or have an idea of what's going on?

    Warning: main(language/lang-.php): failed to open stream: No such file or directory in

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in

    Fatal error: Call to undefined function: tep_href_link() in
     
    Bryan, Nov 8, 2005 IP
  2. cyclinder

    cyclinder Peon

    Messages:
    29
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    many hosts still running mysql 3.x - so check for mysql version on your new host
     
    cyclinder, Nov 25, 2005 IP
  3. michele

    michele Peon

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The MySQL error suggests that a query is just not working for some reason. Do you know for sure that you are connecting to a working database OK?

    As for the other errors, do they refer to your own code or PHP code (I don't recognise them)?

    It looks like at least one file isn't where it should be, or has permissions problems etc stopping it being read.
     
    michele, Nov 25, 2005 IP
  4. Bryan

    Bryan Active Member

    Messages:
    306
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    58
    #4
    This thread was 3 weeks old...I have the problems sorted out by now :)

    Thanks guys
     
    Bryan, Nov 25, 2005 IP
  5. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #5
    what was the problem? :)
     
    Dekker, Nov 25, 2005 IP
  6. hdpinn

    hdpinn Peon

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It's a file problem, not a DB problem.
     
    hdpinn, Nov 26, 2005 IP
  7. profs77

    profs77 Well-Known Member

    Messages:
    441
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    118
    #7
    If it can't find the file, make sure it exists where it is being called. Replace any links and change them from old-domain.com to new-domain.com . The mysql_fetch_array() may be giving you a problem if you didn't login with the correct username/password, server and database.
     
    profs77, Dec 13, 2005 IP