advocaite/Travianx — Issue #41: Header error in marketplace
Author: Ansem
Created: 2011-11-12 18:11:27+00:00
State: open

When trading:
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /home/ansem/public_html/GameEngine/Database/db_MYSQL.php on line 1560

Warning: Cannot modify header information - headers already sent by (output started at /home/ansem/public_html/GameEngine/Database/db_MYSQL.php:1560) in /home/ansem/public_html/GameEngine/Market.php on line 178

Buffer the header with ob_start could fix this I think, atleast it helped for some similar issues in the past.
FYI, the resources get traded, but it can be confusing.