• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Re-upload registration script

Experienced Elementalist
Joined
Dec 1, 2009
Messages
224
Reaction score
20
just re-uploading registration script by Maryjason
View attachment registration files.rar

change your odbc info

register.php
PHP:
$aw=$_GET["q"];
$aws=$_GET["q2"];
$awts=$_GET["q3"];
$conn = odbc_connect('luna_memberdb','gamesrv','luna');

responsexml.php
PHP:
$q=$_GET["q"];

$conn = odbc_connect('luna_memberdb','gamesrv','luna');

change "luna_memberdb" to your Luna_Member odbc name
change "gamesrv" to your odbc user
change "luna" to your odbc user password
 
Last edited:
Banned
Banned
Joined
Dec 20, 2011
Messages
462
Reaction score
30
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application, SQL state IM014 in SQLConnect in C:\xampp\htdocs\reg\responsexml.php on line 4
odbc not connected

It just won't connect. Help?
 
Experienced Elementalist
Joined
Dec 1, 2009
Messages
224
Reaction score
20
Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application, SQL state IM014 in SQLConnect in C:\xampp\htdocs\reg\responsexml.php on line 4
odbc not connected

It just won't connect. Help?

then something wrong with your config..
 
Banned
Banned
Joined
Dec 20, 2011
Messages
462
Reaction score
30
Is there a way to change the DSN to User DSN not System DSN?
 
Banned
Banned
Joined
Dec 20, 2011
Messages
462
Reaction score
30
I am using User DSN. But how do I make the register script use User DSN?
 
Experienced Elementalist
Joined
Dec 1, 2009
Messages
224
Reaction score
20
I am using User DSN. But how do I make the register script use User DSN?

idk..
i don't think the problem is there..
it should be your config..
or maybe your php doesn't running ODBC or something..
or just create new ODBC for registration..but grant the mssql user, db owner for Luna_Member..
 
Back
Top