[Release] DarksWeb 0.3 UPDATE

Правя висчко както трябва,но не върви!
Пробвах с xampp,EasyPhp най новите версии и ми излиза един ерор,4е има грешка на 12 ред в файла config.inc.php!Някой да е имал същия проблем
 
Сгрешил си DBPassa , или нямаш DataBase :D :D
 
пробвай с xampp 1.7.1 :) xampp 1.8 не е с mssql нз дали е от това, но пробвай :)
 
Пробвах но при инсталацията на самата xampp ми дава накрая някаква грешка от самата програма че липсват файлове имам някакъв вирус като си преинсталирам компа ще пробвам на ново!
 
Пробвах но при инсталацията на самата xampp ми дава накрая някаква грешка от самата програма че липсват файлове имам някакъв вирус като си преинсталирам компа ще пробвам на ново!

1. защо инсталираш а не свалиш просто .zip или .7z файловете и не разархивираш
2. ползвай версия 1.7.1
3. MySQL не ти трябва тази грешка за config.inc.php е само от MySQL(PhpMyAdmin) нито в PHP нито в Apache има config.inc.php нито и в сайта
 
PROBLEM! I can't make accounts. If i register then it sais account made succesfuli but there aint any account

Using 1st release of darksweb and i tried update 2 too but no luck so far.
 
Last edited:
can someone help me ?..I just cant make an account. and i dont find the sorce of problem
 
continue

then you have to turn it on in the website in the config file and use this guide
http://darksteam.net/guides/[guide]-how-fix-md5-your-website-13461.html

used that site and i had chance to make only 1 acc and after that no more accs made.

{
$qid = mssql_query("SELECT * FROM memb_info WHERE memb_guid=(SELECT MAX(memb_guid) FROM memb_info)");
$rid = mssql_fetch_array($qid);
$id = $rid['memb_guid'];
$id++;
$register_query_1 = "SET IDENTITY_INSERT MEMB_INFO ON";
$register_query_2 = "INSERT INTO MEMB_INFO (memb_guid,memb___id,memb__pwd,memb_name,sno__numb,post_code,addr_info,addr_deta,tel__numb,mail_addr,phon_numb,fpas_ques,fpas_answ,job__code,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('$id','$username',[dbo].[fn_md5]('$password','$username'),'$username', '111111111', '1234', '11111', '111111111','12343', '$mail', '$mail', '$question', '$answer','1','2003-11-23', '2003-11-23', '2003-11-23', '2003-11-23', '1', '0', '1')";
$register_query_3 = "INSERT INTO VI_CURR_INFO (ends_days,chek_code,used_time,memb___id,memb_name,memb_guid,sno__numb,Bill_Section,Bill_value,Bill_Hour,Surplus_Point,Surplus_Minute,Increase_Days ) VALUES ('2005','1',1234,'$username','$username','$id','111111111','6','3','6','6','2003-11-23 10:36:00','0' )";
$register_query_1 = mssql_query($register_query_1);
$register_query_2 = mssql_query($register_query_2);
$register_query_3 = mssql_query($register_query_3);
show_ok('The account is successfully created.');
}
}

This is the end of my register_do.php I changed it a little so i hoped it will work, but so far no error from website and no accounts.

What tha hell i have made wrong ?
 
used that site and i had chance to make only 1 acc and after that no more accs made.



This is the end of my register_do.php I changed it a little so i hoped it will work, but so far no error from website and no accounts.

What tha hell i have made wrong ?

this is how it must look like

Code:
{
	$qid = mssql_query("SELECT * FROM memb_info WHERE memb_guid=(SELECT MAX(memb_guid) FROM memb_info)");
	$rid = mssql_fetch_array($qid);
	$id = $rid['memb_guid'];
	$id++;
	$register_query_1 = "SET IDENTITY_INSERT MEMB_INFO ON";
	$register_query_2 = "INSERT INTO MEMB_INFO (memb_guid,memb___id,memb__pwd,memb_name,sno__numb,post_code,addr_info,addr_deta,tel__numb,mail_addr,phon_numb,fpas_ques,fpas_answ,job__code,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('$id','$username','$password','$username',  '111111111', '1234', '11111', '111111111','12343', '$mail', '$mail', '$question', '$answer','1','2003-11-23', '2003-11-23', '2003-11-23', '2003-11-23', '1', '0', '1')";
	$md5 = $web['md5'];
	if($md5 == 1){
		$register_query_2 = "INSERT INTO MEMB_INFO (memb_guid,memb___id,memb__pwd,memb_name,sno__numb,post_code,addr_info,addr_deta,tel__numb,mail_addr,phon_numb,fpas_ques,fpas_answ,job__code,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('$id','$username',[dbo].[fn_md5]('$password','$username'),'$username',  '111111111', '1234', '11111', '111111111','12343', '$mail', '$mail', '$question', '$answer','1','2003-11-23', '2003-11-23', '2003-11-23', '2003-11-23', '1', '0', '1')";
	}
	$register_query_3 = "INSERT INTO VI_CURR_INFO (ends_days,chek_code,used_time,memb___id,memb_name,memb_guid,sno__numb,Bill_Section,Bill_value,Bill_Hour,Surplus_Point,Surplus_Minute,Increase_Days )  VALUES ('2005','1',1234,'$username','$username','$id','111111111','6','3','6','6','2003-11-23 10:36:00','0' )";
	$register_query_1 = mssql_query($register_query_1);
	$register_query_2 = mssql_query($register_query_2);
	$register_query_3 = mssql_query($register_query_3);
	show_ok('The account is successfully created.');
}

and are you sure that you have MD5 ON
 
thanks for helping, but i changed my server on no-md5 and made some configs and now it works like charm. All the pain in ass to make the website work
 
MeMoS брат как да го направим при ресет на герой да изчиства ивентара и героя че за момента е keep ?
 
mssql_query ("UPDATE Character SET [inventory]=CONVERT(varbinary(1080), null) WHERE Name='".$promenliva."'");

Заместете това в резет-а ви, като замените $promenliva с вашата за името на героя