Jump to content
MakeWebGames

Would anyone be kind enough...........


tom101uk
 Share

Recommended Posts

Deprecated: Function ereg() is deprecated in /home/tom101uk/public_html/installer.php on line 6

Write Config...

Config written.

Attempting DB connection

Connection Successful.

Writing Main MySQL data.

Main MySQL data was written.

Now write Extra MySQL data.

QUERY ERROR: No database selected

Query was INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( 'Resistant', 'Resistant', md5(''), 1, 100, 0, 0, 2, 12, 12, 100, 100, 5, 5, 100, 100, 1, '', unix_timestamp(), '[email protected]', -1, '2.125.46.146', '2.125.46.146')

Link to comment
Share on other sites

regards your first problem eregi() depreciated means no longer used so you need to change it to preg_match()

Look at the following

Query was INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( 'Resistant', 'Resistant', md5(''), 1, 100, 0, 0, 2, 12, 12, 100, 100, 5, 5, 100, 100, 1, '', unix_timestamp(), '[email protected]', -1, '2.125.46.146', '2.125.46.146')

now lets strip it

username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup

so thats 23 INSERTS now count the Values which are 23 also

'Resistant', 'Resistant', md5(''), 1, 100, 0, 0, 2, 12, 12, 100, 100, 5, 5, 100, 100, 1, '', unix_timestamp(), '[email protected]', -1, '2.125.46.146', '2.125.46.146'

so from what im seeing your password nor gender are being inserted (unless you removed your pass before posting on here)

your half way now to solving this problem, however if your trying to do this over an exsisting SQL on your phpmyadmin you may encounter errors so just for now create a new MYSQL dbase and see if a clean install will work if not then the problem lies in your INSERTS...

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

 Share

×
×
  • Create New...