BrownDeveloper
New Member
- Joined
- Jun 25, 2018
- Messages
- 20
- Reaction score
- 0
Hello friends of OTland, I need your extensive expertise regarding a problem I've been experiencing for the past two days regarding the installation of my server's website.
I'm using Debian version 12 bookworm. I installed Apache2, PHP8.4, and MySQL following various tutorials, and I'm getting the same error when accessing the website, The tfs client work fine, and has been online right now and (turned on 30/06/25) is accessible from anywhere, the problem I have is accessing the OT website.
My Dear OTserver proyect files are as follows:
TFS 0.4 (8.60) working fine
Gesior Acc TFS-0.4_rev_3703+
Note: I used these same files a few years ago in Debian 7 or 10 not remember exactly and didn't encounter this issue.
The direct connection through Myipmachine.com/phpmyadmin works fine, but when I try to access the main page, it throws up this error.

Checking ERROR in error.log (apache2) = PHP Fatal error: php:error] [pid 68455:tid 68455] [client xxx.xxx.43.xxx:23045] PHP Fatal error: Cannot make static method PDO::connect() non-static in class Database in /var/www/html/classes/database.php on line 24
I'm not an advanced Linux user, but I'm pretty sure it's due to compatibility issues with the calls (pdo), which probably work differently in this version of Gesior Acc and idk how fix
Jerzy Skalski (Gesior) Gesior.pl,
I'm using Debian version 12 bookworm. I installed Apache2, PHP8.4, and MySQL following various tutorials, and I'm getting the same error when accessing the website, The tfs client work fine, and has been online right now and (turned on 30/06/25) is accessible from anywhere, the problem I have is accessing the OT website.
My Dear OTserver proyect files are as follows:
TFS 0.4 (8.60) working fine
Gesior Acc TFS-0.4_rev_3703+
Note: I used these same files a few years ago in Debian 7 or 10 not remember exactly and didn't encounter this issue.
The direct connection through Myipmachine.com/phpmyadmin works fine, but when I try to access the main page, it throws up this error.

Checking ERROR in error.log (apache2) = PHP Fatal error: php:error] [pid 68455:tid 68455] [client xxx.xxx.43.xxx:23045] PHP Fatal error: Cannot make static method PDO::connect() non-static in class Database in /var/www/html/classes/database.php on line 24
I'm not an advanced Linux user, but I'm pretty sure it's due to compatibility issues with the calls (pdo), which probably work differently in this version of Gesior Acc and idk how fix