Register for your free account! | Forgot your password?

You last visited: Today at 15:27

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

Advertisement



Shaiya Register Error

Discussion on Shaiya Register Error within the Shaiya PServer Development forum part of the Shaiya Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2014
Posts: 95
Received Thanks: 25
Shaiya Register Error

Warning: odbc_execute(): SQL error: [Microsoft][ODBC SQL Server Driver]String data, right truncation, SQL state 22001 in SQLExecute in C:\xampp\htdocs\register\register.php on line 60

Failed to create a new account, please try again later

Users_Master Design is correctly , Register have been working for a few days ,
Then somthing strange happend and this came up..


[ NOTICE ] I just discovered a password that Abrasive Registration doesn't work O.o
Password it : Andrzejewski1 , I've tested on all private servers Registration and it doesn't work.
Please check it.
ShaiyaDeadlyBreath is offline  
Old 10/12/2015, 09:07   #2
 
treica's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 525
Received Thanks: 805
This error occurs most likely is too long that the Pw field allows it to be, try a maximum of 10 characters and see if works. If works then improve your error check in register.php with something like..
Code:
if($password > 10 || $password < 3)
    errors[] = 'password too long or too short, please try again';
It will allow the output to be your string rather than server error.
treica is offline  
Old 10/12/2015, 21:19   #3
 
elite*gold: 0
Join Date: Oct 2015
Posts: 156
Received Thanks: 54
Abrasive Registration System has Password between 3 and 16 , I am not sure its that.

}else if(strlen($password) < 3 || strlen($password) > 16){
$errors[] = 'Password must be between 3 and 16 characters in length.';
ShaiyaOld is offline  
Old 10/13/2015, 01:04   #4
 
elite*gold: 0
Join Date: Jan 2013
Posts: 461
Received Thanks: 561
Quote:
Originally Posted by ShaiyaOld View Post
Abrasive Registration System has Password between 3 and 16 , I am not sure its that.
And the column Pw in PS_UserData.dbo.Users_Master how many letters allow? usual is 12 and the password you tried is 13.
beetols is offline  
Old 10/13/2015, 07:47   #5
 
treica's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 525
Received Thanks: 805
Quote:
Originally Posted by treica View Post
This error occurs most likely is too long that the Pw field allows it to be
As i stated above the Pw field in your database not the script and to overcome this you have to change in your script the error output or to update the max allowed chars in your Pw field (requires recreate).
treica is offline  
Reply


Similar Threads Similar Threads
help create web shaiya register/ayuda con pagina de registro shaiya
01/09/2013 - Shaiya Private Server - 8 Replies
Hola amigos de elitepvpers, hoy les vengo a pedir ayuda con la pag de registro, ya que tengo xampp, y configure los archivos, pero al momento de registrarme osea de darle submit me sale Call to undefined function mssql_connect() in C:\xampp\htdocs\processor.php on line 10 y ya edite la linea 10 INDEX.PHP processor.php si alguien me puede ayudar gracias
Shaiya Secure Register Script error
04/07/2012 - Shaiya Private Server - 1 Replies
Hallo Leute kann mir einer was zu diesem error sagen? "Failed to create a new account, please try again later" Oder mir sagen wieso der keinen Account erstellen kann Danke im vorraus :)



All times are GMT +1. The time now is 15:28.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.