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

tfs 0.2.10 gesior 0.3.8 step 2 installation problem Parse error

lolaso11

New Member
Joined
Feb 3, 2011
Messages
46
Reaction score
1
hello

no much to says just when i try to install gesior 0.3.8 wiht my tfs 0.2.10 drop me this error... im using xampp 1.6.8 for win 32 and my SO is xp

Check database connection
If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in D:\xampp\htdocs\pot\OTS_DB_SQLite.php on line 68

else when i change in config.lua "sqlType" from "sqlite" to "mysql" it drop me in step 3 Can't connect to MySQL database.

my config.lua has no coment like --account

help me pls :D
 
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in D:\xampp\htdocs\pot\OTS_DB_SQLite.php on line 68
This is the solution. There's something wrong in this file. Post lines 65-75 here for us to check.
 
the file dont have line 75 xD but here is all in file look :D

PHP:
<?php

/**#@+
 * @version 0.0.1
 */

/**
 * @package POT
 * @version 0.1.3
 * @author Wrzasq <[email protected]>
 * @copyright 2007 (C) by Wrzasq
 * @license http://www.gnu.org/licenses/lgpl-3.0.txt GNU Lesser General Public License, Version 3
 */

/**
 * SQLite connection interface.
 * 
 * <p>
 * At all everything that you really need to read from this class documentation is list of parameters for driver's constructor.
 * </p>
 * 
 * @package POT
 * @version 0.1.3
 */
class OTS_DB_SQLite extends OTS_Base_DB
{
/**
 * Creates database connection.
 * 
 * <p>
 * Connects to SQLite database on given arguments.
 * <p>
 * 
 * <p>
 * List of parameters for this drivers:
 * </p>
 * 
 * <ul>
 * <li><var>database</var> - database name.</li>
 * </ul>
 * 
 * @version 0.0.7
 * @param array $params Connection parameters.
 * @throws PDOException On PDO operation error.
 */
    public function __construct($params)
    {
        if( isset($params['prefix']) )
        {
            $this->prefix = $params['prefix'];
        }

        // PDO constructor
    try
    {
        parent::__construct('sqlite:' . $params['database']);
    }
    catch(PDOException $error)
    {
        echo 'Can\'t connect to SQLite database.</font>';
            exit;
    }

}

/**#@-*/

?>
 
i do it and work.. now in step 5 drop me this

STEP 5

Set Admin Account

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 no such column: vip_time' in D:\xampp\htdocs\pot\OTS_Account.php:317 Stack trace: #0 D:\xampp\htdocs\pot\OTS_Account.php(317): PDO->query('UPDATE "account...') #1 D:\xampp\htdocs\install.php(575): OTS_Account->save() #2 {main} thrown in D:\xampp\htdocs\pot\OTS_Account.php on line 317

thank you so much :D
 
i do...

and they tell "Su consulta se ejecutó con éxito (La consulta tardó 0.2362 seg)"

and in installation page tell the same ..

STEP 5

Set Admin Account

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 no such column: vip_time' in D:\xampp\htdocs\pot\OTS_Account.php:317 Stack trace: #0 D:\xampp\htdocs\pot\OTS_Account.php(317): PDO->query('UPDATE "account...') #1 D:\xampp\htdocs\install.php(575): OTS_Account->save() #2 {main} thrown in D:\xampp\htdocs\pot\OTS_Account.php on line 317


do you mean in phpmyadmin in "localhost/phpmyadmin" ???
 
Last edited:
afff this gesior have many compatibility problems with tfs i guess is near to work
i have done do with a little change in code...

PHP:
alter table `accounts` add `vip_time` INT NOT NULL DEFAULT 0;

now it works to the step 6 and load mosnster and spell
appar is correctly installed but when i try to go to the may page it drop me this :D

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 no such table: server_motd' in D:\xampp\htdocs\latestnews.php:9 Stack trace: #0 D:\xampp\htdocs\latestnews.php(9): PDO->query('SELECT `players...') #1 D:\xampp\htdocs\index.php(63): include('D:\xampp\htdocs...') #2 {main} thrown in D:\xampp\htdocs\latestnews.php on line 9

i guess is same problem with some table
what i have to do now?

pd. my page is http://heleria.sytes.net
 
Back
Top