Navigacija

Vartotojų tinkle

Prisijungusių svečių: 116
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,963
Naujausias narys: WolfHammer

Naujausi straipsniai

Paskutiniai nariai

minimukas21:15:40
N-20 2 savaitės
Reikalas 2 savaitės
Rytis 3 savaitės
DjArtas 4 savaitės
WolfHammer 4 savaitės
Nostesi14 savaitės
Wisedocs15 savaitės
asdasdddz18 savaitės
Paslapties K...19 savaitės
Audrius_1722 savaitės
Simbijanas34 savaitės
Karinacraft35 savaitės
Žmogus38 savaitės
Bruksnys42 savaitės
Darexs45 savaitės
Nepas46 savaitės
keistuole48 savaitės
Gizmis49 savaitės
MaFetas63 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 216.73.216.62
Naujienų: 529
Straipsnių: 235
Temų: 52,590
Postų: 522,550
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

minimukas
2026 Vas. 21 08:02:25
oi oi akinanti šypsen yra dar cia gyvu? akinanti šypsen

N-20
2026 Vas. 6 21:02:05
O mes dar gyvi šypsosi)

WolfHammer
2026 Sau. 25 01:01:35
drovus

Žmogus
2025 Geg. 31 10:05:18
Kas geresnio? šypsosi

Nepas
2025 Bal. 9 17:04:13
drovus

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Sql: Problema biski su php/mysql
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Kiti PHP, HTML, MySQL klausimai

Autorius: Floude Peržiūrų: 2888      Spausdinti temą
2014 Vas. 18 15:02:49          1 žinutė iš 8
Spausdinti pranešimą
http://lithuanian.us.lt/install/... veike travianas tik biski atnaujinau ir neleidzia toliau baikti atnaujinimus ir installiuoti viso game meta klaida


Fatal error: Cannot redeclare class MYSQLi_DB in /home/lithuania/domains/lithuanian.us.lt/public_html/install/include/database.php on line 7


Kai istaisau meta jau

on line 20 o jaigu dar ja istaisai vel 7
kas cia galetu buti gal kas padetu?
2014 Vas. 18 20:02:23          2 žinutė iš 8
Spausdinti pranešimą
Tipo niekas nezino kas cia gali buti?
2014 Vas. 18 20:02:31          3 žinutė iš 8
Spausdinti pranešimą
tikriausiai naudoji nuripintą nulled versiją, o tokios paprastai turi begales klaidų. ištaisius vieną išlįs kita ir panašiai..

niekas konkrečiai nieko nepasakys, net neparodai kas ten per eilutės kodo.

2014 Vas. 18 20:02:14          4 žinutė iš 8
Spausdinti pranešimą
Jai turi skype: Gby-lt pakviesk per team wiewer 9 gal padetum?
2014 Vas. 18 20:02:32          5 žinutė iš 8
Spausdinti pranešimą
Floude parašė:
Jai turi skype: Gby-lt pakviesk per team wiewer 9 gal padetum?

ne, sorry, jokių išorinių pagalbų, naudojamės forumu
bent jau parodyk kas per eilutės kuriose klaida..

2014 Vas. 18 20:02:25          6 žinutė iš 8
Spausdinti pranešimą
3 funkcija dabar ismete


Warning: file_get_contents(data/sql.sql) [function.file-get-contents]: failed to open stream: No such file or directory in /home/lithuania/domains/lithuanian.us.lt/public_html/install/process.php on line 90
 
Warning: Cannot modify header information - headers already sent by (output started at /home/lithuania/domains/lithuanian.us.lt/public_html/install/process.php:90) in /home/lithuania/domains/lithuanian.us.lt/public_html/install/process.php on line 98


Kur cia beda gal istaisysit?


<?php
 
