Ir para conteúdo

Featured Replies

  • Respostas 145
  • Visualizações 43.2k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • luanluciano93
    luanluciano93

    Perfeito, obrigado por compartilhar, vai ajudar muita gente! O que acha de criarmos no github 3 projetos: datapack, sources e website todos mais atualzados (eu sei que tem o da otland, do printer e

  • add isso no config.lua passwordType = "sha1"

  • luanluciano93
    luanluciano93

    Tem sim, claro.  Quem sabe ele faz mais pra frente e adiciona, enfim, você pode add por enqt por comando no phpmyadmin ...  exemplo: INSERT INTO `z_shop_offer` (`id`, `points`, `itemid1`, `count

Posted Images

Postado

Erro

Comando SQL:

-- -- Banco de Dados: `teste` -- -- -------------------------------------------------------- -- -- Estrutura da tabela `accounts` -- CREATE TABLE IF NOT EXISTS `accounts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL, `password` char(40) NOT NULL, `type` int(11) NOT NULL DEFAULT '1', `premdays` int(11) NOT NULL DEFAULT '0', `lastday` int(10) unsigned NOT NULL DEFAULT '0', `email` varchar(255) NOT NULL DEFAULT '', `creation` int(11) NOT NULL DEFAULT '0', `key` varchar(20) NOT NULL DEFAULT '0', `email_new` varchar(255) NOT NULL DEFAULT '', `email_new_time` int(11) NOT NULL DEFAULT '0', `rlname` varchar(255) NOT NULL DEFAULT '', `location` varchar(255) NOT NULL DEFAULT '', `page_access` int(11) NOT NULL DEFAULT '0', `email_code` varchar(255) NOT NULL DEFAULT '', `next_email` int(11) NOT NULL DEFAULT '0', `premium_points` int(11) NOT NULL DEFAULT '0', `create_date` int(11) NOT NULL DEFAULT '0', `create_ip` int(11) NOT NULL DE[...]

Mensagens do MySQL : dot.gif

ajuda ?

Postado

@endenson e @ADM Guardian, o que tem na linha 4 do config/config.php?

 

@TioSlash, <3

 

Então, vou postar em spoiler o config.php, da uma olhada :P

 

<?PHP
# Account Maker Config
$config['site']['serverPath'] = "/otserv/";
$config['site']['useServerConfigCache'] = false;
$towns_list = array(1 => 'Venore',
2 => 'Thais',
3 => 'Kazordoon',
4 => 'Carlin',
5 => 'Ab/Dendriel',
6 => 'Rookgaard',
7 => 'Liberty Bay',
8 => 'Port Hope',
9 => 'Ankrahmun',
10 => 'Darashia',
11 => 'Edron',
12 => 'Svargrond',
13 => 'Yalahar',
14 => 'Farmine');
 
$config['site']['outfit_images_url'] = 'http://outfit-images.ots.me/outfit.php';
$config['site']['item_images_url'] = 'images/items/';
$config['site']['item_images_extension'] = '.gif';
$config['site']['flag_images_url'] = 'images';
$config['site']['flag_images_extension'] = '.png';
 
# Create Account Options
$config['site']['one_email'] = false;
$config['site']['create_account_verify_mail'] = false;
$config['site']['verify_code'] = true;
$config['site']['email_days_to_change'] = 3;
$config['site']['newaccount_premdays'] = 7;
$config['site']['send_register_email'] = false;
 
# Create Character Options
$config['site']['newchar_vocations'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
$config['site']['newchar_towns'] = array(2);
$config['site']['max_players_per_account'] = 4;
 
 
# Emails Config
$config['site']['send_emails'] = true;
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "mail.tibiaold.org";
$config['site']['smtp_port'] = 25;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "]!uX?SNaQ%nn";
 
# PAGE: whoisonline.php
$config['site']['private-servlist.com_server_id'] = 0;
/*
Server id on 'private-servlist.com' to show Players Online Chart (whoisonline.php page), set 0 to disable Chart feature.
To use this feature you must register on 'private-servlist.com' and add your server.
Format: number, 0 [disable] or higher
*/
 
# PAGE: characters.php
$config['site']['quests'] = array();
$config['site']['show_skills_info'] = false;
$config['site']['show_vip_storage'] = 0;
 
# PAGE: accountmanagement.php
$config['site']['send_mail_when_change_password'] = true;
$config['site']['send_mail_when_generate_reckey'] = true;
$config['site']['generate_new_reckey'] = true;
$config['site']['generate_new_reckey_price'] = 20;
 
# PAGE: guilds.php
$config['site']['guild_need_level'] = 100;
$config['site']['guild_need_pacc'] = false;
$config['site']['guild_image_size_kb'] = 50;
$config['site']['guild_description_chars_limit'] = 250;
$config['site']['guild_description_lines_limit'] = 6;
$config['site']['guild_motd_chars_limit'] = 250;
 
# PAGE: adminpanel.php
$config['site']['access_admin_panel'] = 555;
 
# PAGE: latestnews.php
$config['site']['news_limit'] = 6;
 
# PAGE: killstatistics.php
$config['site']['last_deaths_limit'] = 50;
 
# PAGE: team.php
$config['site']['groups_support'] = array(2, 3, 4, 5, 6);
 
# PAGE: highscores.php
$config['site']['groups_hidden'] = array(2, 3, 4);
$config['site']['accounts_hidden'] = array(1);
 
# PAGE: shopsystem.php
$config['site']['shop_system'] = true;
 
# PAGE: lostaccount.php
$config['site']['email_lai_sec_interval'] = 180;
 
# Layout Config
$config['site']['layout'] = 'tibiarl';
$config['site']['vdarkborder'] = '#505050';
$config['site']['darkborder'] = '#D4C0A1';
$config['site']['lightborder'] = '#F1E0C6';
$config['site']['download_page'] = true;
$config['site']['serverinfo_page'] = true;

Postado
  • Autor

Erro

Comando SQL:

-- -- Banco de Dados: `teste` -- -- -------------------------------------------------------- -- -- Estrutura da tabela `accounts` -- CREATE TABLE IF NOT EXISTS `accounts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL, `password` char(40) NOT NULL, `type` int(11) NOT NULL DEFAULT '1', `premdays` int(11) NOT NULL DEFAULT '0', `lastday` int(10) unsigned NOT NULL DEFAULT '0', `email` varchar(255) NOT NULL DEFAULT '', `creation` int(11) NOT NULL DEFAULT '0', `key` varchar(20) NOT NULL DEFAULT '0', `email_new` varchar(255) NOT NULL DEFAULT '', `email_new_time` int(11) NOT NULL DEFAULT '0', `rlname` varchar(255) NOT NULL DEFAULT '', `location` varchar(255) NOT NULL DEFAULT '', `page_access` int(11) NOT NULL DEFAULT '0', `email_code` varchar(255) NOT NULL DEFAULT '', `next_email` int(11) NOT NULL DEFAULT '0', `premium_points` int(11) NOT NULL DEFAULT '0', `create_date` int(11) NOT NULL DEFAULT '0', `create_ip` int(11) NOT NULL DE[...]

Mensagens do MySQL : dot.gif

ajuda ?

 

importa a Database se você executar no sql vai bugar.

 

 

Postado

Error ID: #E-3
More info: There is no key mysqlHost in server config
Errors list:

  • INFO - use server config cache: false

  • File: C:\xampp\htdocs\system/load.database.php   Line: 15
    File: C:\xampp\htdocs/index.php   Line: 21

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo