Shadowss / TravianZ

Travian T3.6 , BEST VERSION EVER | Server restarted ! Speed 50x , Troops 50x.
http://vacantaturism.ro/shadowss.ro/travian/
GNU General Public License v3.0
192 stars 121 forks source link

install/index.php can't load relative files (js, img, ...) #25

Closed greldinard closed 2 years ago

greldinard commented 2 years ago
  1. expected behaviour Installer working smoothly :)

  2. incorrect behaviour In the console window of the browser there are messages like:

    GEThttp://192.168.50.10/install/img/x.gif [HTTP/1.1 404 Not Found 270ms]

Such messages occur for all referenced files. After all the installer doesn't create any tables in the db and stops with an error: Error creating wdata. Check configuration or file.

But the config.php in the GameEngine dir seems to be alright...

  1. the operating system & version Ubuntu 20

  2. PHP version on the server 7.4.3

  3. MySQL / MariaDB version on the server mysql-server 8.0

So why are the relative paths not resolved? I tried creating symlinks, but I assume there is something to add in the apache or nginx (tried both) or php config?

Any hint appreciated !

greldinard commented 2 years ago

My fault! Typo while setting up the privileges on the db.

romancherviakov commented 1 year ago

So @greldinard how did you fixed that? I have the same problem, when Automation.php is trying to be execute from /install/ directory path

greldinard commented 1 year ago

As I recall... it was some wrong privileges setting on the database or user. I deleted an recreated the database and the user, then it worked.