Author Topic: [vlibTemplate] error_reporting(E_ALL|E_STRICT)  (Read 1515 times)

0 Members and 1 Guest are viewing this topic.

Offline LichtAnd

  • Newbie
  • *
  • Posts: 2
[vlibTemplate] error_reporting(E_ALL|E_STRICT)
« on: Sat, 04. October 2008 - 17:28:19 »
Hallo zusammen,

ich bin gerade dabei mich mit vlibTemplate anzufreunden und musste dabei feststellen, dass es bei mir unter Verwendung
von error_reporting(E_ALL|E_STRICT) zu folgender Ausgabe kommt:

Strict Standards:  Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in /kunden/124946_24114/webseiten/nameless/vLib/vlibTemplate.php on line 832

Strict Standards:  Non-static method vlibIni::vlibTemplate() should not be called statically, assuming $this from incompatible context in /kunden/124946_24114/webseiten/nameless/vLib/vlibTemplate.php on line 833

Da ich noch nicht soooo der Crack in Sachen OOP bin, wollte ich mal fragen, ob mir jemand einen Tipp geben kann, wie ich damit umgehen soll.

Vielen Dank

lichtand

Offline ClausVB

  • Administrator
  • Hero Member
  • *****
  • Posts: 570
    • Homepage: clausvb.de
Re: [vlibTemplate] error_reporting(E_ALL|E_STRICT)
« Reply #1 on: Sat, 04. October 2008 - 17:32:23 »
Das "error_reporting" auf den Quasi-Standard

E_ALL & ~E_NOTICE

stellen.

Ich werde mir das allerdings mal ansehen. Die Unterstützung von PHP5 fängt aber gerade erst an, weil wir vorher noch abwärtskompatibel (sprich PHP4-Unterstützung) bleiben wollten. Seitdem Release "vLIB-4-2-0" wird allerdings nur noch PHP5 unterstützt.

Gruß
Claus

Offline LichtAnd

  • Newbie
  • *
  • Posts: 2
Re: [vlibTemplate] error_reporting(E_ALL|E_STRICT)
« Reply #2 on: Sat, 04. October 2008 - 17:49:47 »
Danke für die schnelle Antwort