Register for your free account! | Forgot your password?

You last visited: Today at 21:45

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

Advertisement



[php]problem

Discussion on [php]problem within the Rappelz Private Server forum part of the Rappelz category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2013
Posts: 119
Received Thanks: 13
Exclamation [php]problem

[CENTER]Hello first and foremost! I want to apologize from the member Thndr on dispositive improper in the previous topic.

Now enter the objective:

I have modified a registration page that I received From a Friend !

But no matter how I tried to stay error "Failed to verify is the provided user named already exists." Shows

Now, with CODE: I wish news what's wrong!

Fixed BY Using :
PHP Code:
INSERT INTO [Auth].[dbo].[Account] ( account_id,account,password,email,pk_ ,creationDate_,updateDate_,creatorId_,updatorId_,portId_,type_,accessDate_,password2 VALUES('','$username','$converted_password','$email','1','NULL','NULL','NULL','NULL','NULL','com.elixir.billing.impl.ImmAccount','NULL','$password2'

Thanks !!
mohamad512 is offline  
Old 08/12/2014, 03:35   #2
Moderator


 
ThunderNikk's Avatar
 
elite*gold: 1
Join Date: Dec 2012
Posts: 4,913
Received Thanks: 1,491
There is a help thread for questions like these...



That being said...next time please use it.

Are you sure your account table is really named dbo.accounts because mine is dbo.account

You would need to change the PHP to match.
ThunderNikk is offline  
Old 08/12/2014, 03:58   #3
 
elite*gold: 0
Join Date: Feb 2013
Posts: 119
Received Thanks: 13
Thanks man

Lol xD o_o

dbo.account(s) because mine is dbo.account

-------------------

I try put the same error

I update the topic
mohamad512 is offline  
Old 08/12/2014, 10:30   #4

 
Musta²'s Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 542
Received Thanks: 424
Hello,

First of all, you'll need to verify your connection string, make sure everything matches, and if it contains special characters, use '\' before it. (e.g.: $password = "p@ssw0rd!@#\'", the result password: P@ssw-rd!@#'.

Secondly, verify that the columns specified in the SQL commands and the table names match your database version, because the database that has the accounts table named 'dbo.Account' is Auth v2, and it uses 'username' instead of 'login_name'.

It'll be better if you provided more information for us, otherwise we'll keep mentioning frequent problems.
Musta² is offline  
Old 08/12/2014, 15:09   #5
 
sunnyxie49's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 77
Received Thanks: 25
Quote:
Originally Posted by mohamad512 View Post

PHP Code:
$result = @odbc_exec($conn,"SELECT login_name FROM Account WHERE login_name = '$username'") or die('Failed to verify is the provided user named already exists.'); 
PHP Code:
$server "192.168.1.104";
$user =  "sa";
$password"";
$database "Auth";
$conn odbc_connect("Driver={SQL Server Native Client 11.0};Server=$server;Database=$database;"$user$password);
$result odbc_exec($conn,"SELECT login_name FROM Account WHERE login_name = '$username'");
$checked_id odbc_fetch_row($result);
if( (
$checked_id) == ("1") ) 
{
    echo 
"Failed to verify is the provided user named already exists.";
}
else 
{

try
sunnyxie49 is offline  
Old 08/12/2014, 15:47   #6
 
elite*gold: 0
Join Date: Feb 2013
Posts: 119
Received Thanks: 13
I 'll try ! every thing u gays said

I update the topic with new code that i wanna now if it right !!

I think Accounts wrong ?!

if any one expert in that !

plz give me your skype !!

and i'm gonna send the script yo u to see it

second [php] then the first !! ^^

what about this !
mohamad512 is offline  
Reply


Similar Threads Similar Threads
[Problem]Habe ein Problem und zwar spinnt mein VPC etwas(ohne Grund)?!
07/28/2011 - Metin2 Private Server - 10 Replies
Also wie schon gesagt meins Server spinnt wodurch kiks usw. kommen :( ich lade euch die Screens in den Anhang, mit der Hoffnung, dass ihr mir helfen könnt :) wäre echt sehr nice :)



All times are GMT +1. The time now is 21:46.


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.