Closed aez2022 closed 5 years ago
Hello, what version of PHP are you using?
Look at this picture
In which page the error is showed?
After this page
??
Will be fixed after refactoring. Its a long process
http://travian.shadowss.ro/login.php
How does this site work?
Right now I cannot physically reproduce the error and I wouldn't know how to reproduce it.
@iopietro @Shadowss This error is due to the fact that the version of PHP 5.6 is being used.
Installing from version of PHP 7.0 all is OK.
Using version of PHP 7.0 gave me an error at the end of the installation (after the account creation page, multihunter, support and admin)
Warning: include_once(../GameEngine/Artifacts.php): failed to open stream: No such file or directory in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 20
Warning: include_once(): Failed opening '../GameEngine/Artifacts.php' for inclusion (include_path='.;c:/ospanel/modules/php/PHP-7.0-x64;c:/ospanel/modules/php/PHP-7.0-x64/PEAR/pear') in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 20
Warning: include_once(../GameEngine/Units.php): failed to open stream: No such file or directory in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 21
Warning: include_once(): Failed opening '../GameEngine/Units.php' for inclusion (include_path='.;c:/ospanel/modules/php/PHP-7.0-x64;c:/ospanel/modules/php/PHP-7.0-x64/PEAR/pear') in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 21
Warning: include_once(../GameEngine/Generator.php): failed to open stream: No such file or directory in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 22
Warning: include_once(): Failed opening '../GameEngine/Generator.php' for inclusion (include_path='.;c:/ospanel/modules/php/PHP-7.0-x64;c:/ospanel/modules/php/PHP-7.0-x64/PEAR/pear') in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php:20) in C:\OSPanel\domains\TravianZ-master\install\include\accounts.php on line 99
@velhbxtyrj I have the exact same errors with php7.0, is there any suggestion to solve this problem?
@andrenunesjob Errors that the author of this issue indicated or those errors I indicated?
velhbxtyrj the errors that you indicated regarding the PHP 7.0
Warning: include_once(../GameEngine/Artifacts.php): failed to open stream: No such file or directory in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 20
Warning: include_once(): Failed opening '../GameEngine/Artifacts.php' for inclusion (include_path='.;c:/ospanel/modules/php/PHP-7.0-x64;c:/ospanel/modules/php/PHP-7.0-x64/PEAR/pear') in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 20
Warning: include_once(../GameEngine/Units.php): failed to open stream: No such file or directory in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 21
Warning: include_once(): Failed opening '../GameEngine/Units.php' for inclusion (include_path='.;c:/ospanel/modules/php/PHP-7.0-x64;c:/ospanel/modules/php/PHP-7.0-x64/PEAR/pear') in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 21
Warning: include_once(../GameEngine/Generator.php): failed to open stream: No such file or directory in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 22
Warning: include_once(): Failed opening '../GameEngine/Generator.php' for inclusion (include_path='.;c:/ospanel/modules/php/PHP-7.0-x64;c:/ospanel/modules/php/PHP-7.0-x64/PEAR/pear') in C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at C:\OSPanel\domains\TravianZ-master\GameEngine\Admin\function.php:20) in C:\OSPanel\domains\TravianZ-master\install\include\accounts.php on line 99
So this should be addressed to the @iopietro for help.
@andrenunesjob But these are just warnings and you can get around them if you go to the next page of the installation. I looked in the database and all entered passwords for Multihunter and Support are created. It is also possible if you turn off the display of errors on the server, these warnings will not be displayed and everything will be installed as expected.
It will be fixed in the refactored version and as @velhbxtyrj said, they're only warnings, the installation itself works fine.
Closing as this is not something that we are planning to fix in legacy version.
Hi, I can not install this script Because it shows me this error Please Help me
Parse error: syntax error, unexpected '(' in C:\AppServ\www\travian\GameEngine\Artifacts.php on line 286