Error when trying to open buildings/reasearches/shipyard

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Error when trying to open buildings/reasearches/shipyard

    I get this error when I access building researches or shipyard

    PHP Source Code

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