[TYPO3-english] How to add new controller without extension reinstall
Markus Klein
markus.klein at typo3.org
Mon Dec 21 23:54:37 CET 2015
Hi!
The major reason is: It usually never changes, so it shouldn't be clearable like a normal cache, but really only if the available classes change.
This approach is a "hybrid" workaround for installations not based on composer.
Afaik, if you have a composer installation, those files do not even exist, as all classes are known to composer and are stored in its class loader cache.
So in that case you need to run "composer dumpautoload" when you add/remove classes.
For details, please ask Helmut Hummel.
Kind regards
Markus
------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Jan Bednarik
> Sent: Monday, December 21, 2015 7:32 PM
> To: typo3-english at lists.typo3.org
> Subject: Re: [TYPO3-english] How to add new controller without extension
> reinstall
>
> PS: Why isn't this autoload under Cache folder?
>
> Dne 20.12.2015 v 11:24 Markus Klein napsal(a):
> > Hi Jan!
> >
> > If you're talking about CMS 7, you have to clear the typo3temp/autoload/*
> folder, so the new classes are found.
> >
> > Kind regards
> > Markus
> >
> > ------------------------------------------------------------
> > Markus Klein
> > TYPO3 CMS Active Contributors Team Member
> >
> > TYPO3 .... inspiring people to share!
> > Get involved: typo3.org
> >
> >> -----Original Message-----
> >> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> >> bounces at lists.typo3.org] On Behalf Of Jan Bednarik
> >> Sent: Saturday, December 19, 2015 10:01 AM
> >> To: typo3-english at lists.typo3.org
> >> Subject: Re: [TYPO3-english] How to add new controller without
> extension
> >> reinstall
> >>
> >> Tried that, tried to delete typo3temp/Cache, tried to delete all 3
> >> caches under that lightning icon, nothing worked.
> >>
> >> Jan
> >>
> >> Dne 17.12.2015 v 8:29 Nicolai Schirawski napsal(a):
> >>> You might try to clear caches via install tool.
> >>>
> >>> That worked for me in similar cases.
> >>>
> >>> Nicolai
> >>>
> >>> Am 17.12.2015 um 07:13 schrieb Jan Bednarik:
> >>>> Hi,
> >>>>
> >>>> I wonder how is it possible to add e.g. new controller class without
> >>>> having to uninstall extension and install it again. I tried deleting all
> >>>> caches available yesterday and yet I was still getting that class cannot
> >>>> be loaded. The only thing that worked was to go to ext manager,
> >>>> uninstall and install.
> >>>>
> >>>> Thanks
> >>>>
> >>>> Jan
> >>>> _______________________________________________
> >>>> TYPO3-english mailing list
> >>>> TYPO3-english at lists.typo3.org
> >>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> >>>
> >>
> >> _______________________________________________
> >> TYPO3-english mailing list
> >> TYPO3-english at lists.typo3.org
> >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> >
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list