Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] WarZED WebSite Template

Status
Not open for further replies.
Joined
Jun 30, 2013
Messages
421
Reaction score
157
Re: WarZED WebSite Template

i read on the internet pdo driver as missing but i ave pdo installed well and works fine. i tink is because runing sql server and not mysql server. i cant explain much more
I fixed it and now I see the main page)) but when I go to the registration page to me is an error in the address bar, it says:

[h=2]ERROR HTTP 404.0 - Not Found[/h]Please Help me)
 
Newbie Spellweaver
Joined
Sep 11, 2013
Messages
11
Reaction score
1
Re: WarZED WebSite Template

check folders in sql server or wwroot folder. How do you fix this error?
 
Joined
Jun 30, 2013
Messages
421
Reaction score
157
Re: WarZED WebSite Template

Why do all the pages shows homepage? Guys please help.
For example I open the registration page but directs me to the homepage guys please help.
cree - [Release] WarZED WebSite Template - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Sep 11, 2013
Messages
11
Reaction score
1
Re: WarZED WebSite Template

i cant pass the database error
 
Joined
Jun 30, 2013
Messages
421
Reaction score
157
Re: WarZED WebSite Template

I am Enabled log/ how to fix??? I am Using IIS7
errr - [Release] WarZED WebSite Template - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
May 30, 2013
Messages
41
Reaction score
8
Re: WarZED WebSite Template

Lu84x7U - [Release] WarZED WebSite Template - RaGEZONE Forums

how do I fix this error?
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Mar 26, 2013
Messages
57
Reaction score
19
Re: WarZED WebSite Template

404.0 - Not Found

Please help! How to fix?

Create a folder named account in C:\inetpub\wwwroot
and make an index with this code below :D

Code:
	<div class="well span6">		<p>Seja Bem Vindo<font color=red size=5> <?php echo ucfirst($_SESSION['username']);?>!</font><br>
	Mantenha-se sempre atualizado no nosso site com as ultimas notícias e eventos<br>
	Atenciosamente Equipe KAOZ.</p>
	<?php if($_SESSION['developer'] == 1)
			echo "<p><font color=green size=3>Você tem previlégios de DEV</font></p>"; else echo"<p><font color=red size=3>Você não tem previlégios de DEV</font></p>";?>
			
			
	<?php  echo "<p>O ID de sua conta é <font color=white size=5> ". $_SESSION['customerID']."</font></p>";?>


		<?php while( $row = sqlsrv_fetch_array( $email2, SQLSRV_FETCH_ASSOC) ) {
		  echo '<p>Seu email é : <font color=white size=4>'.$row['email'].'</font></p>'; } ?>
		  
		<?php while( $row10 = sqlsrv_fetch_array( $login, SQLSRV_FETCH_ASSOC) ) {
		  echo '<p>Ultimo IP logado : <font color=white size=4>'.$row10['lastloginIP'].'</font></p>'; } ?>
	
		<?php while( $row3 = sqlsrv_fetch_array( $stmt3, SQLSRV_FETCH_ASSOC) ) {
		  if($row3['AccountStatus'] == 100) echo '<p>Status de Sua Conta: <font color=green size=4>Conta Ativa</font></p>'; else echo '<p>Status de Sua Conta: <font color=red size=4>Conta Banida</font></p>'; } ?>
		  
		  	<?php while( $row4 = sqlsrv_fetch_array( $stmt4, SQLSRV_FETCH_ASSOC) ) {
		  echo '<p>Seu cash atual é : <font color=white size=5>'.$row4['GamePoints'].'</font></p>'; } ?>
		  
	<p>Abaixo Você pode conferir informações básicas sobre seu Sobrevivente</p>	
	<?php while( $row = sqlsrv_fetch_array( $stmt, SQLSRV_FETCH_ASSOC) ) {
		  echo '<a href="characters.php?characterName='.$row['Gamertag'].'">'.$row['Gamertag'].'</a><br />'; } ?>
		  
		          <form  action="https://pagseguro.uol.com.br/security/webpagamentos/webpagto.aspx" onsubmit="return enviar"() method="post" target="_blank" id="pagse" name="pagse">
        <input type="hidden" name="email_cobranca" value="doidloko@hotmail.com">
<input type="hidden" name="tipo" value="CP">
<input type="hidden" name="moeda" value="BRL">
<input type="hidden" name="item_id_1" value="12">
<input type="hidden" name="item_quant_1" value="1">
<input type="hidden" name="item_descr_1" value="<?php echo $_SESSION['customerID']; ?>"/>
<input type="hidden" name="item_peso_1" value="0">
  
