[HELP]Shaiya Register Script

03/02/2014 18:58 Devine Souls#1
Hello Elitepvpers, I have looked all over and I cant find the answer.. I need some help I have set the agreement and everything I get this error from my register script I have when I tried to make my acc

ps: I forgot im also using a wamp server on Virtual Box
Quote:
Warning: odbc_execute() [function.odbc-execute]: SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert the value NULL into column 'RowID', table 'PS_UserData.dbo.Users_Master'; column does not allow nulls. INSERT fails., SQL state 23000 in SQLExecute in C:\wamp\www\Register\register.php on line 60
03/02/2014 23:03 Mithrandir.#2
delete the column rowid.. ?
03/04/2014 19:26 Autrux#3
#moved
03/17/2014 17:35 superklamus#4
Hope i can help here ;)

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

Make sure to use more the search button, helps you more ;)
04/09/2015 23:54 blutotxonline#5
please reply me about this problem. Warning: odbc_execute(): SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]The server principal "PC-2-PC\PC-2" is not able to access the database "PS_UserData" under the current security context., SQL state 08004 in SQLDescribeParameter in C:\xampp\htdocs\registration\register.php on line 27...
please

when my code is looks like this the register.php fill up form appears but still errors occur when i submit it to database.

<?php
// Database configuration parameters
$dbHost = 'PC-2-PC';
$dbUser = '';
$dbPass = '';

$GLOBALS['dbConn'] = @odbc_connect("Driver={SQL Server};Server={$GLOBALS['dbHost']};",$GLOBALS['dbUser'],$GLOBALS['dbPass']) or die('Database Connection Error!');
if(!$GLOBALS['dbConn']){
exit("Connection failed:".odbc_errormsg());
}
?>

and when i put the dbhost/dbuser/dbpass/ like what in your post sir. it says "Database Connection error!" please help me.

<?php
// Database configuration parameters
$dbHost = '127.0.0.1';
$dbUser = 'shaiya';
$dbPass = 'shaiya123';

$GLOBALS['dbConn'] = @odbc_connect("Driver={SQL Server};Server={$GLOBALS['dbHost']};",$GLOBALS['dbUser'],$GLOBALS['dbPass']) or die('Database Connection Error!');
if(!$GLOBALS['dbConn']){
exit("Connection failed:".odbc_errormsg());
}
?>