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

Installation (manual) can't access to step 4 (Migration) #561

Open Chiller2019 opened 1 year ago

Chiller2019 commented 1 year ago

Describe the bug When I start the installation, give the correct MySQL-Credentials it stucks on step 4, migration to database

To Reproduce Upload to a WebServer with Apache, follow installation.

Screenshots image

Desktop (please complete the following information):

LucasKovacs commented 1 year ago

Which xgp version? Did you download the package? Or use composer?

agentcobra commented 1 year ago

Hi, I've try to do an installation guide #543

LucasKovacs commented 1 year ago

Closed since the author did not reply

Chiller2019 commented 1 year ago

Which xgp version? Did you download the package? Or use composer?

Version: newst, 3.4, download the package without any composer ect.

Chiller2019 commented 1 year ago

Closed since the author did not reply

WTF, was just one day after a new Message to the Problem?!

LucasKovacs commented 1 year ago

Please follow the installation steps. Share also error logs. It is too hard to help you without more information.

agentcobra commented 1 year ago

Hi, Readme was updated d1d9dc7ed498c4417f41b955871d4b67e0bb39d7 maybe it can help you?

Can you give us apache's log or httpd's log? I think you have the composer error, you need to do composer install, it's necessary to load includes files

Chiller2019 commented 1 year ago

Hi, Readme was updated d1d9dc7 maybe it can help you?

Can you give us apache's log or httpd's log? I think you have the composer error, you need to do composer install, it's necessary to load includes files

Thx, will check comming week! I post the result here.

Chiller2019 commented 1 year ago

Ok, same error. When I clock on "continue", the URL wont change, see picture.

Release -> Assets Upload the "upload"-directory, give right permissions (Linux) and klick on "Install", give the SQL-Information (yeahr, the creds are correct) and klick von "Continue" (The SQL-Creds are wrote in the config-file, I checked) but after this button, is the same link with an Error 500. And the DB is empty, no tables created.

image

LucasKovacs commented 1 year ago

Hi, Readme was updated d1d9dc7 maybe it can help you?

Can you give us apache's log or httpd's log? I think you have the composer error, you need to do composer install, it's necessary to load includes files

It can' t be the composer error, because the 3.4 package comes with the composer install done, so you don't have to do it, and it is possible to directly install the game.

LucasKovacs commented 1 year ago

Ok, same error. When I clock on "continue", the URL wont change, see picture.

Release -> Assets Upload the "upload"-directory, give right permissions (Linux) and klick on "Install", give the SQL-Information (yeahr, the creds are correct) and klick von "Continue" (The SQL-Creds are wrote in the config-file, I checked) but after this button, is the same link with an Error 500. And the DB is empty, no tables created.

image

can you check if there's any error on storage/logs ?

Chiller2019 commented 1 year ago

Hi, Readme was updated d1d9dc7 maybe it can help you? Can you give us apache's log or httpd's log? I think you have the composer error, you need to do composer install, it's necessary to load includes files

It can' t be the composer error, because the 3.4 package comes with the composer install done, so you don't have to do it, and it is possible to directly install the game.

correct, thats the reason why I used this asset.

can you check if there's any error on storage/logs ?

Sure, I will check soon, give information than.

Chiller2019 commented 1 year ago

So, there is an error according to the PHP error, there is a restriction of open_basedir. I tried to fix the error, but when programming the game, the path was probably programmed incorrectly for the errors.

But an error.txt should be created for the installation, unfortunately this falls flat due to the restriction.

LucasKovacs commented 1 year ago

Have you tried making those path readable? With chmod 777

OceanicNomad commented 1 year ago

571 Refer to this, should help you out

Chiller2019 commented 1 year ago

571 Refer to this, should help you out

No because Its a lInux Server with apache2

Have you tried making those path readable? With chmod 777

Tried, no effect

Error is:

Error 500 -> POST /install/index.php?page=installation&mode=step3 HTTP/1.1

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Typed property App\\Core\\Database::$connection must not be accessed before initialization in /***/app/Core/Database.php:138