[TYPO3-dev] Problem with ext_autoload.php in TYPO3 6.2?

Caspar Stuebs caspar at gosign.de
Mon Apr 13 17:09:08 CEST 2015


Hmmm, you should try to add the topnavilayer class to the autoloader and
remove all require_once calls

2015-04-13 17:04 GMT+02:00 Stefan Kruse <besucher80 at gmx.de>:

> Hi, yeah thats what i mean too.
>
> Okay i show you my class:
>
> <?php
>
>         require_once(PATH_site.'typo3conf/ext/tl24/pi1/topnavilayer/class.
> topnavilayer.php');
>
>         class tx_tl24_pi1 extends tslib_pibase {
>
>                 function main($content, $conf) {
>                               }
>        }
>
> ?>
>
> The topnavilayer class extens the class tx_tl24_pi1. If i now call a
> method from the topnavilayer in my main method like:
> $variable = tx_tl24_topnavilayer::topnavilayer();
> Then for example the error comes.
>
> I am confused. Do you see something what could be wrong?
>
> But many thanks for your help.
>
>
> Stefan
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>

-- 
-- 

Gosign media. GmbH | We web ideas.
Langenfelder Damm 67 Gewerbehof | 22525 Hamburg
Telefon 040-609 40 79-0

Handelsregister AG HH HRB 112197 | Geschäftsführung Bert Gogolin
Greenpeace energy: Gosign läuft mit ehrlichem Strom und Gas.
GLS Bank: Gosign wirtschaftet mit Gewissen. 



More information about the TYPO3-dev mailing list