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

GESIOR 2012 - Version 1.0.1 for 0.2.x, 0.3.6 and all 0.4

PLx help me:
Call to a member function fetch() on a non-object in C:\xampp\htdocs\classes\account.php on line 33

i don't know what is happened, because i add my sample on confing and install.php and install acc maker again...
because it work on dragon ball on tfs 1.0+ 10.96 protocol. Mabye u help me Gęsior ?
Maybe wrong adds samples, I have never done and your assistance to help me the truth.

Again, please help me on that error ;)

@polish: Nie mam pojecia co się stało, ponieważ dodałem moje sample i zainstalowałem acc makera jeszcze raz
ponieważ robie dragon balla na tfsie 1.0+ na 10.96 tibie. Może dasz rade mi pomóc Gęsior?
Może źle dodaje sample, nigdy tego nie robiłem i twoja pomoc na prawde by mi pomogła.

Raz jeszcze, prosze o pomoc z tym błędem ;)
 
gesior.pl i use gesior 2012
i got this problem
Fatal error: Call to a member function fetch() on a non-object in /var/www/classes/account.php on line 33
 
It is not compatible with PHP7?
Installed it 10 minutes ago on Ubuntu 16.04 with PHP7 and MariaDB.
Someone asked me to test, so I wrote short tutorial. It's in polish, but I hope it won't be a problem.
Maybe you missed one of PHP7 required packages (some of them were included in default PHP 5.x version, in PHP 7.0 you must install them manually):
PHP:
php7.0-mysql php7.0-gd php7.0-xml
--------------------------------------------------------------------

Zainstalowałem PHP7 i MariaDB (następca/zastępca MySQL) na Ubuntu 16.04 server.
PHP:
sudo su
apt-get -y install mariadb-server mariadb-client unzip
mysql_secure_installation
mysql -u root -p

W konsoli MariaDB - ważne, że utf8:
PHP:
CREATE DATABASE ots CHARSET utf8;
quit;
Może też być wymagane dodanie użytkownika 'root' na 'localhost' i nadanie mu uprawnień jeśli tak się łączysz w ots - oczywiście lepiej zrobić użytkownika oddzielnego, ale to nie na ten tutorial.

Dalej w konsoli linux:
PHP:
apt-get -y install apache2
apt-get -y install php7.0 libapache2-mod-php7.0
apt-get -y install php7.0-mysql php7.0-gd php7.0-xml
systemctl restart apache2

PHP:
cd /home
wget http://skalski.at/tmp/trunk.r3777.zip
unzip trunk.r3777.zip
mv trunk.r3777 ots
cd ots
cp config.lua.dist config.lua
chmod -R 777 .
W tym momencie trzeba edytować plik /home/ots/config.lua i ustawić w nim dane do połączenia z MariaDB (MySQL).

Wgrywamy schemat bazy danych OTS do bazy danych:
PHP:
mysql -u root -p ots < schema/mysql.sql

