Fatal error: Uncaught ErrorException:

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

    • Fatal error: Uncaught ErrorException:

      Hi, wollte nach langen Tagen mal ein Speeduni aufbasteln. Hab mich daher für die 2Moon V2 version entschieden und bekomme nun diesen Fehler ausgespuckt:

      Fatal error: Uncaught ErrorException: Undefined offset: 8192 in /home/vol7_2/*****.com/b13_****6733/htdocs/2/includes/GeneralFunctions.php:506 Stack trace: #0 /home/vol7_2/*******/b13_******733/htdocs/2/includes/GeneralFunctions.php(506): errorHandler(8, 'Undefined offse...', '/home/vol7_2/by...', 506, Array) #1 [internal function]: exceptionHandler(Object(ErrorException)) #2 {main} thrown in /home/vol7_2/*******/*****66733/htdocs/2/includes/GeneralFunctions.php on line 506


      Kann mir da jemand sagen, was das ganze bedeutet? Ich kenn mich da leider absolut nicht aus. Versuche schon seit Tagen bei diesem Hoster Anbieter das Spiel zum laufen zu bringen aber jedesmal wenn ich in den Server Settings reinkomme etwas verändere etc pp. und dann danach ein Test Account anlege Crasht die gesamte Seite meistens.

      Bzw. Ist es zwingend Notwendig eine Mail Adresse im Admin Panel anzugeben, ich geh mal davon aus, das wenn sich Spieler registrieren, dass dann darüber die Mail versendet wird und vielleicht daher auch der Fehler kommt, da ich nie bisher eine angegeben habe.

      mfg
    • The only way I "fixed" this (and it is a hack) was to add a line in


      PHP Source Code: includes/Generalfunctions.php

      1. if ($errno == 8192) {$errno = E_ERROR;}

      I could not find where that error is coming from


      Hope that helps temporarily. I know the game has dwindled in popularity, but I like it, hopefully the dev is still around to tinker with it.
    • Hallo@alle

      Ich habe das selbe Problem..
      Ich habe mir Heute die 1.8 Original Version installiert, hat alles wunderbar Funktioniert.
      ich komm in den Admin Bereich da Funktioniert auch alles.. Verlasse ich dann den Admin Bereich bekomme ich die
      selbe Error Meldung.


      Source Code

      1. ```-- Server Info --
      2. Server Infos: Apache/2.4.52 (Unix)
      3. PHP-Version: 7.4.27 (cgi-fcgi)
      4. JSON Verfügbar: Ja
      5. BCMath Verfügbar: Ja
      6. cURL Verfügbar: Ja
      7. SafeMode: Nein
      8. MemoryLimit: 512M
      9. MySQL-Client-Version: 5.6.45
      10. MySQL-Server-Version: 5.7.36-log
      11. ErrorLog: includes/error.log (40, Aktiv)
      12. Timezone(PHP/CONF/USER): 1 / 1 / 1
      13. Suhosin: Nein
      14. DB Version: 4
      15. -- Game --
      16. Game Version: 2Moons 1.8.git
      17. Game Addresse: http://xxxxxxx.de/
      18. Game Pfad: http://xxxxx.de/index.php
      19. Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0
      20. ```
      Display All

      php 5.6 auf xampp und 8.0 hab ich ausprobiert geht auch nicht.

      Im Ordner includes/GeneralFunctions.php on line 506 steht bei mir:


      Source Code

      1. <title>'.$gameName.' - '.$errorType[$errno].'</title>
      Was mache ich Falsch?

      Danke schon mal

      ok Update... mit xamp php 7.1 Funktioniert es... was mich zu einer anderen Frage führt
      was muss am Spiel geändert werden damit es auch unter php 8.1 Funktioniert?

      The post was edited 1 time, last by Red Bull ().

    • Hi,

      You can fix this error i guess temporally

      Open in includes/Page/game/AbstractGamePage.class.php

      Line 161 (if i remember)

      PHP Source Code: AbstractGamePage.php

      1. hasBoard' => filter_var($config->forum_url, FILTER_VALIDATE_URL,FILTER_FLAG_SCHEME_REQUIRED),
      to fix it , juste remove > FILTER_FLAG_SCHEME_REQUIRED

      This is a problem

      Hope it's you