date_default_timezone_set('Asia/Tehran');
if(file_exists("include/constant.php") && file_exists("include/connection.php")) {
include ("include/database.php");
}
class Process {
 
function Process() {
if(isset($_POST['subconst'])) {
$this->constForm();
} else
if(isset($_POST['substruc'])) {
$this->createStruc();
} else
if(isset($_POST['subwdata'])) {
$this->createWdata();
} else
if(isset($_POST['subacc'])) {
$this->createAcc();
} else {
header("Location: index.php");
}
}
 
function constForm() {
global $database;
$myFile = "include/constant.php";
$fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: install\include\constant.php");
$text = file_get_contents("data/constant_format.tpl");
$text = preg_replace("'%TRADERCAP%'", $_POST['tradercap'], $text);
$text = preg_replace("'%CRANNYCAP%'", $_POST['crannycap'], $text);
$text = preg_replace("'%TRAPPERCAP%'", $_POST['trappercap'], $text);
$text = preg_replace("'%UTRACK%'", $_POST['trackusers'], $text);
$text = preg_replace("'%UTOUT%'", $_POST['timeout'], $text);
$text = preg_replace("'%AUTOD%'", $_POST['autodel'], $text);
$text = preg_replace("'%AUTODT%'", $_POST['autodeltime'], $text);
$text = preg_replace("'%MAX%'", $_POST['wmax'], $text);
$text = preg_replace("'%ANAME%'", $_POST['aname'], $text);
$text = preg_replace("'%ARANK%'", $_POST['admin_rank'], $text);
$text = preg_replace("'%STARTTIME%'", time(), $text);
$text = preg_replace("'%LIMIT_MAILBOX%'", $_POST['limit_mailbox'], $text);
$text = preg_replace("'%MAX_MAILS%'", $_POST['max_mails'], $text);
$text = preg_replace("'%VILLAGE_EXPAND%'", $_POST['village_expand'], $text);
$text = preg_replace("'%ERROR%'", $_POST['error'], $text);
$text = preg_replace("'%GREAT_WKS%'", $_POST['great_wks'], $text);
$text = preg_replace("'%TS_THRESHOLD%'", $_POST['ts_threshold'], $text);
$text = preg_replace("'%SSTARTDATE%'", $_POST['start_date'], $text);
$text = preg_replace("'%SSTARTTIME%'", $_POST['start_time'], $text);
$text = preg_replace("'%REG_OPEN%'", $_POST['reg_open'], $text);
$text = preg_replace("'%PEACE%'", $_POST['peace'], $text);
$text = preg_replace("'%LIMIT_TROOPS%'", $_POST['limit_troops'], $text);
$text = preg_replace("'%STORAGE_MULTIPLIER%'", $_POST['storage_multiplier'], $text);
fwrite($fh, $text);
fclose($fh);
 
$myFile = "include/connection.php";
$fh = fopen($myFile, 'w') or die("<br/><br/><br/>Can't open file: install\include\connection.php");
$text = file_get_contents("data/connection.tpl");
$text = preg_replace("'%SSERVER%'", $_POST['sserver'], $text);
$text = preg_replace("'%SUSER%'", $_POST['suser'], $text);
$text = preg_replace("'%SPASS%'", $_POST['spass'], $text);
$text = preg_replace("'%SDB%'", $_POST['sdb'], $text);
$text = preg_replace("'%PREFIX%'", $_POST['prefix'], $text);
$text = preg_replace("'%CONNECTT%'", $_POST['connectt'], $text);
 
fwrite($fh, $text);
 
if(file_exists("include/constant.php") && file_exists("include/connection.php")) {
include 'include/database.php';
$str = file_get_contents("data/config.sql");
$str = preg_replace("'%PREFIX%'", TB_PREFIX, $str);
if(DB_TYPE) {
$database->connection->multi_query($str);
} else {
$database->mysql_exec_batch($str);
}
mysql_query("INSERT into ".$_POST['prefix']."config values ('".$_POST['servername']."', '".$_POST['lang']."', '".$_POST['speed']."', 'gpack/travian_Travian_4.0_41/', '".$_POST['incspeed']."', '".$_POST['evaspeed']."', '".$_POST['healspeed']."', '".$_POST['advspeed']."', '".$_POST['demolish']."', '".$_POST['quest']."', '".$_POST['beginner']."', '".$_POST['auction_time']."', '".$_POST['ww']."', '".$_POST['activate']."', '".$_POST['plus_time']."', '".$_POST['plus_production']."', '".$_POST['log_build']."', '".$_POST['log_tech']."', '".$_POST['log_login']."', '".$_POST['log_gold_fin']."', '".$_POST['log_admin']."', '".$_POST['log_war']."', '".$_POST['log_market']."', '".$_POST['log_illegal']."', '".$_POST['box1']."', '".$_POST['box2']."', '".$_POST['box3']."', '".$_POST['home1']."', '".$_POST['home2']."', '".$_POST['home3']."', '".$_POST['aemail']."', '".$_POST['homepage']."')");
 
header("Location: index.php?s=2");
} else {
header("Location: index.php?s=1&c=1");
}
 
fclose($fh);
}
 
function createStruc() {
global $database;
$str = file_get_contents("data/sql.sql");
$str = preg_replace("'%PREFIX%'", TB_PREFIX, $str);
if(DB_TYPE) {
$result = $database->connection->multi_query($str);
} else {
$result = $database->mysql_exec_batch($str);
}
if($result) {
header("Location: index.php?s=3");
} else {
header("Location: index.php?s=2&c=1");
}
}
 
function createWdata() {
header("Location: include/wdata.php");
}
 
}
;
 
$process = new Process;
 
?>


2014 Vas. 18 22:02:55          7 žinutė iš 8
Spausdinti pranešimą
nera data/sql.sql failo
2014 Vas. 19 16:02:09          8 žinutė iš 8
Spausdinti pranešimą
Kas sutvarkytu? skype: gby-lt

Peršokti į forumą: