XGProyect / XG-Proyect-v3.x.x

XG Proyect is an OGame clone open-source web application framework designed for creating game clones, particularly those inspired by the popular game OGame, set in a vast and captivating space-themed universe.
https://xgproyect.org
GNU General Public License v3.0
149 stars 101 forks source link

Error 500 #597

Closed Luciano1141 closed 1 month ago

Luciano1141 commented 5 months ago

Describe the bug I got an error 500 after trying to start the configuration http://xx.xx.xx.xx/public/install/

To Reproduce Steps to reproduce the behavior:

  1. VPS installed with Debian, PHP 7.4, composer and docker
  2. git clone https://github.com/XGProyect/XG-Proyect-v3.x.x.git
  3. docker-compose build --build-arg PHP_VERSION=7.4 && docker-compose up -d
  4. going to http://xx.xx.xx.xx/public/install/
  5. Got the error 500 - even if I checked the phpmyadmin, DB, everything seems OK

Expected behavior Something else than this error.

Screenshots image

Desktop (please complete the following information):

Additional context If someone can help me ? I am ready to retribute if someone wants to take time and help me to install this server. Thanks a lot.

jonamix-ar commented 5 months ago

Active debug in Constant.php and update PHP VErsion to 8.1

Luciano1141 commented 5 months ago

Thanks a lot for your help Jonamix-ar.

Even if I delete the docker, updating the php to 8.1 and recreate the docker, now I don't have any error but the server seems to not be reachable.

Any chance to get in touch directly with you ? As I said, it would be a pleasure and it's normal to retribute you for your help.

I will update this post to help the community if they have got the same problem.

jonamix-ar commented 5 months ago

Two question you run "composer update" and in config/constant.php put "true" in DEBUG_MODE = false

Luciano1141 commented 5 months ago

Thanks a lot Jonamix ! Actually I did resolve my problem by upgrading to 5.3 instead of 5.2 I was able to do the configuration without any trouble then :)