<H3>PAGSEGURO</h3>
  » Cash Liberado em até 24 Horas após aprovação:<br>
        <table width="100%" border="0" cellpadding="5">
  <tr>
    <td width="50%" align="right" bgcolor="#303030"><strong>ID de sua Conta:</strong></td>
    <td width="50%" bgcolor="#303030"><input type="text" class="campos" disabled="disabled" name="item_descr_2" value="<?php echo $_SESSION['customerID']; ?>"></td>
  </tr>
  <tr>
    <td align="right" bgcolor="#303030"><strong>Valor a Donatar:</strong></td>
    <td bgcolor="#303030"><input type="text" name="item_valor_1" id="item_valor_1" class="campos" onBlur="if((this.value=='') || (this.value=='0,') || (this.value=='0,0') || (this.value=='0'))this.value='0,00';" onKeyPress="if (event.keyCode < 44 || event.keyCode > 57 ) event.returnValue = false; return ApenasNumeros(event)" onKeyDown="FormataValor(this,event,13,2);" value="0,00"></td>
  </tr>
  <tr>
    <td colspan="2" align="center" bgcolor="#303030"><input name="contribuir" class="button"
    onclick="retirar('item_valor_1')"  type="submit" id="contribuir" value="Efetuar Doação" /></td>
  </tr>
        </table>
      </form>
	  
	  </br>
	  <H3>PAYPAL</h3>
  » Cash Liberado em até 24 Horas após aprovação:<br>
	  <table width="100%" border="0" cellpadding="5">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top" target="_blank">
  <tr>
    <td width="50%" align="right" bgcolor="#303030"><strong>ID de sua Conta:</strong></td>
    <td width="50%" bgcolor="#303030"><input type="text" class="campos" disabled="disabled" name="item_descr_2" value="<?php echo $_SESSION['customerID']; ?>"></td>
  </tr>
    <tr>
    <td align="right" bgcolor="#303030"><strong>Valor a Donatar:</strong></td>
    <td bgcolor="#303030"><input type="text" name="item_valor_5" id="item_valor_5" class="campos" onBlur="if((this.value=='') || (this.value=='0,') || (this.value=='0,0') || (this.value=='0'))this.value='0,00';" onKeyPress="if (event.keyCode < 44 || event.keyCode > 57 ) event.returnValue = false; return ApenasNumeros(event)" onKeyDown="FormataValor(this,event,13,2);" value="0,00"></td>
  </tr>
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="BQUXZ573D4B78">
<input type="hidden" name="item_name" value="<?php echo $_SESSION['customerID']; ?>">
  <tr>
    <td colspan="2" align="center" bgcolor="#303030"><input name="contribuir" class="button"
    onclick="retirar('item_valor_5')"  type="submit" id="contribuir" value="Efetuar Doação" /></td>
  </tr>
</form>
</table>




</div>
 
Junior Spellweaver
Joined
May 13, 2013
Messages
160
Reaction score
14
Re: WarZED WebSite Template

does no one know how to fix this stupid driver error i have all the pdo drivers installed and enabled and it just wont get past that screen.
 
Newbie Spellweaver
Joined
Sep 14, 2013
Messages
18
Reaction score
7
Re: WarZED WebSite Template

I can't get past the Datenbank Error. Anyone know how to fix? I've tried everything, all tables are imported, i have the PDO drivers....

Just stuck. =/
 
Junior Spellweaver
Joined
Mar 29, 2013
Messages
123
Reaction score
39
Re: WarZED WebSite Template

I can't get past the Datenbank Error. Anyone know how to fix? I've tried everything, all tables are imported, i have the PDO drivers....

Just stuck. =/

Code:
<?php
/*
 * @author      Mythen (Tobias K.)
 * @copyright   2012 Mythen (Tobias K.)
 * @project     NetCMS
 */


if(!defined("NDB")){
    die("Der Aufruf dieser Datei ist nicht gestattet!");
}


class MSSQL {
    
    protected static $dbResource;
    protected static $lastQuery;
    
    function __construct(){
        try{
           //self::$dbResource = new PDO("mssql:host=".$host.";dbname=".$datenbank.";charset=".$charset, $user, $pass);
		  
		   self::$dbResource =  new PDO("sqlsrv:Server=localhost;Database=Warz", "root", "pass");
		 
            self::$dbResource->exec("SET NAMES 'UTF8'");
        }catch(PDOException $ex){
            NDB::showError("Datenbank Error", "Es konnte keine Verbindung zur Datenbank hergestellt werden.<br><br>Grund:<br>".$ex->getMessage());
        }
    }
    
