• 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!

AAC error, gesior

Fokclown

New Member
Joined
Sep 12, 2008
Messages
73
Reaction score
0
Location
Sweden
I get this error when i goto my localhost, i just downloaded Gesior 0.6.2 and i have tfs 0.4 rev 3777

Warning: parse_ini_file(D:/Documents and Settings/User/Pulpit/4235/config.lua) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\config-and-functions.php on line 13
Database error. Unknown database type in D:/Documents and Settings/User/Pulpit/4235/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

repp+ if help !
 
I get this error when i goto my localhost, i just downloaded Gesior 0.6.2 and i have tfs 0.4 rev 3777

Warning: parse_ini_file(D:/Documents and Settings/User/Pulpit/4235/config.lua) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\config-and-functions.php on line 13
Database error. Unknown database type in D:/Documents and Settings/User/Pulpit/4235/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

repp+ if help !

C:\xampp\htdocs\config-and-functions.php line 13, you have something wrong there, post it here.

Copy and paste it here [.lua] [/.lua] whithout "."
 
Lua:
$config['server'] = parse_ini_file($config['site']['server_path'].'config.lua');
if(isset($config['server']['sqlHost']))
{
	// ots config.lua file connect database
	$mysqlhost = $config['server']['sqlHost'];
	$mysqluser = $config['server']['sqlUser'];
	$mysqlpass = $config['server']['sqlPass'];
	$mysqldatabase = $config['server']['sqlDatabase'];
}
 
Change location in config.ini before installation.
Ops, i didnt see it hahha changed but now i got this error.

Notice: Undefined index: page in C:\xampp\htdocs\install\install.php on line 40
Notice: Undefined index: page in C:\xampp\htdocs\install\install.php on line 54
Notice: Undefined index: page in C:\xampp\htdocs\install\install.php on line 68

line 40 to 53
Lua:
f($_REQUEST['page'] == '' && !isset($_REQUEST['step'])) 
{
	echo '<html>
		<head>
			<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
			<title>Installation of account maker</title>
		</head>
		<frameset cols="230,*">
			<frame name="menu" src="install.php?page=menu" />
			<frame name="step" src="install.php?page=step&step=0" />
			<noframes><body>Frames don\'t work. Install Firefox :P</body></noframes>
		</frameset>
	</html>';
}

line
Lua:
if($_REQUEST['page'] == 'menu') 
{
	echo '<h2>MENU</h2><br>
	<b>IF NOT INSTALLED:</b><br>
	<a href="install.php?page=step&step=start" target="step">0. Informations</a><br>
	<a href="install.php?page=step&step=1" target="step">1. Set server path</a><br>
	<a href="install.php?page=step&step=2" target="step">2. Check DataBase connection</a><br>
	<a href="install.php?page=step&step=3&server_conf=yes" target="step">3. Add tables and columns to DB</a><br>
	<a href="install.php?page=step&step=4&server_conf=yes" target="step">4. Add samples to DB</a><br>
	<a href="install.php?page=step&step=5&server_conf=yes" target="step">5. Set Admin Account</a><br>
	<!--<b>FOR ADMINS:</b><br>
	<a href="index.php?subtopic=adminpanel&action=install_monsters" target="step">6. Load Monsters from OTS</a><br>
	<a href="index.php?subtopic=adminpanel&action=install_spells" target="step">7. Load Spells from OTS</a><br>-->';
}
line 68
Lua:
if($_REQUEST['page'] == 'step')
 
Add: error_reporting( E_ALL & ~E_NOTICE );

To Install.php and Index.php right under <?PHP.

Okay i did that...
getting same error like first time..

Warning: parse_ini_file(C:\Users\Melis\Desktop\Serverconfig.lua) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\config-and-functions.php on line 14
Database error. Unknown database type in C:\Users\Melis\Desktop\Serverconfig.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

in xampp\htdocs\confid-and-functions at line 14 it is
Lua:
$config['server'] = parse_ini_file($config['site']['server_path'].'config.lua');
 
Back
Top