[TYPO3-german] Update von 4.5 auf 4.7 und PHP 5.2 - 5.4
Hi, nach o.a. Update wirft Typo3 diesen Error aus, der sowohl im FE als auch im BE (statt Login-Anzeige) erscheint: PHP Runtime Notice: call_user_func() expects parameter 1 to be a valid callback, non-static method Tx_Extbase_Utility_Extension::configureModule() should not be called statically in /blablabla/t3lib/class.t3lib_loadmodules.php line 228 Durch die Einstellung $TYPO3_CONF_VARS['SYS']['displayErrors'] = 0; wird das unterdrückt und die Seite lässt sich normal benutzen, aber das ist natürlich nicht als dauerhafte Lösung tauglich. Hier hat jmd das gleiche Problem beschrieben, aber keine Antwort: http://www.typo3forum.net/forum/typo3-4-x-installation-updates/55788-update-4-5-7-4-7-php-5-4-a.html#post182602 Es gab einen Bug in 4.5, der aber in 4.6 gelöst wurde, wo bei nicht-EN Backend ein ähnlicher Fehler auftrat: https://review.typo3.org/#/c/6384/ Hat jemand eine Idee oder Lösung dafür? Viele Grüße Tom ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] Update von 4.5 auf 4.7 und PHP 5.2 - 5.4
Hi Tom, ganz einfach: Tx_Extbase_Utility_Extension::configureModule() muss so definiert werden class Tx_Extbase_Utility_Extension { static function configureModule() { } } Das static fehlt ;) Grüße Kay Am 02.05.2012 13:46, schrieb Tom Arnold: Hi, nach o.a. Update wirft Typo3 diesen Error aus, der sowohl im FE als auch im BE (statt Login-Anzeige) erscheint: PHP Runtime Notice: call_user_func() expects parameter 1 to be a valid callback, non-static method Tx_Extbase_Utility_Extension::configureModule() should not be called statically in /blablabla/t3lib/class.t3lib_loadmodules.php line 228 Durch die Einstellung $TYPO3_CONF_VARS['SYS']['displayErrors'] = 0; wird das unterdrückt und die Seite lässt sich normal benutzen, aber das ist natürlich nicht als dauerhafte Lösung tauglich. Hier hat jmd das gleiche Problem beschrieben, aber keine Antwort: http://www.typo3forum.net/forum/typo3-4-x-installation-updates/55788-update-4-5-7-4-7-php-5-4-a.html#post182602 Es gab einen Bug in 4.5, der aber in 4.6 gelöst wurde, wo bei nicht-EN Backend ein ähnlicher Fehler auftrat: https://review.typo3.org/#/c/6384/ Hat jemand eine Idee oder Lösung dafür? Viele Grüße Tom -- http://www.kay-strobach.de - Open Source Rocks TYPO3 inspiring people to share! Get involved: http://typo3.org Answer was useful: https://flattr.com/profile/kaystrobach ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] Update von 4.5 auf 4.7 und PHP 5.2 - 5.4
Hi Kay, in sysext/extbase/Classes/Utility/Extension.php Zeile 177ff ist es als public function configureModule($moduleSignature, $modulePath) {...} deklariert. Kann ich das einfach auf static function ändern, oder fliegt mir dass dann woanders um die ohren? Generelles Unwohlsein, in den sysextensions am Code zu basteln, mal ganz aussen vor gelassen ;-) Viele Grüße Tom Am 02.05.12 13:51, schrieb Kay Strobach: Hi Tom, ganz einfach: Tx_Extbase_Utility_Extension::configureModule() muss so definiert werden class Tx_Extbase_Utility_Extension { static function configureModule() { } } Das static fehlt ;) Grüße Kay Am 02.05.2012 13:46, schrieb Tom Arnold: Hi, nach o.a. Update wirft Typo3 diesen Error aus, der sowohl im FE als auch im BE (statt Login-Anzeige) erscheint: PHP Runtime Notice: call_user_func() expects parameter 1 to be a valid callback, non-static method Tx_Extbase_Utility_Extension::configureModule() should not be called statically in /blablabla/t3lib/class.t3lib_loadmodules.php line 228 Durch die Einstellung $TYPO3_CONF_VARS['SYS']['displayErrors'] = 0; wird das unterdrückt und die Seite lässt sich normal benutzen, aber das ist natürlich nicht als dauerhafte Lösung tauglich. Hier hat jmd das gleiche Problem beschrieben, aber keine Antwort: http://www.typo3forum.net/forum/typo3-4-x-installation-updates/55788-update-4-5-7-4-7-php-5-4-a.html#post182602 Es gab einen Bug in 4.5, der aber in 4.6 gelöst wurde, wo bei nicht-EN Backend ein ähnlicher Fehler auftrat: https://review.typo3.org/#/c/6384/ Hat jemand eine Idee oder Lösung dafür? Viele Grüße Tom ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
Re: [TYPO3-german] Update von 4.5 auf 4.7 und PHP 5.2 - 5.4
Mit Ändeurng auf static public function(){...} Ist die Fehlermeldung weg. Mal kucken, ob es in der Ext dafür schon einen Bugeintrag gibt Viele Grüße + danke Tom Am 02.05.12 14:03, schrieb Tom Arnold: Hi Kay, in sysext/extbase/Classes/Utility/Extension.php Zeile 177ff ist es als public function configureModule($moduleSignature, $modulePath) {...} deklariert. Kann ich das einfach auf static function ändern, oder fliegt mir dass dann woanders um die ohren? Generelles Unwohlsein, in den sysextensions am Code zu basteln, mal ganz aussen vor gelassen ;-) Viele Grüße Tom Am 02.05.12 13:51, schrieb Kay Strobach: Hi Tom, ganz einfach: Tx_Extbase_Utility_Extension::configureModule() muss so definiert werden class Tx_Extbase_Utility_Extension { static function configureModule() { } } Das static fehlt ;) Grüße Kay Am 02.05.2012 13:46, schrieb Tom Arnold: Hi, nach o.a. Update wirft Typo3 diesen Error aus, der sowohl im FE als auch im BE (statt Login-Anzeige) erscheint: PHP Runtime Notice: call_user_func() expects parameter 1 to be a valid callback, non-static method Tx_Extbase_Utility_Extension::configureModule() should not be called statically in /blablabla/t3lib/class.t3lib_loadmodules.php line 228 Durch die Einstellung $TYPO3_CONF_VARS['SYS']['displayErrors'] = 0; wird das unterdrückt und die Seite lässt sich normal benutzen, aber das ist natürlich nicht als dauerhafte Lösung tauglich. Hier hat jmd das gleiche Problem beschrieben, aber keine Antwort: http://www.typo3forum.net/forum/typo3-4-x-installation-updates/55788-update-4-5-7-4-7-php-5-4-a.html#post182602 Es gab einen Bug in 4.5, der aber in 4.6 gelöst wurde, wo bei nicht-EN Backend ein ähnlicher Fehler auftrat: https://review.typo3.org/#/c/6384/ Hat jemand eine Idee oder Lösung dafür? Viele Grüße Tom ___ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german