Login wenn man Gebannt ist

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

    • Login wenn man Gebannt ist

      Guten Abend

      Ich hatte mal das Ban-Panel gestestet und als ich mich mit mein test account der nun gebannt war einloggen wollte kam diese fehler meldung

      Message: Undefined index: PLANETS
      File: /includes/pages/game/AbstractGamePage.class.php
      Line: 105
      URL:
      PHP-Version: 5.6.29
      PHP-API: cgi-fcgi
      2Moons Version: 1.8.git
      Debug Backtrace:
      #0 /includes/pages/game/AbstractGamePage.class.php(105): errorHandler(8, 'Undefined index...', 'FILEPATH ...', 105, Array)
      #1 /includes/pages/game/AbstractGamePage.class.php(164): AbstractGamePage->getNavigationData()
      #2 /includes/pages/game/AbstractGamePage.class.php(234): AbstractGamePage->getPageData()
      #3 /includes/pages/game/AbstractGamePage.class.php(215): AbstractGamePage->display('error.default.t...')
      #4 /includes/pages/game/ShowErrorPage.class.php(34): AbstractGamePage->printMessage('<font size="6px...', false, NULL)
      #5 /includes/common.php(159): ShowErrorPage::printError('<font size="6px...', false)
      #6 /game.php(24): require('FILEPATH ...')
      #7 {main}

      kann mir da jemand weiter helfen ? =)
    • it looks like it was added incorrectly download a generic 1.8 open up and see what's supposed to be there on that line sorry I'm at MMO exhibition so I don't have it in front of me
    • In AbstractGamePage.class.php, at line 211.

      change with that:

      PHP Source Code

      1. protected function printMessage($message, $fullSide = true, $redirectButtons = NULL, $redirect = NULL)
      Everything will be good after
    • Thisishowwedoit wrote:

      Hello

      This error comes from my xterium deprecated pack. You can easily fix it by changing the position of the code in the common.php page

      Sincerely
      I think this has been for ages on default 2moons and has never been fixed
      Looking for good VPS to host your game? Use DigitalOcean and get 10$ bonus credit!

      Private project - stellaron.space
    • Hello

      Not sure, i had this error since the day i allowed access to the game in case of banning an account. And resolved it by replacing the code from the common.php page to another position. but possible its there in orginal 2moons, know it was present on that ugly clde

      Sincerely,
    • Guten Tag , Ich bin es nochmal ^^

      Ich hatte den code protected function printMessage($message, $fullSide = true, $redirectButtons = NULL, $redirect = NULL) bei mir eingefügt damit man die bann info sieht aber jetzt bekomme ich eine fehlermeldung wenn ich Z.b Daily Resources Bonus benutze. bei lucky 7 , fleet bonus und defense bonus genauso


      kann mir da nochmal wer helfen ? =)




      Message: Illegal string offset 'url'
      File: /cache/templates/de^f6e1fcc2d03f240a062f26f03beab15d9486450b.error.default.tpl.php
      Line: 433
      URL:
      PHP-Version: 5.6.29
      PHP-API: cgi-fcgi
      2Moons Version: 1.8.git
      Debug Backtrace:
      #0
      /cache/templates/de^f6e1fcc2d03f240a062f26f03beab15d9486450b.error.default.tpl.php(433):
      errorHandler(2, 'Illegal string ...', 'FILEPATH ...', 433, Array)
      #1
      /includes/libs/Smarty/sysplugins/smarty_template_resource_base.php(128):
      content_5ac72a895f58a7_95499584(Object(Smarty_Internal_Template))
      #2 /includes/libs/Smarty/sysplugins/smarty_template_cached.php(136):
      Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
      #3 /includes/libs/Smarty/sysplugins/smarty_internal_template.php(179):
      Smarty_Template_Cached->render(Object(Smarty_Internal_Template),
      false)
      #4 /includes/libs/Smarty/sysplugins/smarty_internal_templatebase.php(199): Smarty_Internal_Template->render(false, 1)
      #5
      /includes/libs/Smarty/sysplugins/smarty_internal_templatebase.php(114):
      Smarty_Internal_TemplateBase->_execute('extends:layout....', NULL,
      NULL, NULL, 1)
      #6 /includes/classes/class.template.php(137): Smarty_Internal_TemplateBase->display('extends:layout....')
      #7 /includes/pages/game/AbstractGamePage.class.php(249): template->display('extends:layout....')
      #8 /includes/pages/game/AbstractGamePage.class.php(215): AbstractGamePage->display('error.default.t...')
      #9 /includes/pages/game/ShowResBonusPage.class.php(66): AbstractGamePage->printMessage('Pack has been b...', true, Array)
      #10 /game.php(57): ShowResBonusPage->show()
      #11 {main}