Jump to content

Recommended Posts

Im completly new to Mysql, and am having trouble while trying to run my website. I purchased a Game script. Which Display's flash games for people to play. However when trying to use some of the functions within this script I get this funky error message:

 

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

 

Ive checked the admin.class.php file line 163 nothing seems odd. If you want me to upload the file that would be fine I just need this fixed so I can start getting my site up and running.

 

Greatest Regards, Harley.

Link to comment
https://forums.phpfreaks.com/topic/55044-mysqltarded/
Share on other sites

I dont beleive I did, The only instructions it came with was.

 

 

1. Install the tables from "allgamesbackup.sql"

2. Ensure /swf and /images (or whatever directorys you set) are writable (CHMOD 0777)

3. Ensure you have completed the required information in db.cnf.php

5. Alter footer.inc.php and add any information you want.

 

Actually i did, Step 3 I had to add a username password and Hsotname. But Im not sure what my hostname would be, I think i might be my Domain name probably not. But Im not sure of my hostname.

 

www.flashmoron.com would that be it?

Link to comment
https://forums.phpfreaks.com/topic/55044-mysqltarded/#findComment-272108
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.