Weiße Seite - USER ERROR: "Cannot access offset of type string on string"

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

    • Weiße Seite - USER ERROR: "Cannot access offset of type string on string"

      Hallo!

      :?: Wie bekommt man weg, daß nur ne weiße Seite angezeigt wird, wenn User auf etwas im Menü klickt, was noch nicht existiert?

      z.B. frisch registriert -> klick auf Forschung = weiße Seite mit dem Text daß Admin informiert wurde... aber ohne zurück Button und ohne weiterleitung
      oder frisch registriert -> klick auf Schiffswerft = weiße Seite...

      Wenn man es weiß ist ja nicht schlimm, aber doch nervig, falls man damit richtig ONLINE gehen will.


      Test-Install
      User: Demouser
      Pass: demopassword

      Errorlog:

      Source Code

      1. useragent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0File: /home/webpages/lima-city/ronxtcdabass/html/test/2moonz/cache/templates/de^24a4c043e57c1587b7288ff42ddb5b70bf68f66b.error.default.tpl.php | Line: 434
      2. get: Array
      3. (
      4. [page] => research
      5. )
      6. post: Array
      7. (
      8. )
      9. URL: https://ronxtcdabass.lima-city.de/test/2moonz/game.php?page=research | Version: 1.8.git
      10. Stack trace:
      11. #0 /includes/libs/Smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b70e88a3e1b4_13147916(Object(Smarty_Internal_Template))
      12. #1 /includes/libs/Smarty/libs/sysplugins/smarty_template_cached.php(137): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
      13. #2 /includes/libs/Smarty/libs/sysplugins/smarty_internal_template.php(212): Smarty_Template_Cached->render(Object(Smarty_Internal_Template), false)
      14. #3 /includes/libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 1)
      15. #4 /includes/libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 1)
      16. #5 /includes/classes/class.template.php(146): Smarty_Internal_TemplateBase->display('extends:layout....')
      17. #6 /includes/pages/game/AbstractGamePage.class.php(208): template->display('extends:layout....')
      18. #7 /includes/pages/game/AbstractGamePage.class.php(182): AbstractGamePage->display('error.default.t...')
      19. #8 /includes/pages/game/ShowResearchPage.class.php(311): AbstractGamePage->printMessage('Du musst zuerst...')
      20. #9 /game.php(57): ShowResearchPage->show()
      21. #10 {main}
      Display All

      Danke!!
      Es zählt nicht wie lang man lebt, sondern wie intensiv.Euer Mond ist meine Sonne, Euer Montag - mein Sonntag.Musik ist Leben!

      ⭐Psy Love Is My Love⭐
    • normally it says the page doesn't exist
      You have a think une erreur dans le fichier langues essayé de la faire dans une autre langue
      You can contact me by Discord : danter14
      Discord Galactic Conquest
      Video Youtube dev + tutorials

      Webside

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

    • Oh Sorry!
      ich nutze diese 1.8er version, die (dachte ich) die Hauptkategorie hier ist.

      Source Code

      1. -- Server Info --
      2. Server Infos: Apache/2.4
      3. PHP-Version: 8.3.16 (fpm-fcgi)
      4. JSON Verfügbar: Ja
      5. BCMath Verfügbar: Ja
      6. cURL Verfügbar: Ja
      7. SafeMode: Nein
      8. MemoryLimit: 256M
      9. MySQL-Client-Version: mysqlnd 8.3.16
      10. MySQL-Server-Version: 8.0.39-30
      11. ErrorLog: includes/error.log (348, 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://ronxtcdabass.lima-city.de/
      18. Game Pfad: http://ronxtcdabass.lima-city.de/test/2moonz/index.php
      19. Browser: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
      Display All
      und Ja, daß irgendwas nicht vorhanden sein soll, hab ich auch schon erkannt, jedoch sind php und tpl dateien alle da. O_o
      Es zählt nicht wie lang man lebt, sondern wie intensiv.Euer Mond ist meine Sonne, Euer Montag - mein Sonntag.Musik ist Leben!

      ⭐Psy Love Is My Love⭐
    • Dank Eurer Test-Besuche, hier auch mal nen Fehlerlog, der nicht von mir und meinem Windows stammt:

      IP entfernt

      Source Code

      1. useragent: Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0File: /home/webpages/lima-city/ronxtcdabass/html/test/2moonz/cache/templates/en^24a4c043e57c1587b7288ff42ddb5b70bf68f66b.error.default.tpl.php | Line: 434
      2. get: Array
      3. (
      4. [page] => shipyard
      5. [mode] => fleet
      6. )
      7. post: Array
      8. (
      9. )
      10. URL: https://ronxtcdabass.lima-city.de/test/2moonz/game.php?page=shipyard&mode=fleet | Version: 1.8.git
      11. Stack trace:
      12. #0 /includes/libs/Smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67b74a5b81a495_84210942(Object(Smarty_Internal_Template))
      13. #1 /includes/libs/Smarty/libs/sysplugins/smarty_internal_runtime_updatecache.php(52): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
      14. #2 /includes/libs/Smarty/libs/sysplugins/smarty_template_cached.php(143): Smarty_Internal_Runtime_UpdateCache->updateCache(Object(Smarty_Template_Cached), Object(Smarty_Internal_Template), false)
      15. #3 /includes/libs/Smarty/libs/sysplugins/smarty_internal_template.php(212): Smarty_Template_Cached->render(Object(Smarty_Internal_Template), false)
      16. #4 /includes/libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 1)
      17. #5 /includes/libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 1)
      18. #6 /includes/classes/class.template.php(146): Smarty_Internal_TemplateBase->display('extends:layout....')
      19. #7 /includes/pages/game/AbstractGamePage.class.php(208): template->display('extends:layout....')
      20. #8 /includes/pages/game/AbstractGamePage.class.php(182): AbstractGamePage->display('error.default.t...')
      21. #9 /includes/pages/game/ShowShipyardPage.class.php(138): AbstractGamePage->printMessage('Its required an...')
      22. #10 /game.php(57): ShowShipyardPage->show()
      23. #11 {main}
      Display All
      wenn ich mit "notepad++" schaue, ergeben bei mir jedoch die Zeilennummern keinen Sinn. ich seh ja noch die Kommentare. Aber auch wenn ich den ersten Absatz komplett entferne, ist z.B. das "get" in ner ganz anderen Zeile.
      Es zählt nicht wie lang man lebt, sondern wie intensiv.Euer Mond ist meine Sonne, Euer Montag - mein Sonntag.Musik ist Leben!

      ⭐Psy Love Is My Love⭐
    • So I already see that you are on php 8.3 so it is not possible that it works because there is no version available for this version of php.

      we advise you to upgrade to php 7.3

      This should fix your issues.
      You can contact me by Discord : danter14
      Discord Galactic Conquest
      Video Youtube dev + tutorials

      Webside
    • Danter14 wrote:

      So I already see that you are on php 8.3 so it is not possible that it works because there is no version available for this version of php.

      we advise you to upgrade to php 7.3

      This should fix your issues.
      Thanks for your answer but i don´t DOWNGRADE the php version. it´s not a home-server, its hosted. so i think i must wait until a soluttion is found.
      Es zählt nicht wie lang man lebt, sondern wie intensiv.Euer Mond ist meine Sonne, Euer Montag - mein Sonntag.Musik ist Leben!

      ⭐Psy Love Is My Love⭐
    • if you want to make it work after 100% under php 8.3 you will have to update part of the source code. On the other hand if you rent a server from a hosting you can change the php version. For example I have sites that run on different versions.
      You can contact me by Discord : danter14
      Discord Galactic Conquest
      Video Youtube dev + tutorials

      Webside
    • "updating part of the source code" sounds not easy...

      sorry for the next words in german!!!

      In Deutschlang gibt es ein Sprichwort: Kommt Zeit, kommt Rat.

      so it means simplyfied i can wait ;)

      my web is on a freehoster, and i would say the last 3 month's and he / it has updatet feels like every 3 days...

      but yes, i can downgrade, but only for the complete web, not for parts of my webspace.
      Es zählt nicht wie lang man lebt, sondern wie intensiv.Euer Mond ist meine Sonne, Euer Montag - mein Sonntag.Musik ist Leben!

      ⭐Psy Love Is My Love⭐