Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    PHP Fatal error: Non-static method isys_component…

    Scheduled Pinned Locked Moved Betrieb
    3 Posts 2 Posters 1.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      drei
      last edited by

      Ich versuche i-doit 0.98 auf einem CentOS mit PHP 5.3 zum laufen zu bringen. Setup ist problemlos durchgelaufen, danach bin ich mit dem schon hinlänglich dokumentierten 'Weissen Bildschirm' konfrontiert (keine Hinweise in den Logs etc.). Die in den entsprechenden Threads aufgelisteten Tipps haben bisher nichts gebracht.

      Wenn ich allerdings den einen Cron Job auf der Kommandozeile laufen lassen, dann erhalte ich folgendes:

      Job:

      ./controller -v -m workflow
      

      Fehler:

      PHP Fatal error:  Non-static method isys_component::__construct() cannot be called statically,
      assuming $this from incompatible context in /var/www/idoit/src/classes/components/isys_component_template.class.php on line 673
      

      Kann jemand helfen?

      Besten Dank!

      1 Reply Last reply Reply Quote 0
      • dsD Offline
        ds
        last edited by

        Hi,
        das scheint ein PHP 5.3.0 problem zu sein.
        Versuch mal in der angegebenen Datei die Zeile 673 mit folgendem Code auszutauschen:

        parent::__construct($this);

        1 Reply Last reply Reply Quote 0
        • D Offline
          drei
          last edited by

          Hat perfekt funktioniert, besten Dank!
          Bis anhin habe ich keine weiteren Probleme mit PHP 5.3 feststellen können.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post