Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Sep 2007
    Posts
    188
    Tokens
    0

    Default MY Sql Database Help

    I bought this ACP of ebay ( http://cgi.ebay.co.uk/ws/eBayISAPI.d...TODAY.m238.lVI ) for my games website. But im having trouble when adding games it says

    [quote]
    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163

    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163

    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163

    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163

    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163

    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163

    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163

    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163

    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163

    Warning: mysql_insert_id() [function.mysql-insert-id]: A link to the server could not be established in /home/sameolds/public_html/admincp/admin.class.php on line 163
    [quote]

    Any idea what im doing wrong?

    +Rep to help

  2. #2
    Join Date
    Aug 2007
    Location
    Cardiff, Wales
    Posts
    1,199
    Tokens
    0

    Latest Awards:

    Default

    Hmm, best bet would to ask
    Oli
    Caleb
    Redtom
    or other v. good phpers.

  3. #3
    Join Date
    Sep 2007
    Posts
    188
    Tokens
    0

    Default

    Ta. Ill pay some one £70 odd p to sort it out all i have left in paypal sorry LOL!

  4. #4
    Join Date
    Aug 2007
    Location
    Cardiff, Wales
    Posts
    1,199
    Tokens
    0

    Latest Awards:

    Default

    I'll have a check around in what I know.

    i'll edit here.

    I think it's a PHP error,
    either one of these
    - The Database doesnt exist, there's no direct link with the DB

    - Or, you've put wrong info in..

    I may be wrong

    whats on line 163?
    Last edited by iTechnical; 08-11-2007 at 06:40 PM.

  5. #5
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    Post line 163 or even the whole file and we can get cooking.

    - Tom
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  6. #6
    Join Date
    Aug 2007
    Location
    Cardiff, Wales
    Posts
    1,199
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by TomSpit View Post
    Post line 163 or even the whole file and we can get cooking.

    - Tom
    Pretty much yup.
    [Btw which part of Cardiff you from?]

  7. #7
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    PM me.

  8. #8
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    You havent connected to database properly

    ie
    PHP Code:
    <?
    mysql_connect
    ("localhost","dbUser","dbPw");
    mysql_select_db("DataBase Name");
    ?>
    Might be wrong?
    Coming and going...
    Highers are getting the better of me

  9. #9
    Join Date
    Aug 2007
    Location
    Cardiff, Wales
    Posts
    1,199
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Cj555 View Post
    You havent connected to database properly

    ie
    PHP Code:
    <?
    mysql_connect
    ("localhost","dbUser","dbPw");
    mysql_select_db("DataBase Name");
    ?>
    Might be wrong?
    Said first without example !


  10. #10
    Join Date
    Jan 2007
    Location
    Canada eh?
    Posts
    766
    Tokens
    75

    Default

    Quote Originally Posted by iTechnical View Post
    I'll have a check around in what I know.

    i'll edit here.

    I think it's a PHP error,
    either one of these
    - The Database doesnt exist, there's no direct link with the DB

    - Or, you've put wrong info in..

    I may be wrong

    whats on line 163?
    Quote Originally Posted by Cj555 View Post
    You havent connected to database properly

    ie
    PHP Code:
    <?
    mysql_connect
    ("localhost","dbUser","dbPw");
    mysql_select_db("DataBase Name");
    ?>
    Might be wrong?
    What they both said is very correct. You will receive that kind of error when the script cannot connect to the database because:

    a) It doesn't exist
    b) Your connection details are wrong
    c) The script hasn't connect to the db

    I'm sure if you post the rest of your code someone here will be able to help you out

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •