[Help] Eudemons Website(PHP).

03/17/2012 19:00 killersub#1
okay so I'm kind of new to this whole Eudemons-Online section(I have played the game before so yes, I'm familiar with it).

so I started making my own server and it's up and running, now when I downloaded a base website off this forum, I configure it in config.ini(here's my config.ini):

PHP Code:
<?php
    
require_once './inc/class.captcha.php';
    
// Configurations
    
$myhost="localhost";
    
$mypass="password (I blocked this out ofc)";         //your server login password
    
$myuser="root";         //your server login username
    
$mydbacc="account";        //your server account database
    
$mydbdata="my";            //your server my database name
    
$serveraddress="127.0.0.1 (for now)";     //your server ip
    
$serverport=5816;        //your server connection port
    
$mydb="my";            //your server my database
    
$servername="EudemonsRevolution";

$page basename($_SERVER['SCRIPT_FILENAME']);
$page str_replace('_',' ',$page);
$page str_replace('.php','',$page);
$page ucfirst($page);    

    
// Dont Edit after this
    
mysql_connect($myhost,$myuser,$mypass);
    
mysql_select_db($mydb);
?>
but then when I connect to the website a whole bunch of MySql/PhP errors pop up, not allowing me to access all of the features(or most) of the website.

Here are the common ones:

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 20

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 20

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 21

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 21

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 21
Again, I have no idea what those mean because I am still new to this kind of thing, hoping to get an idea out of your responses.

Regards, killersub.
03/17/2012 19:24 Sir*DeviL#2
Hello There,
As i saw your thread your problem is the following
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 20

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 20

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 21

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 21

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 21
Means that your Mysql can not connect to your new ver of xampp...
Or that your Mysql is high version
so the fix would be the following:
Download older version of xampp
__________________________
Best Regards..
Hope i Helped!
03/17/2012 19:32 killersub#3
Quote:
Originally Posted by Sir*DeviL View Post
Hello There,
As i saw your thread your problem is the following
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 20

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 20

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 21

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 21

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 21
Means that your Mysql can not connect to your new ver of xampp...
Or that your Mysql is high version
so the fix would be the following:
Download older version of xampp
__________________________
Best Regards..
Hope i Helped!
I will get back to you on that, btw, which version do you suggest I download?

thanks for the reply!
03/17/2012 19:59 Sir*DeviL#4
I Suggest using ver of :
xampp-win32-1.3
find it in sourceforge!
___
Hope I Helped :)
03/17/2012 20:45 killersub#5
Quote:
Originally Posted by Sir*DeviL View Post
I Suggest using ver of :
xampp-win32-1.3
find it in sourceforge!
___
Hope I Helped :)
couldn't find that one.
03/17/2012 21:12 Sir*DeviL#6
Wait will find it for u!

#Edit :
Here's the Link"
[Only registered and activated users can see links. Click Here To Register...]

_____
Best Regards.. Hope i helped :)
03/17/2012 21:59 killersub#7
Quote:
Originally Posted by Sir*DeviL View Post
Wait will find it for u!

#Edit :
Here's the Link"
[Only registered and activated users can see links. Click Here To Register...]

_____
Best Regards.. Hope i helped :)
I sent you a message.
03/18/2012 06:09 [GM]Death[PM]#8
Use this [Only registered and activated users can see links. Click Here To Register...]. Scroll down a bit and you will see the easy website thing. A lot easier to deal with than that other crap.
03/19/2012 02:32 killersub#9
Quote:
Originally Posted by [GM]Death[PM] View Post
Use this [Only registered and activated users can see links. Click Here To Register...]. Scroll down a bit and you will see the easy website thing. A lot easier to deal with than that other crap.
how would I set this up exactly? I extracted it, then configured winmysqladmin, but when I try to connect to localhost nothing pops up?