[TYPO3] Parsing failure

Christian Bremm ChristianBremm at gmx.de
Tue Aug 21 15:35:35 CEST 2007


It's in template.php..

        function insertStylesAndJS($content)    {
                        // insert accumulated CSS
                $this->inDocStylesArray[] = $this->inDocStyles;
                $styles = "\n".implode("\n", $this->inDocStylesArray);
                $content = str_replace('/*###POSTCSSMARKER###*/',$styles,$content);

                        // insert accumulated JS
                $jscode = $this->JScode."\n".$this->wrapScriptTags(implode("\n", $this->JScodeArray));
                $content = str_replace('<!--###POSTJSMARKER###-->',$jscode,$content);

                return $content;
        }


-------- Original-Nachricht --------
> Datum: Tue, 21 Aug 2007 15:59:32 +0300
> Von: "Dmitry Dulepov [typo3]" <dmitry at typo3.org>
> An: typo3-english at lists.netfielders.de
> Betreff: Re: [TYPO3] Parsing failure

> Hi!
> 
> Christian Bremm wrote:
> > first i thought it's a php version failure. But it seems to be not.
> > In the Apache logs i have following failure:
> >  
> > unknown directive "##postjsmarker###" in parsed doc
> >  /srv/kfv/htdocs/cms/typo3/alt_main.php
> > 
> > In the BE i only see:
> >  
> >  [an error occurred while processing this directive]
> >  
> > nothing else.
> 
> I think the solution is obvious: look in the file if marker is there. If 
> it is not there (and it should not be), ask your hosting company if they 
> prepend/append somthing to PHP files.
> 
> -- 
> Dmitry Dulepov
> TYPO3 freelancer / TYPO3 core team member
> Web: http://typo3bloke.net/
> Skype: callto:liels_bugs
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser


More information about the TYPO3-english mailing list