Hitman94
Member
- Joined
- Feb 9, 2009
- Messages
- 88
- Solutions
- 1
- Reaction score
- 12
Wrong characters configuration. Try again or contact with admin. ADMIN: Edit file config/config.php
OldServ - Latestnews ::Alternative Open Tibia Server::
hey i have problem to create chcaracter gesior acc i have sample i DB
i have ubuntu 16.04 php 7.0
It seems to me that maybe something is blocking the connection to the base but I am new and I can be wrong, I am asking for help already with this 2 day
/var/log/apache2/error.log
config.php
config.lua
OldServ - Latestnews ::Alternative Open Tibia Server::
hey i have problem to create chcaracter gesior acc i have sample i DB
i have ubuntu 16.04 php 7.0
It seems to me that maybe something is blocking the connection to the base but I am new and I can be wrong, I am asking for help already with this 2 day
/var/log/apache2/error.log
Code:
[Sun Jul 15 13:39:00.831799 2018] [:error] [pid 19818] [client 90.155.254.160:45993] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355
[Sun Jul 15 13:44:29.820086 2018] [:error] [pid 19425] [client 46.134.66.106:5366] PHP Warning: Invalid argument supplied for foreach() in /var/www/pages/latestnews.php on line 18
[Sun Jul 15 13:44:29.820736 2018] [:error] [pid 19425] [client 46.134.66.106:5366] PHP Warning: Invalid argument supplied for foreach() in /var/www/pages/latestnews.php on line 286
[Sun Jul 15 13:44:29.822206 2018] [:error] [pid 19425] [client 46.134.66.106:5366] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355
[Sun Jul 15 13:44:33.591987 2018] [:error] [pid 19425] [client 46.134.66.106:5366] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/
[Sun Jul 15 13:44:36.690228 2018] [:error] [pid 19425] [client 46.134.66.106:5366] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=highscores
[Sun Jul 15 13:44:38.309885 2018] [:error] [pid 19425] [client 46.134.66.106:5366] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=highscores
[Sun Jul 15 13:45:07.610779 2018] [:error] [pid 19425] [client 46.134.66.106:1200] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=characters
[Sun Jul 15 13:45:09.616149 2018] [:error] [pid 20241] [client 46.134.66.106:4709] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 13:45:12.490267 2018] [:error] [pid 19818] [client 46.134.66.106:3341] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 13:46:33.179585 2018] [:error] [pid 19428] [client 46.134.66.106:2895] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 13:46:35.660310 2018] [:error] [pid 20246] [client 46.134.66.106:6972] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 13:46:43.537618 2018] [:error] [pid 20248] [client 46.134.66.106:6032] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=manage
[Sun Jul 15 13:51:46.775606 2018] [:error] [pid 20069] [client 46.134.66.106:6115] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 13:51:48.564237 2018] [:error] [pid 20069] [client 46.134.66.106:6115] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=logout
[Sun Jul 15 13:51:56.236587 2018] [:error] [pid 20278] [client 46.134.66.106:1812] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 13:51:59.589367 2018] [:error] [pid 20279] [client 31.184.194.109:62586] PHP Warning: Invalid argument supplied for foreach() in /var/www/pages/latestnews.php on line 18
[Sun Jul 15 13:51:59.590014 2018] [:error] [pid 20279] [client 31.184.194.109:62586] PHP Warning: Invalid argument supplied for foreach() in /var/www/pages/latestnews.php on line 286
[Sun Jul 15 13:51:59.591554 2018] [:error] [pid 20279] [client 31.184.194.109:62586] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355
[Sun Jul 15 13:52:14.530212 2018] [:error] [pid 20069] [client 46.134.66.106:4326] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 13:52:16.326457 2018] [:error] [pid 20069] [client 46.134.66.106:4326] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=logout
[Sun Jul 15 13:52:29.360537 2018] [:error] [pid 19818] [client 46.134.66.106:4979] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=createaccount
[Sun Jul 15 13:52:32.506850 2018] [:error] [pid 19818] [client 46.134.66.106:4979] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=createaccount&action=saveaccount
[Sun Jul 15 13:52:36.988555 2018] [:error] [pid 20069] [client 46.134.66.106:2669] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 13:59:57.333499 2018] [mpm_prefork:notice] [pid 19422] AH00169: caught SIGTERM, shutting down
[Sun Jul 15 13:59:58.495436 2018] [mpm_prefork:notice] [pid 20415] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jul 15 13:59:58.495508 2018] [core:notice] [pid 20415] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 15 14:00:24.098017 2018] [mpm_prefork:notice] [pid 20415] AH00169: caught SIGTERM, shutting down
[Sun Jul 15 14:00:25.297266 2018] [mpm_prefork:notice] [pid 20469] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jul 15 14:00:25.297324 2018] [core:notice] [pid 20469] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 15 14:00:55.787122 2018] [mpm_prefork:notice] [pid 20469] AH00169: caught SIGTERM, shutting down
[Sun Jul 15 14:00:57.034202 2018] [mpm_prefork:notice] [pid 20521] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jul 15 14:00:57.034268 2018] [core:notice] [pid 20521] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 15 14:00:57.124075 2018] [:error] [pid 20524] [client 46.134.66.106:2045] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355
[Sun Jul 15 14:01:03.996932 2018] [:error] [pid 20529] [client 46.134.66.106:6596] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 14:01:14.733929 2018] [:error] [pid 20529] [client 46.134.66.106:4661] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 14:01:17.284377 2018] [:error] [pid 20532] [client 46.134.66.106:3810] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 14:01:42.907412 2018] [mpm_prefork:notice] [pid 20521] AH00169: caught SIGTERM, shutting down
[Sun Jul 15 14:01:44.008355 2018] [mpm_prefork:notice] [pid 20584] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jul 15 14:01:44.008414 2018] [core:notice] [pid 20584] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 15 14:01:47.214541 2018] [:error] [pid 20587] [client 46.134.66.106:5647] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 14:01:47.955826 2018] [:error] [pid 20587] [client 46.134.66.106:5647] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 14:05:00.929056 2018] [mpm_prefork:notice] [pid 20584] AH00169: caught SIGTERM, shutting down
[Sun Jul 15 14:05:02.138278 2018] [mpm_prefork:notice] [pid 20662] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sun Jul 15 14:05:02.138338 2018] [core:notice] [pid 20662] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jul 15 14:05:05.002666 2018] [:error] [pid 20665] [client 46.134.66.106:6165] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 14:05:05.816147 2018] [:error] [pid 20668] [client 46.134.66.106:6799] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 14:05:06.456725 2018] [:error] [pid 20669] [client 46.134.66.106:6639] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 14:08:48.981545 2018] [:error] [pid 20670] [client 178.73.215.171:59238] PHP Warning: Invalid argument supplied for foreach() in /var/www/pages/latestnews.php on line 18
[Sun Jul 15 14:08:48.982108 2018] [:error] [pid 20670] [client 178.73.215.171:59238] PHP Warning: Invalid argument supplied for foreach() in /var/www/pages/latestnews.php on line 286
[Sun Jul 15 14:08:48.983526 2018] [:error] [pid 20670] [client 178.73.215.171:59238] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355
[Sun Jul 15 14:09:13.282403 2018] [:error] [pid 20669] [client 46.134.66.106:3620] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 14:09:14.131794 2018] [:error] [pid 20665] [client 46.134.66.106:4712] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 14:09:15.608880 2018] [:error] [pid 20669] [client 46.134.66.106:3620] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
[Sun Jul 15 14:09:22.845399 2018] [:error] [pid 20760] [client 46.134.66.106:3002] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 14:20:44.532729 2018] [:error] [pid 20759] [client 46.134.66.106:5541] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=whoisonline
[Sun Jul 15 14:20:46.637830 2018] [:error] [pid 20759] [client 46.134.66.106:5541] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=characters
[Sun Jul 15 14:20:48.192957 2018] [:error] [pid 20759] [client 46.134.66.106:5541] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=characters
[Sun Jul 15 14:20:50.795577 2018] [:error] [pid 20836] [client 46.134.66.106:6378] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement
[Sun Jul 15 14:20:53.723818 2018] [:error] [pid 20670] [client 46.134.66.106:1198] PHP Warning: Invalid argument supplied for foreach() in /var/www/layouts/cyber/layout.php on line 355, referer: http://195.242.117.68/?subtopic=accountmanagement&action=createcharacter
Code:
<?PHP
# Account Maker Config
$config['site']['serverPath'] = "/home/otserv/";
$config['site']['useServerConfigCache'] = false;
$config['site']['worlds'] = array(0 => 'Tibia');
$towns_list[0] = array(1 => 'Ab/dendriel', 2 => 'Kazordoon', 3 => 'Thais', 4 => 'Venore', 5 => 'Carlin', 6 => 'Ankrahmun', 7 => 'Darashia', 9 => 'Edron', 12 => 'Rookgaard', 13 => 'Port Hope');
$config['site']['outfit_images_url'] = '/outfit.php';
$config['site']['item_images_url'] = 'http://item-images.ots.me/860/';
$config['site']['item_images_extension'] = '.gif';
$config['site']['flag_images_url'] = 'http://flag-images.ots.me/';
$config['site']['flag_images_extension'] = '.png';
$config['site']['players_group_id_block'] = 3;
$config['site']['limitDeath'] = 5;
$config['site']['levelVideo'] = 150;
# Create Account Options
$config['site']['one_email'] = true;
$config['site']['create_account_verify_mail'] = false;
$config['site']['verify_code'] = false;
$config['site']['email_days_to_change'] = 7;
$config['site']['newaccount_premdays'] = 3;
$config['site']['send_register_email'] = false;
# Create Character Options
$config['site']['newchar_vocations'][0] = array(1 => 'Rook Sample');
$config['site']['newchar_towns'][0] = array(12);
$config['site']['max_players_per_account'] = 7;
$config['site']['send_emails'] = "true";
$config['site']['mail_address'] = "[email protected]";
$config['site']['smtp_enabled'] = "true";
$config['site']['smtp_host'] = "mail.softcores.net";
$config['site']['smtp_port'] = "25";
$config['site']['smtp_auth'] = "true";
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "*a!KDR8a{]o?";
# 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
*/
$config['site']['quests'] = array('Trolls' => 800201,'Globins' => 800202,'Rotworms' => 800203,'Cyclops' => 800204,'Dwarf Guards' => 800205,'Orc Warlords' => 800206,'Dwarfs' => 800207,'Orcs' => 800208,'Tarantulas' => 800209,'Demon Skeletons' => 800210,'Minotaurs' => 800211,'Necromancers' => 800212,'Carniphilas' => 800213,'Apes' => 800214,'Fire Elementals' => 800215,'Dragons' => 800216,'Pandas' => 800217,'Giant Spiders' => 800218,'Hydras' => 800219,'Serpent Spawns' => 800220,'Behemoths' => 800221,'Crocodiles' => 800222,'Demons' => 800223,'Terror Birds' => 800224,'Larvas' => 800225,'Humans' => 800226,'Scarabs' => 800227,'Vampires' => 800228,'Ancient Scarabs' => 800229,'Heros' => 800230,'Black Knights' => 800231,'Dragon Lords' => 800232,'Warlocks' => 800233,'Lost Souls' => 800234,'Nightmares' => 800235,'Dark Torturers' => 800236,'Plaguesmiths' => 800237,'Defilers' => 800238,'Hellfire Fighters' => 800239,'Destroyers' => 800240,'Diabolic Imps' => 800241,'Hellhounds' => 800242,'Blightwalkers' => 800243,'Hand of Cursed Fates' => 800244,'Son Of Verminors' => 800245,'Juggernauts' => 800246,'Undead Dragons' => 800247,'Betrayed Wraiths' => 800248,'Phantasms' => 800249,'Ghouls' => 800250,'Lizards' => 800251,'Orc Berserkers' => 800252,'Orc Leaders' => 800253);
$config['site']['show_skills_info'] = true;
$config['site']['showQuests'] = true;
$config['site']['showVipList'] = 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'] = 100;
# PAGE: guilds.php
$config['site']['guild_need_level'] = 50;
$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'] = 8347;
$config['site']['access_tickers'] = 8347;
# 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, 7);
# 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;
$config['site']['shopguild_system'] = false;
# PAGE: lostaccount.php
$config['site']['email_lai_sec_interval'] = 180;
# Layout Config
$config['site']['layout'] = 'cyber';
$config['site']['vdarkborder'] = '#505050';
$config['site']['darkborder'] = '#3a3738';
$config['site']['lightborder'] = '#3a3738';
$config['site']['download_page'] = false;
$config['site']['serverinfo_page'] = true;
############################
## PagSeguro/Paypal Email ##
############################
$config['pagseguro']['email'] = '[email protected]'; ## EMAIL PAGSEGURO ##
$config['paypal']['email'] = '[email protected]'; ## EMAIL PAYPAL ##
$config['pagseguro']['produtoNome'] = 'Premium Points'; //Identificação do Pontos
$config['pagseguro']['produtoValor'] = '100'; //100 = R$ 1,00 - 250 = R$ 2,50
## Formas de pagamento [1 = ativo | 0 = inativo] ##
$config['site']['pagseguro'] = 1;
$config['site']['paypal'] = 1;
$config['site']['paypalbr'] = 1;
$config['site']['caixa'] = 1;
$config['site']['bonusPoints'] = 0;
#####################
## Nome do Produto ##
#####################
$config['pagseguro']['produtoNome'] = 'Premium Points';
#############################
######### C A I X A ########
#############################
#! Informações do pagamento com caixa economica federal !#
$config['site']['CaixaCont'] = "
Preços da Loja:
15 Reais (30 points)
30 Reais (100 points)
45 Reais (150 points)
Aqui estĂŁo os passos que vocĂŞ precisa fazer:
1. Escolha o valor desejado.
2. Vá ate uma loterica ou qualquer lugar onde faça depositos.
3. Faça o deposito.
4. Envie um Email para [email protected] contento Nome do Char e IMG/FOTO
do comprovante.
5. Após a operação de 30, 100 ou 150 pontos será adicionado à sua conta.
6. Vá ate a loja e use seus pontos.
AgĂŞncia: 4782
Operação: 013
Conta: 00003018-5
Favorecida: Bruna Carezolli
";
Code:
sqlType = "mysql"
sqlHost = "127.0.0.1"
sqlPort = 3306
sqlUser = "root"
sqlPass = "mypass"
sqlDatabase = "ots1"
sqlFile = ""
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
mysqlReconnectionAttempts = 5
encryptionType = "sha1"
worldId = 0
ip = "195.242.117.68"
worldType = "open"
bindOnlyGlobalAddress = false
loginPort = 7171
gamePort = "7172"
statusPort = 7171
loginOnlyWithLoginServer = false