PHP:
cd /var/www
wget https://github.com/gesior/Gesior2012/archive/TFS-0.4_rev_3703+.zip
unzip TFS-0.4_rev_3703+.zip
rm -r html/*
mv Gesior-2012-TFS-0.4_rev_3703-/* html/
chmod -R 777 html

Teraz można przejść do instalatora Gesior2012 na www i wszystko powinno działać.
 
Gesior why no word wrap :(

guilds:
fo8srPo.png


player comment:
3awQAW0.png


news:
7P43cvI.png


etc
 
Gesior why no word wrap :(

guilds:
fo8srPo.png


player comment:
3awQAW0.png


news:
7P43cvI.png


etc
In 2008 web browsers had serious problem (IE of course..) with word wrap function (it worked totally different in IE and in normal browsers), so I did not add word wrap. After 2008 I did not update layout/styles of acc. maker.
 
In 2008 web browsers had serious problem (IE of course..) with word wrap function (it worked totally different in IE and in normal browsers), so I did not add word wrap. After 2008 I did not update layout/styles of acc. maker.
do you know how to add it?
 
I have problem with user registration. In select of world, system does't show any world.
Deafult settings - in config.lua I have type of pvp and in config.php i have definied one world.

I debuged browser and it say that is the problem with function called "UpdateServerList".

Please, help :)
 
I'm having several issues using php7 in ubuntu 16.04 ...

Problems adding samples to site installation, creating accounts among others using INSERT INTO. It seems to me that the site is not giving a "default" value to what is not defined in the action.

Query: INSERT INTO `accounts` (`name`, `password`, `premdays`, `lastday`, `email`, `creation`, `key`, `create_ip`, `premium_points`, `page_access`, `location`, `rlname`, `email_new`, `email_new_time`, `email_code`, `next_email`, `last_post`, `vote`, `create_date`) VALUES ('1234567', 'e73bac1236d8a1ebcc491178f188b70d56f36406', '', '', '[email protected]', '1522099408', '', '2974289106', '', '', '', '', '', '', '', '', '', '', '')
SQLSTATE: HY000
Driver code: 1366
Error message: Incorrect integer value: '' for column 'premdays' at row 1


And it's not just in the ACCOUNT table. Is it something related to mysql? I am using version 5.7.21 ...
 
As I have already found out about this topic, I will ask you directly which version of the geyser is compatible with the sql 7.6 engine
 
How can i fix the images on character page? like items and country flag that dont appear
 
Hello. Can someone help me with this? I've used xampp before, but it crashes and i have to reinstall it. Now im trying with wamp and have only this problem now: Przechwytywanie.PNG
 
i have this error pls help


Code:
Parse error: syntax error, unexpected '--' (T_DEC), expecting ';' in D:\xampp\htdocs\classes\configlua.php(56) : eval()'d code on line 1


configlua.php
Code:
<?php
if(!defined('INITIALIZED'))
    exit;
 
i have this error pls help


Code:
Parse error: syntax error, unexpected '--' (T_DEC), expecting ';' in D:\xampp\htdocs\classes\configlua.php(56) : eval()'d code on line 1


configlua.php
Code:
<?php
if(!defined('INITIALIZED'))
    exit;
Some comments in config.lua make acc. maker crash. Comments in same line as config are not allowed. Example:
Code:
passwordType = "sha1" -- password type sha1/md5
In this example you need to remove comment and leave just:
Code:
passwordType  = "sha1"
You can also move comment to line above config:
Code:
-- password type sha1/md5
passwordType = "sha1"
 
Could you please help me? Not sure if it's a compatibility issue.

Downloaded gesior website from your github (master branch) and also the forgotten server (from master branch aswell, I guess it's 1.3?) but I'm not managing to make it work. It's just for tests but current website throws:

Error occured!
Error ID:
More info: CANNOT CONNECT TO DATABASE: could not find driver

PHP:
Error occured!
Error ID:
More info: CANNOT CONNECT TO DATABASE: could not find driver

File: /var/www/html/classes/database_mysql.php   Line: 22
File: /var/www/html/classes/database.php   Line: 199
File: /var/www/html/pages/latestnews.php   Line: 18
File: /var/www/html/system/load.page.php   Line: 7
File: /var/www/html/index.php   Line: 42

This is the config.lua:

Lua:
mysqlHost = "127.0.0.1"
mysqlUser = "******"
mysqlPass = "******"
mysqlDatabase = "****"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

Tried to search for solutions here but I wasn't able to figure out how to solve it. Currently I have PHP 7.2 installed on: /etc/php/7.2/apache2

EDIT: Installed 5.6.4 as suggested in your readme file but it's still not working.

Should I install a lower PHP version? What do you think?
 
Last edited:
Could you please help me? Not sure if it's a compatibility issue.

Downloaded gesior website from your github (master branch) and also the forgotten server (from master branch aswell, I guess it's 1.3?) but I'm not managing to make it work. It's just for tests but current website throws:

Error occured!
Error ID:
More info: CANNOT CONNECT TO DATABASE: could not find driver

PHP:
Error occured!
Error ID:
More info: CANNOT CONNECT TO DATABASE: could not find driver

File: /var/www/html/classes/database_mysql.php   Line: 22
File: /var/www/html/classes/database.php   Line: 199
File: /var/www/html/pages/latestnews.php   Line: 18
File: /var/www/html/system/load.page.php   Line: 7
File: /var/www/html/index.php   Line: 42

This is the config.lua:

Lua:
mysqlHost = "127.0.0.1"
mysqlUser = "******"
mysqlPass = "******"
mysqlDatabase = "****"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"

Tried to search for solutions here but I wasn't able to figure out how to solve it. Currently I have PHP 7.2 installed on: /etc/php/7.2/apache2

EDIT: Installed 5.6.4 as suggested in your readme file but it's still not working.

Should I install a lower PHP version? What do you think?
Newest version is compatible with PHP 5.6 - 7.4.
"could not find driver" means that your PHP does not have installed MySQL (MariaDB) driver:
Code:
apt install php-pdo php-mysql
To fix all possible issues, you should also install:
Code:
apt install php-curl php-json php-gd
(or php-gd2 in place of php-gd, depends on system version)

After installation, you need to restart PHP to detect new modules. In case of Apache, it's probably integrated by 'libapache2-php' (default). To restart PHP you need to restart Apache server:
Code:
systemctl restart apache2
 
Why gesior never released an version for oldschool? Like nostalrius or any tfs based on 7.72? I know everyone will say it is easy to make it work but is easy for who know
 
Back
Top