• TibiaFace

    Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...

    .
    demo menumenu

    Afiliados



    Votar:

    [Web] error al crear cuenta

    Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje (Página 1 de 1.)

    1default [Web] error al crear cuenta el Miér Mayo 17, 2017 2:59 pm

    Hola amigos de Tibia Face, Necesito que me ayuden con un problema porfavor.

    me sale este error:
    [Tienes que estar registrado y conectado para ver este vínculo]

    y este es mi config.ini:
    Código:
    <?PHP
    # Account Maker Config
    $config['site']['serverPath'] = "C:/Users/aldacruz/Documents/CATACLYSM SERVER/";
    $config['site']['useServerConfigCache'] = false;
    $config['site']['worlds'] = array(0 => 'Cataclismo');
    $towns_list[0] = array(1 => 'Cataclysm');

    $config['site']['outfit_images_url'] = 'http://outfit-images.ots.me/outfit.php';
    $config['site']['item_images_url'] = 'http://item-images.ots.me/960/';
    $config['site']['item_images_extension'] = '.gif';
    $config['site']['flag_images_url'] = 'http://flag-images.ots.me/';
    $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'] = 999;
    $config['site']['send_register_email'] = false;

    # Create Character Options
    $config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample');
    $config['site']['newchar_towns'][0] = array(1);
    $config['site']['max_players_per_account'] = 7;


    # Emails Config
    $config['site']['send_emails'] = false;
    $config['site']['mail_address'] = "nicekun12@hotmail.com";
    $config['site']['smtp_enabled'] = true;
    $config['site']['smtp_host'] = "localhost";
    $config['site']['smtp_port'] = 25;
    $config['site']['smtp_auth'] = false;
    $config['site']['smtp_user'] = "aggroxstark";
    $config['site']['smtp_pass'] = "aldair";

    # PAGE: whoisonline.php
    $config['site']['private-servlist.com_server_id'] = 1;
    /*
    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'] = true;
    $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'] = false;
    $config['site']['generate_new_reckey_price'] = 500;

    # PAGE: guilds.php
    $config['site']['guild_need_level'] = 15;
    $config['site']['guild_need_pacc'] = false;
    $config['site']['guild_image_size_kb'] = 50;
    $config['site']['guild_description_chars_limit'] = 2000;
    $config['site']['guild_description_lines_limit'] = 6;
    $config['site']['guild_motd_chars_limit'] = 250;

    # PAGE: adminpanel.php
    $config['site']['access_admin_panel'] = 3;

    # PAGE: latestnews.php
    $config['site']['news_limit'] = 6;

    # PAGE: killstatistics.php
    $config['site']['last_deaths_limit'] = 40;

    # PAGE: team.php
    $config['site']['groups_support'] = array(2, 3, 4, 5, 6);

    # PAGE: highscores.php
    $config['site']['groups_hidden'] = array(4, 5, 6);
    $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'] = 'tibiacom';
    $config['site']['vdarkborder'] = '#505050';
    $config['site']['darkborder'] = '#D4C0A1';
    $config['site']['lightborder'] = '#F1E0C6';
    $config['site']['download_page'] = false;
    $config['site']['serverinfo_page'] = true;

    Espero su ayuda porfavor :v

    Ver perfil de usuario

    2default Re: [Web] error al crear cuenta el Miér Mayo 17, 2017 3:08 pm

    [Admin] God Maya

    avatar
    Administrador
    Administrador
    ejecuta esto en tu phpadmin/base de datos

    Código:
    ALTER TABLE accounts ADD "email_new_time" INTEGER(15) NOT NULL DEFAULT 0;



    Ver perfil de usuario http://www.tibiaface.com

    3default teste el Miér Mayo 17, 2017 3:25 pm

    me sale este error [Tienes que estar registrado y conectado para ver este vínculo]


    gracias admin god maya jaja, solo era error en las comillas :

    ALTER TABLE accounts ADD `email_new_time` INTEGER(15) NOT NULL DEFAULT 0;

    asi me funciono

    Ver perfil de usuario

    4default Re: [Web] error al crear cuenta el Miér Mayo 17, 2017 4:08 pm

    [Admin] God Maya

    avatar
    Administrador
    Administrador
    nc que tipo de web ni para que version de ot estes usando pero itenta asi

    Código:
    CREATE TABLE IF NOT EXISTS `accounts` (
      `id` INT(11) NOT NULL AUTO_INCREMENT,
      `name` VARCHAR(32) NOT NULL DEFAULT '',
      `password` VARCHAR(255) NOT NULL,
      `premdays` INT(11) NOT NULL DEFAULT '0',
      `lastday` INT(10) UNSIGNED NOT NULL DEFAULT '0',
      `email` VARCHAR(255) NOT NULL DEFAULT 'sample@mail.com',
      `key` VARCHAR(20) NOT NULL DEFAULT '0',
      `blocked` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'internal usage',
      `warnings` INT(11) NOT NULL DEFAULT '0',
      `group_id` INT(11) NOT NULL DEFAULT '1',
      `page_lastday` INT(11) NOT NULL DEFAULT '0',
      `email_new` VARCHAR(255) NOT NULL DEFAULT 'test',
      `email_new_time` INT(15) DEFAULT NULL,
      `created` 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 '0',
      `next_email` INT(11) NOT NULL DEFAULT '0',
      `premium_points` INT(11) NOT NULL DEFAULT '0',
      `vote` INT(11) DEFAULT NULL,
      `last_post` INT(11) DEFAULT NULL,
      `flag` VARCHAR(255) DEFAULT NULL,
      `vip_time` BIGINT(20) DEFAULT NULL,
      `referral` INT(10) DEFAULT NULL,
      `referral2` INT(10) DEFAULT NULL,
      `vip_time2` BIGINT(20) DEFAULT NULL,
      PRIMARY KEY (`id`),
      UNIQUE KEY `name` (`name`)
    ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8814087 ;



    Ver perfil de usuario http://www.tibiaface.com

    Contenido patrocinado


    Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje (Página 1 de 1.)

    Permisos de este foro:
    No puedes responder a temas en este foro.

     

    BienvenidosTibiaFace es una comunidad de Open Tibia. Para participar debes estar registrado (click para Regístrate).