• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Solved [Solved] Modernacc page

Stellow

C++/C#/PHP/LUA
Joined
Oct 23, 2008
Messages
1,112
Reaction score
221
Location
Germany
GitHub
eubrunomiguel
Sometimes when I try to search for some character, it appear this:
But, it still shows the character, but still with the error on top


E_OTS_NotLoaded: in /home/otsmanager/www/public_html/system/application/libraries/POT/OTS_Player.php on line 451 Call Stack: 0.0000 628944 1. {main}() /home/otsmanager/www/public_html/index.php:0 0.0008 964512 2. require_once('/home/otsmanager/www/public_html/system/codeigniter/CodeIgniter.php
') /home/otsmanager/www/public_html/index.php:166 0.0044 1254448 3. call_user_func_array(array (0 >= class Character { public $_ci_scaffolding = FALSE; public $_ci_scaff_table = FALSE; public $config = class CI_Config { ... }; public $input = class CI_Input { ... }; public $benchmark = class CI_Benchmark { ... }; public $uri = class CI_URI { ... }; public $output = class CI_Output { ... }; public $lang = class CI_Language { ... }; public $router = class CI_Router { ... }; public $load = class CI_Loader { ... } }, 1 >= 'view'), array (0 >= 'Testando')) /home/otsmanager/www/public_html/system/codeigniter/CodeIgniter.php:236 0.0044 1254584 4. >Character-view($name = 'Testando') /home/otsmanager/www/public_html/system/codeigniter/CodeIgniter.php:236 0.0068 1463584 5. >CI_Loader-view($view = 'view_character.php', $vars = array ('character' >= 'Testando', 'player' >= class OTS_Player { private $data = array (...); private $skills = array (...); protected $db = class OTS_DB_MySQL { ... } }, 'account' >= class OTS_Account { private $data = array (...); protected $db = class OTS_DB_MySQL { ... } }), $return = ???) /home/otsmanager/www/public_html/system/application/controllers/character.php:224
0.0068 1465112 6. >CI_Loader-_ci_load($_ci_data = array ('_ci_view' >= 'view_character.php', '_ci_vars' >= array ('character' >= 'Testando', 'player' >= class OTS_Player { ... }, 'account' >= class OTS_Account { ... }), '_ci_return' >= FALSE)) /home/otsmanager/www/public_html/system/libraries/Loader.php:307 0.0069 1513768 7. include('/home/otsmanager/www/public_html/system/application/views/view_character
.php') /home/otsmanager/www/public_html/system/libraries/Loader.php:677 0.0073 1636608 8. >OTS_Player-getComment() /home/otsmanager/www/public_html/system/application/views/view_character.php:9
 
what page? index.php from where? cuz on my templates/folder/ there is no index.php. only index.tpl and .html. can you be more specific?

I did on my main folder, but still showing the error.
 
You add:

PHP:
<?php
error_reporting = (0);
?>

In your index.tpl file in "templates/yourlayout/" or whatever Modern AAC is using for directory.
 
You add:

PHP:
<?php
error_reporting = (0);
?>

In your index.tpl file in "templates/yourlayout/" or whatever Modern AAC is using for directory.

I did on my index.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
error_reporting = (0);
?>


But... didnt work, not at all, I cant enter on my website now
 
Find error_reporting(E_ALL); in index.php and paste ini_set( 'display_errors', 0 ); under.
 
Back
Top