Owner Ghost
Banned User
- Joined
- Mar 9, 2016
- Messages
- 7
- Reaction score
- 0
hey geisor.pl how can players conect to my website??
Installed it 10 minutes ago on Ubuntu 16.04 with PHP7 and MariaDB.It is not compatible with PHP7?
php7.0-mysql php7.0-gd php7.0-xml
sudo su
apt-get -y install mariadb-server mariadb-client unzip
mysql_secure_installation
mysql -u root -p
CREATE DATABASE ots CHARSET utf8;
quit;
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
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 .
mysql -u root -p ots < schema/mysql.sql
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
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.Gesior why no word wrap
guilds:
![]()
player comment:
![]()
news:
![]()
etc
do you know how to add it?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.
Parse error: syntax error, unexpected '--' (T_DEC), expecting ';' in D:\xampp\htdocs\classes\configlua.php(56) : eval()'d code on line 1
<?php
if(!defined('INITIALIZED'))
exit;
Some comments in config.lua make acc. maker crash. Comments in same line as config are not allowed. Example: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;
passwordType = "sha1" -- password type sha1/md5
passwordType = "sha1"
-- password type sha1/md5
passwordType = "sha1"
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
mysqlHost = "127.0.0.1"
mysqlUser = "******"
mysqlPass = "******"
mysqlDatabase = "****"
mysqlPort = 3306
mysqlSock = ""
passwordType = "sha1"
Newest version is compatible with PHP 5.6 - 7.4.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?
apt install php-pdo php-mysql
apt install php-curl php-json php-gd
systemctl restart apache2