Closed velhbxtyrj closed 6 years ago
I tried to fight this problem and I did not succeed (
I think that is generated because of the new constants I added in the last updates, I'll look into it.
Fixed in b58b762b12833d107b7282621e9bc6bfa42bd5ff.
@iopietro We still have problems with this. The error does not occur if we edit and save the block: Edit Server Settings
Problems after saving all other blocks:
I looked at these files that correspond to the above and there they have information that relates to different blocks, and specifically they all have a file configuration: Edit Server Settings
https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Admin/Mods/editServerSet.php https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Admin/Mods/editPlusSet.php https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Admin/Mods/editLogSet.php https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Admin/Mods/editNewsboxSet.php https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Admin/Mods/editExtraSet.php https://github.com/Shadowss/TravianZ/blob/master/GameEngine/Admin/Mods/editAdminInfo.php
If perform cleanup and leave in each file only the information that relates to this file, this will not cause any error? Or need to make changes to each file like you did in the previous fix?
I think that I'll do the second thing you said.
This is due to the configuration file: GameEngine/config.php
Parse error: syntax error, unexpected '%' in /GameEngine/config.php on line 120
I have these records:
After saving the settings, they are overwritten by: