Xampp ODBC Error Connection

Newbie Spellweaver
Joined
Jun 1, 2014
Messages
43
Reaction score
13
My problem is the Userpanel & the Ranking,Register wont connec to the Odbc connection


i tried all themes here on ragezone but they still dont work


I typed correct Username + Password in the index.php & I runned xampp as Adminstrative


Can anyone help me please ?! :?::blush:



Weserver 2008 r2 64 bit !


King Regards KsService
 
Developer
Joined
Jul 24, 2008
Messages
666
Reaction score
460
use xampp 1.7.3 , be sure database exists in control panel > adminstrative > data sources (ODBC)
 
Upvote 0
Newbie Spellweaver
Joined
Jun 1, 2014
Messages
43
Reaction score
13
Kal_Auth & Kal_db are exist ! my server is online !
the only problem is the Xampp Mysql cant connect to odbc ...
I have add Xampp 1.7.3 but still Odbc connection error! ...


What can i do ? ...
 
Last edited:
Upvote 0
Developer
Joined
Jul 24, 2008
Messages
666
Reaction score
460
mysql cant connect to odbc !!!!
mysql is different connection to database,
odbc = SQL Database
try this connection in your register script

$server = "SQLEXPRESS\BESHOY";
$username = "sa";
$password = "******";
$Database = "kal_db";

$ConnectODBC = 'Driver={SQL Server};Server='.$server.';Database='.$Database.';';

$config = array( 'db_username' => $username, 'db_password' => $password, 'db_dsn' => $ConnectODBC);

instead the $config in register.php
 
Upvote 0
Newbie Spellweaver
Joined
Jun 1, 2014
Messages
43
Reaction score
13
I used it & i changed it to my files but it still dont work!

$server = "SQLEXPRESS\BESHOY";

$username = "sa";
$password = "******";
$Database = "kal_db";

$ConnectODBC = 'Driver={SQL Server};Server='.$server.';Database='.$Database.';';

$config = array( 'db_username' => $username, 'db_password' => $password, 'db_dsn' => $ConnectODBC);

What can i do? ...
 
Upvote 0
Banned
Banned
Joined
Jul 8, 2007
Messages
1,628
Reaction score
1,619
make sure you did the ODBC in the SYSTEM and not USER part of the ODBC
 
Upvote 0
Newbie Spellweaver
Joined
Jun 1, 2014
Messages
43
Reaction score
13
I did it in System & User's

my Server is online without problems & i can creat accounts with Kal Online Account Maker

But register / ranking / userpanel cant connect to Odbc ... i dont understund why !
 
Upvote 0
Banned
Banned
Joined
Jul 8, 2007
Messages
1,628
Reaction score
1,619
Which UP are you using? The....DragoN's? or Zeldas?

Because if its the dragons you need to install it via the php file
 
Upvote 0
Newbie Spellweaver
Joined
Jun 1, 2014
Messages
43
Reaction score
13
All is fine on the ODBC !

Realy i dont know what i can do ....

i tried all & nothing works



I use Zeldas userpanel



http://rocks-online.no-ip.biz/Main/up/register/

Try it & and see the problem's
 
Upvote 0
Banned
Banned
Joined
Jul 8, 2007
Messages
1,628
Reaction score
1,619
I had the same issue with Zelda's userpanel... The Dragons worked well for me :)
 
Upvote 0
Newbie Spellweaver
Joined
Jun 1, 2014
Messages
43
Reaction score
13
But it isn't just the Userpanel

i have problems with Register & Ranking & R-Ranking & Userpanel

can you add me on skype ? So can we talk alot more about this theme


carstenwess@outlook.de



King Regards KsService



Okay I think no one can help me !...
 
Upvote 0
Joined
Jun 23, 2010
Messages
785
Reaction score
229
it happened to me 1 week ago
because ODBC didnt run as administrator
just try to go there

64 bit :
%systemdrive%\Windows\SysWoW64\odbcad32.exe
32 bit :
%systemdrive%\Windows\System32\odbcad32.exe

check if there is kal_db + kal_auth
if there is
try to use different register/ranking scripts
 
Upvote 0
Newbie Spellweaver
Joined
Jun 1, 2014
Messages
43
Reaction score
13
It didn't work ! Odbc run automatic as admin

& i wrote before , all is ok with my Kal_Auth & Kal_db !

so i dont know the problem
 
Upvote 0
Back
Top