wreymar 30 Postado Dezembro 1, 2013 Share Postado Dezembro 1, 2013 Olha galera tenho meu site e tudo mais quando os players vão criar conta pelo site da um erro mais mesmo assimainda criar a account maiseu queria resolver esse erro mim ajudem PRINT Link para o comentário Compartilhar em outros sites More sharing options...
Soulviling 65 Postado Dezembro 1, 2013 Share Postado Dezembro 1, 2013 (editado) Aquele problema no database deu certo ein? Foi com minha ajuda? Entra na pasta do teu site: \htdocs\system\application\views\create.php me envia create.php pra eu configurar. Editado Dezembro 1, 2013 por Soulviling Link para o comentário Compartilhar em outros sites More sharing options...
wreymar 30 Postado Dezembro 1, 2013 Autor Share Postado Dezembro 1, 2013 (editado) ae mim ajudar por favor nesse erro por favor mesmo te dou rep+ por uma semana se vc mim ajudar nesse <!-- Modificado e Editado por Nibelins [WebSite PokeTibia]--> <div style='position:absolute; float:left; margin-top:-65px; margin-left:425px;'> <font face="Cambria" size="5" color="#FFCC33"><b>CRIAR CONTA</b></font></div> <div class='errors'> <?php echo error(validation_errors()); ?> </div> <div class='errors'> <?php echo error(validation_errors()); ?> </div> <?php include("public/js/keyboard.php"); global $config; ?> <script> function createAccount() { $('.loader').show(); var form = $('#createAccount').serialize(); $.ajax({ url: '<?php echo WEBSITE; ?>/index.php/account/create/1', type: 'post', data: form, success: function(data) { $('.errors').html(data); $('.loader').hide(); } }); } </script> <link rel="stylesheet" type="text/css" href="<?php echo WEBSITE; ?>/public/css/keyboard.css"> <div class='content'> <?php echo form_open('account/create', array('onSubmit'=>'createAccount(); return false;', 'id'=>'createAccount')); ?> <fieldset> <legend >Informações da Conta</legend> <div class="table"> <ul style="width:30%"> <li class="even"> <label for="name">Nome da Conta</label> </li> <li class="odd"> <label for="nickname">Apelido</label> </li> <li class="even"> <label for="email">E-mail</label> </li> <li class="odd"> <label for="password">Senha</label> </li> <li class="even"> <label for="repeat">Repetir</label> </li> </ul> <ul style="width:70%"> <li class="even"> <input type="text" value="<?php echo set_value('name'); ?>" id="name" class="keyboardInput" name="name"/> </li> <li class="odd"> <input type='text' name='nickname' id="nickname" value='<?php echo set_value('nickname'); ?>' /> </li> <li class="even"> <input type="text" value="<?php echo set_value('email'); ?>" id="email" name="email"/> </li> <li class="odd"> <input type="password" class="keyboardInput" id="password" name="password"/> </li> <li class="even"> <input type="password" class="keyboardInput" id="repeat" name="repeat"/> </li> </ul> </div> </fieldset> <fieldset> <legend>Informações do Pessonagem</legend> <div class="table"> <ul style="width:30%"> <li class="even"> <label for="character_name">Pessonagem:</label> </li> <li class="odd"> <label for="sex">Sexo:</label> </li> <li class="even"> <label for="vocation">Vocação:</label> </li> <li class="odd"> <label for="city">Cidade:</label> </li> <li class="even"> <label for="world">Mundo:</label> </li> </ul> <ul style="width:70%"> <li class="even"> <input type="text" id="character_name" value="<?php echo set_value('character_name'); ?>" name="character_name"/> </li> <li class="odd"> <input name="sex" type="radio" id="sex" value="1" checked="checked" /> male <input type="radio" id="sex" name="sex" value="0" /> female </li> <li class="even"> <select name="vocation" class="keyboardInput" id="vocation"> <option value="1">Pokemon Trainer</option> </select> </li> <li class="odd"> <select name="city" id="city"> <?php foreach($config['cities'] as $city => $name) echo '<option value="'.$city.'">'.$name.'</option>'; ?> </select> </li> <li class="even"> <?php if(sizeof($config['worlds']) > 1) { ?> <select name="world" id="world"> <?php foreach($config['worlds'] as $world => $name) echo '<option value="'.$world.'">'.$name.'</option>'; ?> </select> <?php }else{ ?> <input type="hidden" name="world" value="0" /> <?php echo $config['worlds'][0]; ?> <?php } ?> </li> </ul> </div> </fieldset> <fieldset> <legend>Imagem de Segurança</legend> <div class="table"> <ul style="width: 30%"> <li class="even"> </li> <li class="even"> <label>Captcha World</label> </li> </ul> <ul style="width: 70%"> <li class="even"> <?php echo $captcha;?> </li> <li class="even"> <input type='text' name='captcha'/> </li> </ul> </div> </fieldset> <br/><center> <input class='sub' type="submit" value="Registrar"/> <?php echo loader(); ?> </form></center> </div><center> <div class='bar'>Se você criar uma conta, você aceitar a nossa Regras.</div> </div> <div id='rules' style='margin-top: 10px; width: 100%; height: 300px; overflow: auto; display: none;'><?php echo nl2br(getContent("system/rules.php")); ?></div> </center> Editado Dezembro 1, 2013 por wreymar Link para o comentário Compartilhar em outros sites More sharing options...
Soulviling 65 Postado Dezembro 1, 2013 Share Postado Dezembro 1, 2013 (editado) Muito esquisito o teu create, apaga e substitui por esse: Mas antes faz um backup <div class='errors'> <?php echo error(validation_errors()); ?> </div> <?php include("public/js/keyboard.php"); global $config; ?> <script> function createAccount() { $('.loader').show(); var form = $('#createAccount').serialize(); $.ajax({ url: '<?php echo WEBSITE; ?>/index.php/account/create/1', type: 'post', data: form, success: function(data) { $('.errors').html(data); $('.loader').hide(); } }); } </script> <link rel="stylesheet" type="text/css" href="<?php echo WEBSITE; ?>/public/css/keyboard.css"> <div class='message'> <div class='title'>Criar Conta</div> <div class='content'> <?php echo form_open('account/create', array('onSubmit'=>'createAccount(); return false;', 'id'=>'createAccount')); ?> <fieldset> <legend >Informação da Conta:</legend> <div class="table"> <ul style="width:30%"> <li > <label for="name">Nome da Conta:</label> </li> <li> <label for="nickname">Apelido:</label> </li> <li > <label for="email">E-mail:</label> </li> <li> <label for="password">Password:</label> </li> <li > <label for="repeat">Repetir:</label> </li> </ul> <ul style="width:70%"> <li > <input type="text" value="<?php echo set_value('name'); ?>" id="name" class="keyboardInput" name="name"/> </li> <li> <input type='text' name='nickname' id="nickname" value='<?php echo set_value('nickname'); ?>' /> </li> <li > <input type="text" value="<?php echo set_value('email'); ?>" id="email" name="email"/> </li> <li> <input type="password" class="keyboardInput" id="password" name="password"/> </li> <li > <input type="password" class="keyboardInput" id="repeat" name="repeat"/> </li> </ul> </div> </fieldset> <fieldset> <legend>Informação do Personagem</legend> <div class="table"> <ul style="width:30%"> <li > <label for="character_name">Character:</label> </li> <li> <label for="sex">Sexo:</label> </li> <li> <label for="city">Cidade:</label> </li> <li > <label for="world">World:</label> </li> </ul> <ul style="width:70%"> <li > <input type="text" id="character_name" value="<?php echo set_value('character_name'); ?>" name="character_name"/> </li> <li> <input name="sex" type="radio" id="sex" value="1" checked="checked" /> male <input type="radio" id="sex" name="sex" value="0" /> female </li> <li > <select name="vocation" class="keyboardInput" id="vocation"> <option value="1">Trainer</option> </select> </li> <li> <select name="city" id="city"> <?php foreach($config['cities'] as $city => $name) echo '<option value="'.$city.'">'.$name.'</option>'; ?> </select> </li> <li > <?php if(sizeof($config['worlds']) > 1) { ?> <select name="world" id="world"> <?php foreach($config['worlds'] as $world => $name) echo '<option value="'.$world.'">'.$name.'</option>'; ?> </select> <?php }else{ ?> <input type="hidden" name="world" value="0" /> <?php echo $config['worlds'][0]; ?> <?php } ?> </li> </ul> </div> </fieldset> <fieldset> <legend>Imagem de segurança</legend> <div class="table"> <ul style="width: 30%"> <li > </li> <li > <label>Captcha Word:</label> </li> </ul> <ul style="width: 70%"> <li > <?php echo $captcha;?> </li> <li > <input type='text' name='captcha'/> </li> </ul> </div> </fieldset> <br/> <label> </label> <input class='sub' type="submit" value="Registrar"/> <?php echo loader(); ?> </form> </div> <div class='bar'>–Se você criar uma conta, aceitará automáticamente as nossas <a href='#' onClick='$("#rules").toggle(500);'>regras</a>.</br></div> </div> <div id='rules' style='margin-top: 10px; width: 100%; height: 300px; overflow: auto; display: none;'><?php echo nl2br(getContent("system/rules.php")); ?></div> Editado Dezembro 1, 2013 por Soulviling Link para o comentário Compartilhar em outros sites More sharing options...
wreymar 30 Postado Dezembro 1, 2013 Autor Share Postado Dezembro 1, 2013 não ver agora ajeitei link ae na mesma mensagen ver lá Link para o comentário Compartilhar em outros sites More sharing options...
Soulviling 65 Postado Dezembro 1, 2013 Share Postado Dezembro 1, 2013 Já tentou o que eu enviei? Link para o comentário Compartilhar em outros sites More sharing options...
wreymar 30 Postado Dezembro 1, 2013 Autor Share Postado Dezembro 1, 2013 Não mais quando eu botar na vaga dakele ai fasso outra acc para ver se ta dando esse erro ainda né? Link para o comentário Compartilhar em outros sites More sharing options...
Soulviling 65 Postado Dezembro 1, 2013 Share Postado Dezembro 1, 2013 é, manda o print da página, pra ver tambem. Link para o comentário Compartilhar em outros sites More sharing options...
wreymar 30 Postado Dezembro 1, 2013 Autor Share Postado Dezembro 1, 2013 que pagina para manda print? Link para o comentário Compartilhar em outros sites More sharing options...
Soulviling 65 Postado Dezembro 1, 2013 Share Postado Dezembro 1, 2013 a do erro Link para o comentário Compartilhar em outros sites More sharing options...
wreymar 30 Postado Dezembro 1, 2013 Autor Share Postado Dezembro 1, 2013 persiste erro ainda Link para o comentário Compartilhar em outros sites More sharing options...
Soulviling 65 Postado Dezembro 1, 2013 Share Postado Dezembro 1, 2013 Claro que não, aquele que você enviou tinha mais erro. Manda o teu config.php Link para o comentário Compartilhar em outros sites More sharing options...
wreymar 30 Postado Dezembro 1, 2013 Autor Share Postado Dezembro 1, 2013 (editado) Manda meu Config.php que ta na pasta htdocs? Editado Dezembro 1, 2013 por wreymar Link para o comentário Compartilhar em outros sites More sharing options...
Soulviling 65 Postado Dezembro 1, 2013 Share Postado Dezembro 1, 2013 esse mesmo Link para o comentário Compartilhar em outros sites More sharing options...
wreymar 30 Postado Dezembro 2, 2013 Autor Share Postado Dezembro 2, 2013 /*These configs are neccessary in order to make Modern AAC work.*//*Database information*/$config['database']['host'] = "127.0.0.1";$config['database']['login'] = "root";$config['database']['password'] = "701994";$config['database']['database'] = "pokemon";/*Name of server*/$config['server_name'] = "Pokémon Master";/*End of most important configs*//*List of cities, declare by using city ID and name eg. 2=>"Eternia City" etc.*/$config['cities'] = array(1=>'Saffron City');/*List of vocation available to choose when creating new character*/$config['vocations'] = array(1=>"Pokemon Trainer");/*List of vocation that exists on server*/$config['server_vocations'] = array(1=>"Pokemon Trainer");/*List of promotions, the key is vocation without promotion*/$config['promotions'] = array(1=>"Pokemon Trainer");/*Resitricted names*/$config['restricted_names'] = array("god", "gamemaster", "admin", "account manager");/*Names with any of this value cannot be created*/$config['invalidNameTags'] = array("god", "gm", "cm", "gamemaster", "hoster", "admin");/*ID and names of worlds*/$config['worlds'][0] = "Master";// Enable multiworld by uncommenting this//$config['worlds'][1] = "Second World";/* Addresses of each server */$config['servers'][0] = array('address'=>'127.0.0.1', 'port'=>7171, 'vapusid'=>'Notice: Undefined variable: vapusID in C:\xampp\htdocs\install\index.php on line 143');// Enable multiworld by uncommenting this//$config['servers'][1] = array('address'=>'127.0.0.1', 'port'=>7173, 'vapusid' => 'XXX');/*Groups that exists on server*/$config['groups'] = array(0=>"Player", 1=>"Player", 2=>"Tutor", 3=>"Senior Tutor", 4=>"Gamemaster", 5=>"Community Manager", 6=>"God");/*Names of vocations as in database as samples. First key is world id and second vocation id.*/$config['newchar_vocations'][0][1] = "Pokemon Trainer Sample";/*Don't show chaarcters with group id higher than*/$config['players_group_id_block'] = 3;/*Min. level to create guild*/$config['levelToCreateGuild'] = 50;/*Limit of latest deaths*/$config['latestdeathlimit'] = 20;/*Limit news per page*/$config['newsLimit'] = 10;/*Limit comments per page*/$config['commentLimit'] = 10;/*Template that should be used on website*/$config['layout'] = "WebSite Poketibia 3.0 [Template]";/*Title of a website*/$config['title'] = "Pokemon Master";/*Premdays given when creating new account.*/$config['premDays'] = 0;/*Positions to start when creating character*/$startPos['x'] = 51;$startPos['y'] = 74;$startPos['z'] = 7;/*Trigger password for scaffolding system.*/$config['scaffolding_trigger'] = "password";/*Minimum page access for admin priviliges*/$config['adminAccess'] = 5;/*Max threads per page*/$config['threadsLimit'] = 10;/*Max posts per page in a thread*/$config['postsLimit'] = 10;/*Time between posts*/$config['timeBetweenPosts'] = 30;/*Limit of submissions per page in bug tracker*/$config['bugtrackerPageLimit'] = 10;/*Limit of houses on listing page*/$config['housesLimit'] = 10;/*Level to buy house*/$config['houseLevel'] = 50;/*Lenght of housing auction in seconds*/$config['houseAuctionTime'] = 604800;/*Default timezone*/$config['timezone'] = "Europe/London";/*Allowed IPs to use command prompt in admin panel*/$config['allowedToUseCMD'] = array("127.0.0.1", "localhost");/* Path to your UI theme */$config['UItheme'] = "smoothness/jquery-ui-1.7.2.custom.css";/*Destination to guilds logos folder, must be writable.*/$config['uploads'] = "/public/guild_logos/";/* Status timeout (recheck if server is online) */$config['statusTimeout'] = 1 + (5 * 60); // Default to 5min/* Wrap words longer than */$config['wrap_words'] = 80;/*Limit comments per page in videos view*/$config['videoCommentsLimit'] = 10;/*Limit of videos to show while searching*/$config['videoSearchLimit'] = 10;/*Maximum amount of characters per account*/$config['maxCharacters'] = 10;/*Limit of inbox/outbox messages per page*/$config['messagesLimit'] = 10;/*Amount of names to be saved when looking for characters*/$config['characterSearchLimit'] = 10;/*Switch on Admin Window*/$config['adminWindow'] = true;/*Integrate facebook to AAC? (TRUE/FALSE)*/$config['facebook'] = true;/*Max amount of saved actions*/$config['actionsCount'] = 15;/*Player per page in hishscore */$config['highscore']['per_page'] = 20;/*Total players to show in highscores*/$config['highscore']['total'] = 300;/* Guild board creation */$config['guildboardTitle'] = "Guildboard for %NAME%";$config['guildboardDescription'] = "This is the guildboard for the great %NAME% guild!";/* VAPus Settings */$config['VAPusGraphStep'] = 1; // step * update time = time steps on graph, etc 6 with an update time of 10min = one hour//Enable delay between creating characters$config['characterDelay'] = true;//Time between creating characters in seconds$config['characterDelayTime'] = 240;//Enable delay between creating accounts$config['accountDelay'] = true;//Time between creating accounts in seconds$config['accountDelayTime'] = 240;//Account restrictions$config['restrictedAccounts'] = array('1');############EVENTS############# Event fired just after main framework to gain access to all features$config['onLoad'] = array();# Event fired after all finished loading no headers should be sent$config['onReady'] = array();#############################/*######################################################################################################################* Do not touch any of the configs below if you are not 100% sure what you are doing!* These are config to the engine, usually the default ones works well so no change needed for unexperienced users.######################################################################################################################*/// Tiny hack to figure if we use Windows or not.if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN') @define('USING_WINDOWS', 1);else @define('USING_WINDOWS', 0);if(USING_WINDOWS) $config['engine']['PHPversion'] = "5.3.0";else $config['engine']['PHPversion'] = "5.3.0";$config['engine']['indexPage'] = "index.php";$config['engine']['uri_protocol'] = "AUTO";$config['engine']['charSET'] = "UTF-8";$config['engine']['enable_hooks'] = FALSE;$config['engine']['permitted_uri_chars'] = "a-z 0-9~%.:_\-'+";$config['engine']['enable_query_strings'] = FALSE;$config['engine']['global_xss_filtering'] = TRUE;$config['engine']['compress_output'] = FALSE;$config['engine']['proxy_ip'] = "";$config['engine']['autoload_libraries'] = array();$config['engine']['autoload_helper'] = array();$config['engine']['autoload_plugin'] = array();$config['engine']['autoload_config'] = array();$config['engine']['autoload_model'] = array();$config['engine']['default_controller'] = "home";$config['engine']['platforms'] = array('windows nt 6.0' => 'Windows Longhorn', 'windows nt 5.2' => 'Windows 2003', 'windows nt 5.0' => 'Windows 2000', 'windows nt 5.1' => 'Windows XP', 'windows nt 4.0' => 'Windows NT 4.0', 'winnt4.0' => 'Windows NT 4.0', 'winnt 4.0' => 'Windows NT', 'winnt' => 'Windows NT', 'windows 98' => 'Windows 98', 'win98' => 'Windows 98', 'windows 95' => 'Windows 95', 'win95' => 'Windows 95', 'windows' => 'Unknown Windows OS', 'os x' => 'Mac OS X', 'ppc mac' => 'Power PC Mac', 'freebsd' => 'FreeBSD', 'ppc' => 'Macintosh', 'linux' => 'Linux', 'debian' => 'Debian', 'sunos' => 'Sun Solaris', 'beos' => 'BeOS', 'apachebench' => 'ApacheBench', 'aix' => 'AIX', 'irix' => 'Irix', 'osf' => 'DEC OSF', 'hp-ux' => 'HP-UX', 'netbsd' => 'NetBSD', 'bsdi' => 'BSDi', 'openbsd' => 'OpenBSD', 'gnu' => 'GNU/Linux', 'unix' => 'Unknown Unix OS' );$config['engine']['mobiles'] = array('mobileexplorer' => 'Mobile Explorer', 'palmsource' => 'Palm', 'palmscape' => 'Palmscape', 'motorola' => "Motorola", 'nokia' => "Nokia", 'palm' => "Palm", 'iphone' => "Apple iPhone", 'ipod' => "Apple iPod Touch", 'sony' => "Sony Ericsson", 'ericsson' => "Sony Ericsson", 'blackberry' => "BlackBerry", 'cocoon' => "O2 Cocoon", 'blazer' => "Treo", 'lg' => "LG", 'amoi' => "Amoi", 'xda' => "XDA", 'mda' => "MDA", 'vario' => "Vario", 'htc' => "HTC", 'samsung' => "Samsung", 'sharp' => "Sharp", 'sie-' => "Siemens", 'alcatel' => "Alcatel", 'benq' => "BenQ", 'ipaq' => "HP iPaq", 'mot-' => "Motorola", 'playstation portable' => "PlayStation Portable", 'hiptop' => "Danger Hiptop", 'nec-' => "NEC", 'panasonic' => "Panasonic", 'philips' => "Philips", 'sagem' => "Sagem", 'sanyo' => "Sanyo", 'spv' => "SPV", 'zte' => "ZTE", 'sendo' => "Sendo", 'symbian' => "Symbian", 'SymbianOS' => "SymbianOS", 'elaine' => "Palm", 'palm' => "Palm", 'series60' => "Symbian S60", 'windows ce' => "Windows CE", 'obigo' => "Obigo", 'netfront' => "Netfront Browser", 'openwave' => "Openwave Browser", 'mobilexplorer' => "Mobile Explorer", 'operamini' => "Opera Mini", 'opera mini' => "Opera Mini", 'digital paths' => "Digital Paths", 'avantgo' => "AvantGo", 'xiino' => "Xiino", 'novarra' => "Novarra Transcoder", 'vodafone' => "Vodafone", 'docomo' => "NTT DoCoMo", 'o2' => "O2", 'mobile' => "Generic Mobile", 'wireless' => "Generic Mobile", 'j2me' => "Generic Mobile", 'midp' => "Generic Mobile", 'cldc' => "Generic Mobile", 'up.link' => "Generic Mobile", 'up.browser' => "Generic Mobile", 'smartphone' => "Generic Mobile", 'cellphone' => "Generic Mobile" );$config['engine']['robots'] = array('googlebot' => 'Googlebot', 'msnbot' => 'MSNBot', 'slurp' => 'Inktomi Slurp', 'yahoo' => 'Yahoo', 'askjeeves' => 'AskJeeves', 'fastcrawler' => 'FastCrawler', 'infoseek' => 'InfoSeek Robot 1.0', 'lycos' => 'Lycos' );$config['engine']['browsers'] = array('Opera' => 'Opera', 'MSIE' => 'Internet Explorer', 'Internet Explorer' => 'Internet Explorer', 'Shiira' => 'Shiira', 'Firefox' => 'Firefox', 'Chimera' => 'Chimera', 'Phoenix' => 'Phoenix', 'Firebird' => 'Firebird', 'Camino' => 'Camino', 'Netscape' => 'Netscape', 'OmniWeb' => 'OmniWeb', 'Safari' => 'Safari', 'Mozilla' => 'Mozilla', 'Konqueror' => 'Konqueror', 'icab' => 'iCab', 'Lynx' => 'Lynx', 'Links' => 'Links', 'hotjava' => 'HotJava', 'amaya' => 'Amaya', 'IBrowse' => 'IBrowse' );$config['engine']['mimes'] = array('hqx' => 'application/mac-binhex40', 'cpt' => 'application/mac-compactpro', 'csv' => array ('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel' ), 'bin' => 'application/macbinary', 'dms' => 'application/octet-stream', 'lha' => 'application/octet-stream', 'lzh' => 'application/octet-stream', 'exe' => 'application/octet-stream', 'class' => 'application/octet-stream', 'psd' => 'application/x-photoshop', 'so' => 'application/octet-stream', 'sea' => 'application/octet-stream', 'dll' => 'application/octet-stream', 'oda' => 'application/oda', 'pdf' => array ('application/pdf', 'application/x-download' ), 'ai' => 'application/postscript', 'eps' => 'application/postscript', 'ps' => 'application/postscript', 'smi' => 'application/smil', 'smil' => 'application/smil', 'mif' => 'application/vnd.mif', 'xls' => array ('application/excel', 'application/vnd.ms-excel', 'application/msexcel' ), 'ppt' => array ('application/powerpoint', 'application/vnd.ms-powerpoint' ), 'wbxml' => 'application/wbxml', 'wmlc' => 'application/wmlc', 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dxr' => 'application/x-director', 'dvi' => 'application/x-dvi', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'php' => 'application/x-httpd-php', 'php4' => 'application/x-httpd-php', 'php3' => 'application/x-httpd-php', 'phtml' => 'application/x-httpd-php', 'phps' => 'application/x-httpd-php-source', 'js' => 'application/x-javascript', 'swf' => 'application/x-shockwave-flash', 'sit' => 'application/x-stuffit', 'tar' => 'application/x-tar', 'tgz' => 'application/x-tar', 'xhtml' => 'application/xhtml+xml', 'xht' => 'application/xhtml+xml', 'zip' => array ('application/x-zip', 'application/zip', 'application/x-zip-compressed' ), 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mpga' => 'audio/mpeg', 'mp2' => 'audio/mpeg', 'mp3' => array ('audio/mpeg', 'audio/mpg' ), 'aif' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'ra' => 'audio/x-realaudio', 'rv' => 'video/vnd.rn-realvideo', 'wav' => 'audio/x-wav', 'bmp' => 'image/bmp', 'gif' => 'image/gif', 'jpeg' => array ('image/jpeg', 'image/pjpeg' ), 'jpg' => array ('image/jpeg', 'image/pjpeg' ), 'jpe' => array ('image/jpeg', 'image/pjpeg' ), 'png' => array ('image/png', 'image/x-png' ), 'tiff' => 'image/tiff', 'tif' => 'image/tiff', 'css' => 'text/css', 'html' => 'text/html', 'htm' => 'text/html', 'shtml' => 'text/html', 'txt' => 'text/plain', 'text' => 'text/plain', 'log' => array ('text/plain', 'text/x-log' ), 'rtx' => 'text/richtext', 'rtf' => 'text/rtf', 'xml' => 'text/xml', 'xsl' => 'text/xml', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'mpe' => 'video/mpeg', 'qt' => 'video/quicktime', 'mov' => 'video/quicktime', 'avi' => 'video/x-msvideo', 'movie' => 'video/x-sgi-movie', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'word' => array ('application/msword', 'application/octet-stream' ), 'xl' => 'application/excel', 'eml' => 'message/rfc822' );$config['engine']['doctypes'] = array('xhtml11' => '', 'xhtml1-strict' => '', 'xhtml1-trans' => '', 'xhtml1-frame' => '', 'html5' => '', 'html4-strict' => '', 'html4-trans' => '', 'html4-frame' => '' );$config['engine']['url_suffix'] = ".ide";$config['engine']['sess_cookie_name'] = 'ci_session';$config['engine']['sess_expiration'] = 7200;$config['engine']['sess_encrypt_cookie'] = FALSE;$config['engine']['sess_use_database'] = FALSE;$config['engine']['sess_table_name'] = 'ci_sessions';$config['engine']['sess_match_ip'] = FALSE;$config['engine']['sess_match_useragent'] = TRUE;$config['engine']['sess_time_to_update'] = 300;$config['engine']['rewrite_short_tags'] = false;if(USING_WINDOWS == 1) {//Load management is not available on Windows.$config['engine']['loadManagement'] = false;} else {//Load management is a maximum ammount of processes website is using. If the website is flooded it will drop connection with users outside this amount.$config['engine']['loadManagement'] = false;$config['engine']['maxLoad'] = 60;}/*|--------------------------------------------------------------------------| Error Logging Threshold|--------------------------------------------------------------------------|| If you have enabled error logging, you can set an error threshold to| determine what gets logged. Threshold options are:| You can enable error logging by setting a threshold over zero. The| threshold determines what gets logged. Threshold options are:|| 0 = Disables logging, Error logging TURNED OFF| 1 = Error Messages (including PHP errors)| 2 = Debug Messages| 3 = Informational Messages| 4 = All Messages|| For a live site you'll usually only enable Errors (1) to be logged otherwise| your log files will fill up very fast.|*/$config['engine']['log_threshold'] = 0;#DON'T TOUCH! DECLARING CONSTANS!@DEFINE('LEVELTOCREATEGUILD', $config['levelToCreateGuild']);@DEFINE('PREMDAYS', $config['premDays']);@DEFINE('HOSTNAME', $config['database']['host']);@DEFINE('USERNAME', $config['database']['login']);@DEFINE('PASSWORD', $config['database']['password']);@DEFINE('DATABASE', $config['database']['database']);@DEFINE('WEBSITE', $config['website']);?> Manin só falta esse erro ai mim ajudar por favor Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados