Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Fiesta Online
You last visited: Today at 09:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Register Problem

Discussion on Register Problem within the Fiesta Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
fanke2250's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 217
Received Thanks: 101
Register Problem

Hey, weiß jemand wie ich dieses Problem löse?

Warning: odbc_exec(): SQL error: [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert explicit value for identity column in table 'tAccounts' when IDENTITY_INSERT is set to OFF., SQL state 23000 in SQLExecDirect in C:\xampp\htdocs\Register\index.php on line 132

Hier der Script
fanke2250 is offline  
Old 04/26/2015, 19:08   #2
 
elite*gold: 0
Join Date: Mar 2015
Posts: 44
Received Thanks: 6
[nEMID] = rand_string()

Ò.ó
Deodex is offline  
Old 04/26/2015, 21:22   #3
 
fanke2250's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 217
Received Thanks: 101
Bitte was? xD
fanke2250 is offline  
Old 04/26/2015, 21:29   #4
 
хαrvα's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 1,153
Received Thanks: 696
Quote:
Originally Posted by Deodex View Post
[nEMID] = rand_string()

Ò.ó
Wenn er diese Frage stellt muss man doch einschätzen können, dass diese Person keine Ahnung davon hat, oder? Diese schlauen Antworten...

хαrvα is offline  
Old 04/26/2015, 23:17   #5
 
fanke2250's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 217
Received Thanks: 101
hey xarva ich benutze diesen register, habe in der index OdinAccounts zu Account geändert da ich die db von cloud benutze, aber es will iwie net funktionieren^^
fanke2250 is offline  
Old 04/27/2015, 07:20   #6
 
elite*gold: 0
Join Date: Mar 2015
Posts: 44
Received Thanks: 6
Quote:
Originally Posted by хαrvα View Post
Wenn er diese Frage stellt muss man doch einschätzen können, dass diese Person keine Ahnung davon hat, oder? Diese schlauen Antworten...

Na gut...

Code:
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert explicit value for identity column in table 'tAccounts' when IDENTITY_INSERT is set to OFF., SQL state 23000 in SQLExecDirect in C:\xampp\htdocs\Register\index.php on line 132
Code:
[nEMID] [int] IDENTITY(1,1) NOT NULL,
Was sagt uns das ? nEMID ist somit Schreibgeschützt da es automatisch generiert wird mit einem Increment.

Ändere:
Code:
$query = "INSERT INTO [Account].[dbo].[tAccounts] ([nEMID],[sUsername],[sUserPass],[sUserPassSalt],[sEmail],[nAuthID],[sIP]) VALUES('".rand_string()."','$_POST[username]','$_POST[password]','$_POST[password]','$_POST[email]','3','127.0.0.1')";
Zu:
Code:
$query = "INSERT INTO [Account].[dbo].[tAccounts] ([sUsername],[sUserPass],[sUserPassSalt],[sEmail],[nAuthID],[sIP]) VALUES('$_POST[username]','$_POST[password]','$_POST[password]','$_POST[email]','3','127.0.0.1')";
Deodex is offline  
Thanks
1 User
Old 04/27/2015, 11:35   #7
 
fanke2250's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 217
Received Thanks: 101
wow danke, es funktionier
fanke2250 is offline  
Reply


Similar Threads Similar Threads
Register Problem
12/23/2012 - CO2 Private Server - 6 Replies
Okay so if i register for my server on my site it says invalid account id or password. but if i register with /newacc it works just fine. im using a 5165 source and iv tryed 3 different register pages now.
Problem with register
02/25/2012 - Shaiya Private Server - 7 Replies
Hello i tryied to make register on server but i got this Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\processor.php on line 10 Sorry for new post but old one are closeed .
Register problem
02/21/2011 - CO2 Private Server - 17 Replies
Hello, I got a problem with my register script Script: <?php if(isset($_POST) && isset($_POST) && isset($_POST)) { if(!Empty($_POST) && !Empty($_POST) && !Empty($_POST)) {
Register Problem
11/01/2009 - Metin2 Private Server - 12 Replies
Meine Regi geht nicht mehr alles ist an alles läuft super dann kommt das Warning: mysql_real_escape_string() : Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\reg.php on line 7 Warning: mysql_real_escape_string() : A link to the server could not be established in C:\xampp\htdocs\reg.php on line 7 Warning: mysql_real_escape_string() : Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\reg.php on line 8 Warning:...
register problem
06/18/2008 - Cabal Online - 1 Replies
whenever I try to register, comes that ImageShack - Hosting :: cabalfehlerkp8.png can someone help me?



All times are GMT +1. The time now is 09:27.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.