Postado Dezembro 5, 2011 13 anos Estava criando meu ot com o Real Server 3.7 (8,60) - Tibiaking e quando fui instalar o site apareceu os seguintes erros abaixo: (so pra constar, foi testado em 4 sites gesior, e ocorre as mesmos erros, não sei oque pode ser, alguns dizem config.lua, outro dizem que é o site, outros dizem que é o otserver, creio que site não é, estarei esperando respostas) Notice: Undefined index: sqliteDatabase in C:\xampp\htdocs\Gesior ACC 0.3.8\install.php on line 79 Notice: Undefined index: useMD5Passwords in C:\xampp\htdocs\Gesior ACC 0.3.8\install.php on line 81 Notice: Undefined index: passwordType in C:\xampp\htdocs\Gesior ACC 0.3.8\install.php on line 81 Notice: Undefined index: passwordType in C:\xampp\htdocs\Gesior ACC 0.3.8\install.php on line 83 ignorei e continuei a seguir, quando cheguei a step 3 aparece isso: STEP 3 Add tables and columns to DB Installer try to add new tables and columns to database. Add columns to table accounts Can't add column page_lastday to table accounts, already exist? Can't add column email_new to table accounts, already exist? Can't add column email_new_time to table accounts, already exist? Can't add column created to table accounts, already exist? Can't add column rlname to table accounts, already exist? Can't add column location to table accounts, already exist? Can't add column page_access to table accounts, already exist? Can't add column email_code to table accounts, already exist? Can't add column next_email to table accounts, already exist? Can't add column premium_points to table accounts, already exist? Can't add column vote to table players, already exist? Can't add column last posts to table accounts, already exist? Can't add column flag to table accounts, already exist? Add columns to table guilds Can't add column description to table guilds, already exist? Can't add column logo_gfx_name to table guilds, already exist? Add columns to table players Can't add column created to table players, already exist? Can't add column nick_verify to table players, already exist? Can't add column old_name to table players, already exist? Can't add column hide_char to table players, already exist? Can't add column worldtransfer to table players, already exist? Can't add column comment to table players, already exist? Can't add column comment to table players, already exist? Can't add column comment to table players, already exist? Can't add column comment to table players, already exist? Can't add column comment to table players, already exist? Can't add column comment to table players, already exist? Add new tables to database Table z_news_tickers not added. Already exist? Table z_spells not added. Already exist? Table z_monsters not added. Already exist? Table z_ots_comunication not added. Already exist? Table z_shop_offer not added. Already exist? Table z_shop_history_item not added. Already exist? Table z_shop_history_pacc not added. Already exist? Table z_polls not added. Already exist? Table z_polls_answers not added. Already exist? Table zaypay_payment not added. Already exist? Table z_bug_tracker not added. Already exist? Table z_changelog not added. Already exist? Table z_forum not added. Already exist? Notice: Undefined variable: file_data in C:\xampp\htdocs\Gesior ACC 0.3.8\install.php on line 9 Ignorei e continuei a seguir, quando cheguei a step 4 aparece isso: STEP 4 Add samples to DB: News ticker sample is already in database. New sample is not needed. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'databasemdr.players' doesn't exist' in C:\xampp\htdocs\Gesior ACC 0.3.8\install.php:512 Stack trace: #0 C:\xampp\htdocs\Gesior ACC 0.3.8\install.php(512): PDO->query('SELECT * FROM p...') #1 {main} thrown in C:\xampp\htdocs\Gesior ACC 0.3.8\install.php on line 512 FOTOS ABAIXOS: Editado Dezembro 6, 2011 13 anos por yanmatheus (veja o histórico de edições)
Postado Dezembro 6, 2011 13 anos E porque voce tem adicionar uns trem de vip na database, agora nao to lembrando mais procura no google msm tem
Postado Dezembro 6, 2011 13 anos troque sua index.php, coloque isso dentro <?PHP session_start(); ob_start("ob_gzhandler"); //require('./exaBD.php'); function microtime_float() { list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec); } $time_start = microtime_float(); //##### CONFIG ##### include('config-and-functions.php'); $action = $_REQUEST['action']; //##### LOGOUT ##### if($action == "logout") { unset($_SESSION['account']); unset($_SESSION['password']); } //##### LOGIN ##### $logged = FALSE; if(isset($_SESSION['account'])) { $account_logged = $ots->createObject('Account'); $account_logged->load($_SESSION['account']); if($account_logged->isLoaded() && $account_logged->getPassword() == $_SESSION['password']) { $logged = TRUE; $group_id_of_acc_logged = $account_logged->getPageAccess(); } else { $logged = FALSE; unset($_SESSION['account']); unset($account_logged); } } $login_account = strtoupper(trim($_POST['account_login'])); $login_password = trim($_POST['password_login']); if(!$logged && !empty($login_account) && !empty($login_password)) { $login_password = password_ency($login_password); $account_logged = $ots->createObject('Account'); $account_logged->find($login_account); if($account_logged->isLoaded()) { if($login_password == $account_logged->getPassword()) { $_SESSION['account'] = $account_logged->getId(); $_SESSION['password'] = $login_password; $logged = TRUE; $account_logged->setCustomField("page_lastday", time()); $group_id_of_acc_logged = $account_logged->getPageAccess(); } else $logged = FALSE; } } //#### LOAD PAGE ########## if(empty($_REQUEST['subtopic'])) { $_REQUEST['subtopic'] = "latestnews"; $subtopic = "latestnews"; } switch($_REQUEST['subtopic']) { case "latestnews": $topic = "Latest News"; $subtopic = "latestnews"; include("latestnews.php"); break; case "creatures"; $topic = "Creatures"; $subtopic = "creatures"; include("creatures.php"); break; case "spells"; $topic = "Spells"; $subtopic = "spells"; include("spells.php"); break; case "bugtracker"; $topic = "Bug Tracker"; $subtopic = "bugtracker"; include("bug.php"); break; case "experiencetable"; $topic = "Experience Table"; $subtopic = "experiencetable"; include("experiencetable.php"); break; case "characters"; $topic = "Characters"; $subtopic = "characters"; include("characters.php"); break; case "whoisonline"; $topic = "Who is online?"; $subtopic = "whoisonline"; include("whoisonline.php"); break; case "highscores"; $topic = "Highscores"; $subtopic = "highscores"; include("highscores.php"); break; case "killstatistics"; $topic = "Last Kills"; $subtopic = "killstatistics"; include("killstatistics.php"); break; case "guilds"; $topic = "Guilds"; $subtopic = "guilds"; include("guilds.php"); break; case "accountmanagement"; $topic = "Account Management"; $subtopic = "accountmanagement"; include("accountmanagement.php"); break; case "createaccount"; $topic = "Create Account"; $subtopic = "createaccount"; include("createaccount.php"); break; case "lostaccount"; $topic = "Lost Account Interface"; $subtopic = "lostaccount"; include("lostaccount.php"); break; case "tibiarules"; $topic = "Server Rules"; $subtopic = "tibiarules"; include("tibiarules.php"); break; case "adminpanel": $topic = "Admin Panel"; $subtopic = "adminpanel"; include("adminpanel.php"); break; case "confirmacao": $topic = "Confirmacao"; $subtopic = "confirmacao"; include("confirmacao.php"); break; case "vantagens": $topic = "Vantagens"; $subtopic = "vantagens"; include("vantagens.php"); break; case "forum": $topic = "Forum"; $subtopic = "forum"; include("forum.php"); break; case "team"; $subtopic = "team"; $topic = "Gamemasters List"; include("team.php"); break; case "downloads"; $subtopic = "downloads"; $topic = "Downloads"; include("downloads.php"); break; case "serverinfo"; $subtopic = "serverinfo"; $topic = "Server Info"; include("serverinfo.php"); break; case "shopsystem"; $subtopic = "shopsystem"; $topic = "Shop System"; include("shopsystem.php"); break; case "doacao"; $subtopic = "doacao"; $topic = "Doacao"; include("doacao.php"); break; case "gallery"; $subtopic = "gallery"; $topic = "Gallery"; include("gallery.php"); break; case "namelock"; $subtopic = "namelock"; $topic = "Namelock Manager"; include("namelocks.php"); break; case "archive"; $subtopic = "archive"; $topic = "News Archives"; include("archive.php"); break; case "mail"; $subtopic = "mail"; $topic = "Mass emails sender"; include("mail.php"); break; case "shopadmin"; $subtopic = "shopadmin"; $topic = "Shop Admin"; include("shopadmin.php"); break; case "records"; $subtopic = "records"; $topic = "Players Online Records"; include("records.php"); break; case "restarter"; $subtopic = "restarter"; $topic = "Restarter"; include("restarter.php"); break; case "bans"; $subtopic = "bans"; $topic = "Ban List"; include("bans.php"); break; case "polls"; $topic = "Polls"; $subtopic = "polls"; include("polls.php"); break; case "changelog"; $topic = "Changelog"; $subtopic = "changelog"; include("changelog.php"); break; case "fragers"; $topic = "Top Fragers"; $subtopic = "fragers"; include("fragers.php"); break; case "paypal"; $topic = "Donate via PayPal"; $subtopic = "paypal"; include("paypal.php"); break; } if(empty($topic)) { $title = $GLOBALS['config']['server']["serverName"]." - OTS"; $main_content .= 'Invalid subtopic. Can\'t load page.'; } else { $title = $GLOBALS['config']['server']["serverName"]." - ".$topic; } //#####LAYOUT##### $layout_header = '<script type=\'text/javascript\'> function GetXmlHttpObject() { var xmlHttp=null; try { xmlHttp=new XMLHttpRequest(); } catch (e) { try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp; } function MouseOverBigButton(source) { source.firstChild.style.visibility = "visible"; } function MouseOutBigButton(source) { source.firstChild.style.visibility = "hidden"; } function BigButtonAction(path) { window.location = path; } var'; if($logged) { $layout_header .= "loginStatus=1; loginStatus='true';"; } else { $layout_header .= "loginStatus=0; loginStatus='false';"; }; $layout_header .= " var activeSubmenuItem='".$subtopic."';</script>"; include($layout_name."/layout.php"); ob_end_flush(); ?> Regras Gerais "Califórnia Brasileira "
Postado Dezembro 7, 2011 13 anos Autor Pessoal achei um tutorial de como arrumar no forum do tibiaking, que o video foi postado pelo Doiidin (Dono do TibiaKings), so que tinha um video tutorial e foi removido pelo Matheus(Doidin). Porfavor galera ajudem ai. Editado Dezembro 8, 2011 13 anos por Augusto Links de outro fórum! (veja o histórico de edições)
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.