[TYPO3-english] Introduction Package TYPO3 4.5 - absRefPrefix

Robert Wildling robertwildling at gmail.com
Sat Jul 28 13:43:34 CEST 2012


Thanks for your feedback!

Getting rid of or commenting out baseURL in IP 4.5 does not solve the 
problem alone, absRefPath needs to be adjusted, too (because of that slash).

@Philipp: when you say it is fixed in a newer version, do you mean a 
newer IP 4.5 version?

Have a good day!
Robert


> Hi Markus Klein,
>
> @Robert this is know and fixed in newer versions of the Introduction
> Package.
>
> Markus Klein wrote:
>
>> without knowing the Introductino Package in detail, I guess this is a
>> setting because of realUrl and IMO this is correct. If you install it in a
>> subfolder, one has to adjust absRefPrefix and RewriteBase in .htaccess
>> anyway.
>
> No you don't. The is just a stupid mistake. If ``absRefPrefix`` would be
> really empty, then it would automatically adjust to the current domain,
> including any possible subfolder.
>
> The error comes from trying to use ``baseUrl`` together with
> ``absRefPrefix`` using the same constant. ``baseUrl`` needs to be defined
> without the slash ('/'), but ``absRefPrefix`` with it. Thus the slash is
> added to the constant while using it in TS. Obviously this breaks auto
> configuration of ``absRefPrefix``, because now it never empty.
>
> Newer versions of the IP (e.g. 4.7) dropped the usage of ``baseUrl`` and use
> the more clean ``absRefPrefix`` variant only.
>
> Best regards
>




More information about the TYPO3-english mailing list