2 problems with register acc creation

09/12/2012 02:09 Andy20081#1
right i been working on my server for the day now and i come to the point to try creating my acc instead of using the test one i tryed
the query way but it says wrong id/pass
and i got a website on xammp and i get loads of errors heres a few i get on register.php


Code:
Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\xampp\htdocs\config.php on line 16

Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\xampp\htdocs\config.php on line 16

Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\xampp\htdocs\config.php on line 17

Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\xampp\htdocs\config.php on line 17

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\xampp\htdocs\config.php on line 17

-------------------------------------------------------
Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\xampp\htdocs\config.php on line 16

Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\xampp\htdocs\config.php on line 16

Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\xampp\htdocs\config.php on line 17

Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\xampp\htdocs\config.php on line 17

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\xampp\htdocs\config.php on line 17
Notice: Undefined index: act in C:\xampp\htdocs\pages\register.php on line 59
09/12/2012 03:09 Gekru#2
Come on now, this has been posted over and over again. The error you're getting is telling you exactly what the issue is.


Code:
Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 is not supported.
The PHP version you have on your webserver is too high.


A search would bring up some of the following topics

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
09/12/2012 04:04 PowerChaos#3
use php version 5.2.8 as max
do not use php 5.3.X as that is to high

Greetings From PowerChaos
09/12/2012 13:36 Andy20081#4
Quote:
Originally Posted by PowerChaos View Post
use php version 5.2.8 as max
do not use php 5.3.X as that is to high

Greetings From PowerChaos
Ok ive got a older version xampp installed its better accept 1 problem

Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: YES) in C:\Users\andy\Desktop\xampp\htdocs\config.php on line 16

but the main worry is in the data base its got the register.html blahh i went in typed info then went onto navicat copyed and pasted the code needed and run it but in game it still says wrong login id/pass but both server and client run of 127.0.0.1 so thats not the problem for ip link

soz for dubble post but no one know what the problem is with the query then?
i put in acc code it make acount in the account db i cheek in navicat i go to login and nop apparently its wrong but yet i can login to the test one

it wont even work no more it all crashed the acc server everything omg.

dosont respond no more

srsly some one help ive made a server with some one before i handeld the database and ingame aswell website but i neaver had these issues before but its not responding attal no more

sorry for dubble post but some one help rly read above this
09/13/2012 04:18 PowerChaos#5
solution is easy

Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: YES) in C:\Users\andy\Desktop\xampp\htdocs\config.php on line 16

read exact what it says and you know what you dit wrong

lets split it up in case it is hard to read

Warning: mysql_connect(): -> WARNING "command"
Access denied -> guess what that means .. no acces o.O
for user: 'root@localhost' -> username = root .. connection = localhost
(Using password: YES) -> means it got a password for the given user

so in short , this is what the error says
Wrong password OR wrong username OR wrong ip adress OR a mix of those
now we know how to read the mysql error is it maybe easyer to fix if those errors happens

Greetings From PowerChaos