iopietro/Travianz-Legacy

HTTP ERROR 500 Help

K9CTec opened this issue · 12 comments

This page isn’t working
xxxxx is currently unable to handle this request.
HTTP ERROR 500

PHP version on the server : 7.0.31
MySQL / MariaDB version on the server : 5.7.23

where exactly does this happen? give a link to what page this happens?

where exactly does this happen? give a link to what page this happens?

page error html 500 install/process.php

Step 3 from 6

What version of PHP are you using? Most likely you are using PHP version 5.6. And it is necessary that there should be a version 7.0+

  • 1 i get this aswell, i am running php 5+, it shows 500 error as soon as i click create on install after completing all the fields.

It is necessary to use the PHP 7.0+, otherwise there will be errors.

Sorry* I am using Php 7** not 5. Anything i can check why this is happening?
Screenshot of php -v
https://gyazo.com/974e278dbee56787d5486277efc5c328

I see these errors on the apache error log @velhbxtyrj
image

This is the problematic line of code:
https://github.com/Shadowss/TravianZ/blob/3b167c64bee70053abe6a9a31133f3e8f0c5fc40/GameEngine/Database.php#L490

Are you sure that you have an up-to-date PHP version? The "..." token exists since PHP 5.6, so you could have a lesser version than the 5.6

Yes, i am fairly sure, as i mentioned above here is a screenshot of php -v
https://gyazo.com/974e278dbee56787d5486277efc5c328
Anything you'd like me to try?
Cheers

Nevermind, I had to physically set PHP 7 on the server, Works now!

Nevermind, I had to physically set PHP 7 on the server, Works now!

I get the same HTTP ERROR 500 and i'm running PHP 7.2.10 on digitalocean.

Any tips?

This is what i get after php -v on the server :)

image