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

Need help to create a website

taha94

New Member
Joined
Jun 12, 2009
Messages
168
Reaction score
0
Location
Sweden
I get this error when i try to create a character on my website

Fatal error: Call to a member function fetch() on a non-object in C:\Program\xampp\htdocs\pot\OTS_Group.php on line 48
 
Last edited:
Im setting up a gesior acc. And when i try to set my server path i get this error

Warning: Error parsing C:/Documents and Settings/Taha/Skrivbord/NaxedOt/config.lua on line 17 in C:\Program\xampp\htdocs\install.php on line 151
File config.lua loaded from C:/Documents and Settings/Taha/Skrivbord/NaxedOt/config.lua and it's not valid TFS config.lua file. Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.
 
Tried the tutorial section couldnt find anything. Second i removed the lines but after that i cant even open http://localhost/install.php

This is what it says on line 151

$config['server'] = parse_ini_file($config['site']['server_path'].'config.lua');

Should i changed something there?
 
Never mind i fixed it myself but now i get this at step 4

Add samples to DB:
Added first news ticker.
Added first news.

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'redskulltime' in 'field list'' in C:\Program\xampp\htdocs\install.php:529 Stack trace: #0 C:\Program\xampp\htdocs\install.php(529): PDO->query('INSERT INTO pla...') #1 {main} thrown in C:\Program\xampp\htdocs\install.php on line 529
 
easy goto
yourip/phpmyadmin
in SQL
use this query

SQL:
ALTER TABLE `players` ADD `redskulltime` BIGINT NOT NULL DEFAULT 0; 
ALTER TABLE `players` ADD `redskull` SMALLINT NOT NULL DEFAULT 0;

and install again step 4 now Its Works!
 
When i press highscore i get this error

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.' in C:\Program\xampp\htdocs\pot\OTS_Player.php:135 Stack trace: #0 C:\Program\xampp\htdocs\pot\OTS_Player.php(135): PDO->query('SELECT `id` FRO...') #1 C:\Program\xampp\htdocs\highscores.php(90): OTS_Player->find('Rook Sample') #2 C:\Program\xampp\htdocs\index.php(154): include('C:\Program\xamp...') #3 {main} thrown in C:\Program\xampp\htdocs\pot\OTS_Player.php on line 135
 
Last edited:
Fixed that but when i try to create a character i get this error

The Following Errors Have Occurred:
Wrong characters configuration ("Load vocations" in admin panel, "character to copy" doesn't exist in DB). Try again or contact with admin.
 
This is what i get now
Code:
Fatal error: Call to a member function fetch() on a non-object in C:\Program\xampp\htdocs\pot\OTS_Player.php on line 66
 
Back
Top