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

Hafiz Usman Ahmad hafizusman at gosign.de
Mon Apr 13 09:15:45 CEST 2015


use
return array(
                'Tx_Tl24_Pi1' => $extensionPath .
'pi1/class.tx_tl24_pi1.php'
);

On Mon, Apr 13, 2015 at 11:10 AM, Stefan Kruse <besucher80 at gmx.de> wrote:

> Hi,
>
> i would like to use a pbase extension in TYPO3 6.2.
>
> I have in my main class some require_once statements to include some other
> classes. The included classes extends my main class tx_tl24_pi1. When now a
> method in a included extension was called i got an fatal error: Class
> 'tx_tl24_pi1' not found in 'PATH---'.
>
> Then i try to put an ext_autoload.php in my extension root directory with:
>
> $extensionPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::
> extPath('tl24');
>
> #var_dump($extensionPath . 'pi1/class.tx_tl24_pi1.php');die;
> return array(
>                 'tx_tl24_pi1' => $extensionPath .
> 'pi1/class.tx_tl24_pi1.php'
> );
>
> But the error is always present.
>
> Has maybe someone a hint? Do i forgot something?
>
> Thanks Stefan
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>



-- 
regards;
Hafiz Usman Ahmad

-- 
-- 

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. 

-- 
-- 

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