Register for your free account! | Forgot your password?

You last visited: Today at 10:12

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

Advertisement



wanna finish that

Discussion on wanna finish that within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 448
Received Thanks: 42
wanna finish that

can anyone just tell me pls where i can upload the silkroad website i have it already on my localhost with xampp but i need a FREE one just for me and my friends thats why i dont need something professional so is anyone there that can help me out with that problem ?
Gol.D.Roger is offline  
Old 01/23/2014, 23:07   #2

 
Callum's Avatar
 
elite*gold: 5
Join Date: Mar 2008
Posts: 6,296
Received Thanks: 3,819
Buy a host for like $4 a month and use FireZilla
Callum is offline  
Old 01/23/2014, 23:15   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 448
Received Thanks: 42
i maked it with filezilla and it doesnt worked i used bplaced for that did i something wrong ? i got everytime an error on the site

here was anything wrong $this->sqlLink = sqlsrv_connect($mssql_server, $db); but idk what the hell it was it says on line 15 and its that i used filezilla and bplaced everything worked fine only this one doesnt wanted to work
Gol.D.Roger is offline  
Old 01/24/2014, 00:26   #4
 
elite*gold: 20
Join Date: Jun 2012
Posts: 2,517
Received Thanks: 1,412
wrong db connection obviously.
WickedNite is offline  
Old 01/24/2014, 01:01   #5
 
elite*gold: 0
Join Date: Mar 2009
Posts: 448
Received Thanks: 42
Dam i didnt change anything in the databases so it can conmect i only edited the config for the website pc name ip and so on i thought that was it what must i do ... i really wanna set it up this time i failed 2 times and gave it up
Gol.D.Roger is offline  
Old 01/24/2014, 01:45   #6
 
iNhaLaToR's Avatar
 
elite*gold: 20
Join Date: Jan 2013
Posts: 187
Received Thanks: 26
Sqlsrv Connect functions are only available on Windows. On Linux you may use mssql_connect or pdo_dblib.. Pretty hard to figure out whats working.. Spend a lot time to it :/
iNhaLaToR is offline  
Thanks
1 User
Old 01/24/2014, 08:34   #7
 
elite*gold: 0
Join Date: Mar 2009
Posts: 448
Received Thanks: 42
Iam using windows 7 ultimate 64 bit version ???

Bump

look here for the problem and i show you all that you can better look whats wrong



<?php
class mssql {
var $config = "config.inc.php";
var $sqlLink;
var $sqlQuery;
var $rowCount;
var $arr;

function dbOpen($dbName) {
if (!$this->sqlLink) {
include_once("$this->config");
global $mssql_server;
$db = array("Database"=>"$dbName");
$this->mssql_server = $mssql_server;



this one is the problem -> $this->sqlLink = sqlsrv_connect($mssql_server, $db);
if (!$this->sqlLink) {
echo "Error: Connection to the database couldn't be established. <br />";



}
return;
} else {
exit;
}
}
function dbClose() {
sqlsrv_close($this->sqlLink);
}
function dbQuery($string) {
$this->sqlQuery = sqlsrv_query($this->sqlLink, $string);
if(!$this->sqlQuery){
echo "Error: Query execution failed. <br />";
die( print_r( sqlsrv_errors(), true));
}
return $this->sqlQuery;
}
function numRows($string) {
$params = array();
$opt = array("Scrollable" => SQLSRV_CURSOR_KEYSET);
$stmt = sqlsrv_query($this->sqlLink, $string, $params, $opt);
$this->rowCount = sqlsrv_num_rows($stmt);

return $this->rowCount;
}
function fetchArray($string) {
$query = $this->dbQuery($string);
$this->arr = sqlsrv_fetch_array($query);

return $this->arr;
}
function getFortData($fortID) {
$row = $this->fetchArray("SELECT * FROM _SiegeFortress WHERE FortressID = $fortID");
echo '<td style="border:1px solid #3f3f3f;">';
$fortName = $row["FortressID"];
switch ($fortName) {
case 1:
echo "<img style='vertical-align:middle;' src='img/fort-jangan.png' /></td><td style='border:1px solid #3f3f3f;width:160px;'>Jangan fortress</td>";
break;
case 3:
echo "<img style='vertical-align:middle;' src='img/fort-hotan.png' /></td><td style='border:1px solid #3f3f3f;width:160px;'>Hotan fortress</td>";
break;
case 6:
echo "<img style='vertical-align:middle;' src='img/fort-bandit.png' /></td><td style='border:1px solid #3f3f3f;width:160px;'>Bandit fortress</td>";
break;
}
echo '</td>';
echo '<td style="border:1px solid #3f3f3f;width: 250px">';
$guildID = $row["GuildID"];
$guildName = $this->fetchArray("select Name from _Guild where ID = $guildID");
echo $guildName['Name'];
echo '</td>';
echo '<td style="border:1px solid #3f3f3f;width: 220px;">';
echo $row['TaxRatio']."%";
echo '</td>';
}
}
?>

or could anyone of you give me a website thats already on elitepvpers that works with filezilla if you mean that will work ??
Gol.D.Roger is offline  
Reply


Similar Threads Similar Threads
JUST TO FINISH :)
10/11/2011 - CO2 Private Server - 2 Replies
I do not know what happens over my source is sending to botjail account, it already happened to someone? what to do? *-*
MY SIGNATURE COLLENTION!,WANNA POST YOURS?POST IT HERE! I WANNA SEE!
01/23/2010 - Grand Chase - 43 Replies
hey guys,i wuz kinnda bored and i thought ill make somethin fun so ive decided to make this thread, you can post your signature collections :D Heres mine: Note:all of these signatures are requests from other members. http://i940.photobucket.com/albums/ad242/genisis2 _2009/Jaspmash_Sig_Request.jpg http://i940.photobucket.com/albums/ad242/genisis2 _2009/LASS_SIG_MXADEXAH.jpg http://i940.photobucket.com/albums/ad242/genisis2 _2009/SIG_RONAN-MISTERYOSO.jpg...
[HELP]/GM FINISH 5
05/13/2009 - Dekaron Private Server - 9 Replies
Hello . Can U help me ? i just closed my server with that command . /gm finish 5 that server will be ended in 5 mins. but now i cant connect to my server channel .???? any help plz ????? thx
Any 1 Help me Finish this off
07/04/2008 - Dekaron - 9 Replies
Ok I am trying to get the eu hacks to work again. so far i have tryed downgrading the game and bypassing gg with both SECportal and EUR folder :( no succsess also i have tryed editing the mobs with winhex resulting in faliur the only thing i can get to work is a wall hack but thats no good with out vac grrr
wanna get rich? ;];] wanna pk in market?
03/30/2006 - CO2 Exploits, Hacks & Tools - 67 Replies
you know you wanna know this sercret about conquer online but you must be also paticent.. OK when you get to lvl 40 go to the forest mine>go down the right ladder and then the right ladder again now go across and stop when you get to 062,019 on your coordiantes.. Then face north west to the wall.. Ok now the gems will come in time first you will get normal, then refine and finally supers.. If you move the process starts over so dont move..There are more mine spots but this is the only one i...



All times are GMT +1. The time now is 10:13.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.