advocaite / advocaite/Travianx

Hero Mansion and some Error

Open
#17 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Smarty
Stars
146
Forks
83
PR merge metrics
No merged PRs in 30d

Description

Hero Mansion Error
`"Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/TravianX/Templates/Build/37_hero.tpl:48) in /opt/lampp/htdocs/TravianX/Templates/Build/37_hero.tpl on line 155"`

i fixed it.
in build.php
add

`````` ob_start();```
before
```include("GameEngine/Village.php");
include("GameEngine/Units.php");```
And when hero died , hero mansion show like hero alive.

Report Error:
```Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /opt/lampp/htdocs/TravianX/Templates/Notice/3.tpl on line 40```
i think you must replace some "]" with "\"
``````

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.