Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Functions aren't working


labmais

Recommended Posts

Hello everybody,

 

my website: http://85.25.100.203/test

 

It doesn't works.

 

If you try to signup for a new account it says:

 

PROCEDURE DARKEDEN.create_account does not exist

 

 

How can I fix that?

 

You can try to create new account and see the issue.

http://deg.no-ip.org...waccount&step=1

 

File middle.php

case "createnewaccount":
		{
			switch($step)
			{
				case "1";
					//require_once("..\\new_account_1.php");
					show_new_account_1();
					break;
				case "2";
					if($errorstr!="")
						show_info($errorstr);
					else
						show_success($successstr,$url);
			}
		}

 

File new_account_2.php

	$errorstr = "";[/size]
$errorstr = checknewid($username,$name,$password,$confirmpassword,$ssn,$country,$sex,$email);
if($errorstr=="")
{
	//in uPlayerID varchar(15),in uPassword varchar(16),in uName varchar(20),in uSex varchar(7),in uSSN varchar

(20),uNation  tinyint(3)
	if(($_SESSION['session_pushid']=="")||(!isset($_SESSION['session_pushid']))||(!is_numeric($_SESSION

['session_pushid'])))$_SESSION['session_pushid']=0;
	$sql = "call create_account('$username','$password','$name','$sex','$ssn',$country,{$_SESSION

['session_pushid']},'{$_SERVER['REMOTE_ADDR']}','$email')";
//		echo $sql;
	$rs = mysqli_query($conn,$sql) or die( mysqli_error($conn));
	$row = mysqli_fetch_row($rs);
//		print_r($row);
	if($row[0]==0)
	{
		//$session_login = 0;
		//session_unregister("session_login");
		//session_unregister("session_username");
		$_SESSION['session_pushid'] = 0;
		sendemail($email,"DarkedenGenesis remind you: your account success","<h1>hello $name</h1><br>your 

account is: $username<br>password is :$password<br>ssn is :$ssn<br><hl><a href='http://www.darkedengenesis.com' 

target=_blank>www.darkedengenesis.com<hl>");
		//$session_login = 1;
		//$session_username = $username;
		//session_register("session_login");
		//session_register("session_username");
		if($row[1]!='only regster'&&$row[1]!=''&&$row[1]!=' '&&$row[2]!=' '&&$row[2]!='')
			sendemail($row[1],"DarkedenGenesis remind you: your have a Promotion points","<h1>hello 

{$row[2]}</h1><br>Thank you for the promotion. <br><hl><a href='http://www.darkedengenesis.com' 

target=_blank>www.darkedengenesis.com<hl>");
		$successstr = "account create success! DarkedenGenesis already send a email to you .";
		$url = "index.php";
	}
	else
	{
		$errorstr = "account create faild, maybe account alread is exists, change your input .";
	}
}
?>

E-commerce?

No external links please.

Link to comment
Share on other sites

I know it has nothing to do with OsCommerce.

I just try to get some help.

 

Actually, I tried several forums to get help...including MySql one.

 

I need help, don't know what to do.

E-commerce?

No external links please.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...