I get this error when I access building researches or shipyard
Display All
PHP Source Code
- Error:
- Message: Division by zero
- File: /var/www/vhosts/corrado-game.org/httpdocs/uni10/cache/9e77e92206ab7b206846f2d8122f0c5fcf770138.file.buildings_overview.tpl.php
- Line: 229
- URL: http://uni10.corrado-game.org/game.php?page=buildings
- PHP-Version: 5.5.9-1ubuntu4.21
- PHP-API: cgi-fcgi
- 2Moons Version: 1.1.
- Debug Backtrace:
- #0 ./cache/9e77e92206ab7b206846f2d8122f0c5fcf770138.file.buildings_overview.tpl.php(229): FirePHP->errorHandler(2, 'Division by zer...', '/var/www/vhosts...', 229, Array)
- #1 ./includes/libs/Smarty/sysplugins/smarty_internal_template.php(434): include('/var/www/vhosts...')
- #2 ./includes/libs/Smarty/sysplugins/smarty_internal_template.php(569): Smarty_Internal_Template->renderTemplate()
- #3 ./includes/libs/Smarty/Smarty.class.php(338): Smarty_Internal_Template->getRenderedTemplate()
- #4 ./includes/libs/Smarty/Smarty.class.php(382): Smarty->fetch('buildings_overv...', NULL, NULL, NULL, true)
- #5 ./includes/classes/class.template.php(378): Smarty->display('buildings_overv...')
- #6 ./includes/pages/class.ShowBuildingsPage.php(457): template->show('buildings_overv...')
- #7 ./game.php(299): ShowBuildingsPage->__construct()
- #8 {main}