    public static function sendQuery($qry){
	if(strpos($qry, ";") !== false){$qry = "";}
        try{
            self::$lastQuery = self::$dbResource->prepare($qry);
            self::$lastQuery->execute();
        }catch(PDOException $ex){
            NDB::showError("Datenbank Error", "<b>Invalid SQL:</b><br>".$qry."<br><br><b>Fehler Meldung:</b><br>".$ex->getMessage());
        }
        return self::$lastQuery;
    }
    
    public static function fetchArray($qry = null){
        if($qry !== null){ self::$lastQuery = $qry; }
        $result = self::$lastQuery->fetch(PDO::FETCH_ASSOC);
        return $result;
    }
    
    public static function count($table, $where = "", $order = ""){
        if(!empty($where)){
            $qry = self::sendQuery("SELECT COUNT(*) as count FROM ".$table." WHERE ".$where.$order);
            $fetch = self::fetchArray($qry);
            return $fetch["count"];
        }elseif(!empty($order)){
            $qry = self::sendQuery("SELECT COUNT(*) as count FROM ".$table." ".$order);
            $fetch = self::fetchArray($qry);
            return $fetch["count"];
        }else{
            $qry = self::sendQuery("SELECT COUNT(*) as count FROM ".$table);
            $fetch = self::fetchArray($qry);
            return $fetch["count"];
        }
    }
    
    public static function getInsertID(){
        $result = self::$dbResource->lastInsertId();
        return $result;
    }
    
    public static function getTables($db){
        $tables = array();
        $result = self::sendQuery("SHOW TABLES FROM `".$db."`");
        while ($row = self::fetchArray($result)) {
            $tables[] = $row[0];
        }
        return $tables;
    }
    
    function __destruct(){
        self::$dbResource = null;
    }
}
?>
 
Newbie Spellweaver
Joined
Sep 14, 2013
Messages
18
Reaction score
7
Re: WarZED WebSite Template

Code:
    function __construct(){
        try{
           //self::$dbResource = new PDO("mssql:host=".$host.";dbname=".$datenbank.";charset=".$charset, $user, $pass);
          
           self::$dbResource =  new PDO("sqlsrv:Server=localhost;Database=Warz", "root", "pass");

Thumbs up! Thanks to you now I can see the main page and log in. But it seems that it doesn't have any functions, I mean, all the links are broken because in the download that iKasu posted there is no account, market, ranking, trading folders and etc. If anyone made it, please post so people can use. If someone is working on them, let me know, I wanna try to help.
 
Joined
Jun 30, 2013
Messages
421
Reaction score
157
Re: WarZED WebSite Template

Guys! You're making a nonsense! Do not use this site! It lends itself to the SQL injections, iKasu will not let you live in peace, it will constantly break your database! Also this site has a huge flaw! There's a lot of different ways Dupe things.!
 
Newbie Spellweaver
Joined
Mar 26, 2013
Messages
57
Reaction score
19
Re: WarZED WebSite Template

I made some modifications to it kkkk

BraXXZw - [Release] WarZED WebSite Template - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Joined
Apr 2, 2013
Messages
1,098
Reaction score
4,468
Re: WarZED WebSite Template

Guys! You're making a nonsense! Do not use this site! It lends itself to the SQL injections, iKasu will not let you live in peace, it will constantly break your database! Also this site has a huge flaw! There's a lot of different ways Dupe things.!

I agree with you, the IKASU leaves several faults and then duck your emulator.

here's the proof:
UmSn3Hr - [Release] WarZED WebSite Template - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Sep 14, 2013
Messages
18
Reaction score
7
Re: WarZED WebSite Template

I agree with you, the IKASU leaves several faults and then duck your emulator.

here's the proof:
UmSn3Hr - [Release] WarZED WebSite Template - RaGEZONE Forums

If he's acting like this and this is a scam, I think that this thread has to be deleted. I didn't know of anything about this, thank you for telling me.
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
May 13, 2013
Messages
160
Reaction score
14
Re: WarZED WebSite Template

i now get this once i have everything working.

Notice: Undefined variable: sliders in C:\inetpub\wwwroot\system\lib\class\template\template.class.php on line 158

Notice: Undefined variable: paginateArray in C:\inetpub\wwwroot\system\lib\class\template\paginate.class.php on line 51
 
Status
Not open for further replies.
Back
Top