[TYPO3-dev] setting 'prefixLocalAnchors' is killing FE output

Daniel Pötzinger poetzinger at nospam.ded
Fri Feb 8 14:53:30 CET 2008


Franz Koch schrieb:
> Hi list,
> 
> I hope it's the correct list for the question this time as it seems to 
> be core related.
> 
> Following situation:
> I'm using cal and TYPO3 4.2 (SVN version) and I'm having some kind of 
> problem. When I'm in cal-FE-editing mode, there are quite a lot of links 
> rendered on one page in some views of cal. The page that is bothering me 
> has a total of 634 links on it. When I try to open up the page, it takes 
> some seconds and I finally get presented a blank white page with the 
> adminPanel (due to the BE login). The sourcecode of the page only 
> contains the HTML code for the adminPanel - nothing else (no HEAD, BODY 
> or whatever).
> 
> That drove me nuts, and I started digging the source of cal and I 
> noticed that the page is rendered when I disable link generation for 
> some parts of cal. Then I started digging the source of the typolink 
> generation and noticed, all links get created just fine - so that was 
> not the origin of the problem. Then I thought - maybe realurl is the 
> reason - but it was not. And occasionally I started removing all my 
> TYPO3 configuration (xhtml-cleaning,...) and then finally the page got 
> rendered with all links in it.
> 
> The conclusion is now, that when I activate 'prefixLocalAnchors', the 
> page is not rendered - when it's deactivated everything is just fine. So 
>  there might be a bug in that feature when it has to handle quite a lot 
> links on a page. I also switched to TYPO3 4.1.5 with the same problem.
> 
> Even stranger is, that I just noticed that a page with 846 links on it 
> is rendering fine with 'prefixLocalAnchors' applied.

This feature is like a regular expression which prefixes local Anchors 
after the HTML is generated by TYPO3 imho. We had several problems with 
that feature also. Maybe you can check your output without the 
prefixLocalAnchors and ask the W3C Validator if everything is fine - 
maybe the regex has problems due to untypical HTML output.

Greetings




More information about the TYPO3-dev mailing list