• 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!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

Linux TFS 1.2 Gesior 2012 (Fedora 34 - nginx - php-fpm) Failure on Step 4 Adding Sample

Lyky

Well-Known Member
Joined
May 27, 2014
Messages
285
Solutions
8
Reaction score
83
Hello
I have recently set up Gesior 2012 on fresh Fedora 34, nginx, php-fpm box.

PHP 7.4.28 (fpm-fcgi) (built: Feb 15 2022 13:23:10)
MariaDB
SQL Mode =''

All steps went through successfully but on Step 4 i get empty page
1646433057101.png


Inside nginx error log

2022/03/04 22:22:40 [error] 711#711: *127 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function fetch() on bool in /var/www/ots/classes/account.php:31
Stack trace:
#0 /var/www/ots/classes/account.php(19): Account->load()
#1 /var/www/ots/install.php(447): Account->__construct()
#2 {main}
thrown in /var/www/ots/classes/account.php on line 31" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: ots.site, request: "POST //install.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "ots.site", referrer: "http://ots.site//install.php?page=step&step=5"



My accounts table
1646433744012.png
 
Last edited:
OP
OP
Lyky

Lyky

Well-Known Member
Joined
May 27, 2014
Messages
285
Solutions
8
Reaction score
83
Figured it out.

Gesior for TFS 1.2 uses "premium_ends_at" column in accounts table. While its not part of standard tfs 1.2 schema.
 
Top