Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

errors in homepage after installing #81

Open
Nx2UndU opened this issue Jul 28, 2021 · 1 comment
Open

errors in homepage after installing #81

Nx2UndU opened this issue Jul 28, 2021 · 1 comment

Comments

@Nx2UndU
Copy link

Nx2UndU commented Jul 28, 2021

I finished installing and the homepage is full of error lines and i can't click on anything no login no register nothing !!

when i go to login.php page it shows these errors

Notice: Constant SQL_SERVER already defined in C:\xampp5.4\htdocs\T1\GameEngine\Database\connection.php on line 10

Notice: Constant SQL_USER already defined in C:\xampp5.4\htdocs\T1\GameEngine\Database\connection.php on line 13

Notice: Constant SQL_PASS already defined in C:\xampp5.4\htdocs\T1\GameEngine\Database\connection.php on line 16

Notice: Constant SQL_DB already defined in C:\xampp5.4\htdocs\T1\GameEngine\Database\connection.php on line 19

Notice: Constant TB_PREFIX already defined in C:\xampp5.4\htdocs\T1\GameEngine\Database\connection.php on line 22

Notice: Constant DB_TYPE already defined in C:\xampp5.4\htdocs\T1\GameEngine\Database\connection.php on line 28

Fatal error: Cannot redeclare class Config in C:\xampp5.4\php\pear\Config.php on line 44

@dsteindo
Copy link

Hi there,

This is because of newer php requirements, these were something I addressed here
https://github.com/dsteindo/TravianT4_PHP7

you can check the code if you want, it contains plenty of fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants