[Release] WarZED WebSite Template

Page 3 of 5 FirstFirst 12345 LastLast
Results 31 to 45 of 66
  1. #31
    Proficient Member Lewis Caddick is offline
    MemberRank
    May 2013 Join Date
    Casa Del LewisLocation
    160Posts

    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.

  2. #32
    Apprentice crazytank is offline
    MemberRank
    Sep 2013 Join Date
    18Posts

    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. =/

  3. #33
    Valued Member Mateuus is offline
    MemberRank
    Mar 2013 Join Date
    123Posts

    Re: WarZED WebSite Template

    Quote Originally Posted by crazytank View Post
    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;
        }
    }
    ?>

  4. #34
    Apprentice crazytank is offline
    MemberRank
    Sep 2013 Join Date
    18Posts

    Re: WarZED WebSite Template

    Quote Originally Posted by Mateuus View Post
    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.

  5. #35
    Account Upgraded | Title Enabled! Poster13 is offline
    MemberRank
    Jun 2013 Join Date
    395Posts

    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.!

  6. #36
    Member renildomarcio is offline
    MemberRank
    Mar 2013 Join Date
    BR, USALocation
    57Posts

    Re: WarZED WebSite Template

    I made some modifications to it kkkk


  7. #37
    Yuri-BR#1559 Yuri-BR is offline
    DeveloperRank
    Apr 2013 Join Date
    ☣️❤️Location
    1,040Posts

    Re: WarZED WebSite Template

    Quote Originally Posted by Poster13 View Post
    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 fuck your emulator.

    here's the proof:
    Last edited by Yuri-BR; 14-10-13 at 01:25 AM.

  8. #38
    Apprentice crazytank is offline
    MemberRank
    Sep 2013 Join Date
    18Posts

    Re: WarZED WebSite Template

    Quote Originally Posted by Yuri BR View Post
    I agree with you, the IKASU leaves several faults and then fuck your emulator.

    here's the proof:
    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.

  9. #39
    Proficient Member Lewis Caddick is offline
    MemberRank
    May 2013 Join Date
    Casa Del LewisLocation
    160Posts

    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

  10. #40
    Account Upgraded | Title Enabled! Poster13 is offline
    MemberRank
    Jun 2013 Join Date
    395Posts

    Re: WarZED WebSite Template

    Please delete this theard!!!!!!!!!!!

  11. #41
    Account Upgraded | Title Enabled! Poster13 is offline
    MemberRank
    Jun 2013 Join Date
    395Posts

    Re: WarZED WebSite Template

    Version is in the header does not work, iKasu hurt her, that's my Corrected version is fully working)))
    WarZED Site ( Fixed)

  12. #42
    Apprentice sronturk is offline
    MemberRank
    Mar 2014 Join Date
    İstanbul, TurkLocation
    23Posts

    Re: WarZED WebSite Template

    Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file C:\inetpub\wwwroot\site2/system/templates/compiled\wrt532b385d6a84c8.82877324' in C:\inetpub\wwwroot\site2\system\lib\class\smarty\sysplugins\smarty_internal_write_file.php:44 Stack trace: #0 C:\inetpub\wwwroot\site2\system\lib\class\smarty\sysplugins\smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('C:\inetpub\wwwr...', 'compileTemplateSource() #2 C:\inetpub\wwwroot\site2\system\lib\class\smarty\sysplugins\smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('C:\inetpub\wwwr...', NULL, NULL, NULL, true) #3 C:\inetpub\wwwroot\site2\system\lib\class\template\template.class.php(79): Smarty_Internal_TemplateBase->display('C:\inetpub\wwwr...') #4 C:\inetpub\wwwroot\site2\index.php(45): Template->displaySite('', 1395341405.3823) #5 {m in C:\inetpub\wwwroot\site2\system\lib\class\smarty\sysplugins\smarty_internal_write_file.php on line 44



    Error *.*

  13. #43
    Valued Member linuxking51 is offline
    MemberRank
    Oct 2013 Join Date
    132Posts

    Re: WarZED WebSite Template

    i have a problem with database connection php sql driver is installed




  14. #44
    Yuri-BR#1559 Yuri-BR is offline
    DeveloperRank
    Apr 2013 Join Date
    ☣️❤️Location
    1,040Posts

    Re: WarZED WebSite Template

    Quote Originally Posted by linuxking51 View Post
    i have a problem with database connection php sql driver is installed



    Microsoft Drivers 3.0 for PHP: http://www.microsoft.com/en-us/downl....aspx?id=20098

  15. #45
    Valued Member linuxking51 is offline
    MemberRank
    Oct 2013 Join Date
    132Posts

    Re: WarZED WebSite Template

    Microsoft Drivers 3.0 for PHP is installed :-D



Page 3 of 5 FirstFirst 12345 LastLast

Advertisement