[TYPO3-english] css not loading?

Tonix - Antonio Nati tonix at interazioni.it
Wed Dec 14 21:19:29 CET 2016


Wiechert,

Je moet geluk soms! ;-)

Bad list rendering of 'view-source' HTML helped me!

Hallo,

Tonino


Il 14/12/2016 19:57, "HocomAdvies [ 🌷 Wiechert Hooghwinkel ]" ha scritto:
> Gentile Antonio,
>
> Lei ha trovato il problemo. Grazie. :) Non ho visto questa differenza. Era più facile come sempre.
> You are right it has to do with the url somehow. Now I know where to look. Great.
>
> Saluti.
>
> HocomAdvies
> Wiechert
>
>
>
>
>
>
>
>
>> Op 14 dec. 2016, om 17:30 heeft Tonix - Antonio Nati <tonix at interazioni.it> het volgende geschreven:
>>
>> Why view-source: is using this link?
>>
>>    http://www.menes2.h-kracht.nl/fileadmin/templates/resources/bower_components/foundation-sites/dist/foundation.css?1481558436
>>
>> www.menes2.h-kracht.nl does not exists, while menes2.h-kracht.nl (without www) exists.
>>
>> Probably you have problems in default definition (with www) and base href (without www).
>>
>> Tonino
>>
>>
>> Il 14/12/2016 14:36, "HocomAdvies [ 🌷 Wiechert Hooghwinkel ]" ha scritto:
>>> When looking in the apache2 log files I noticed that for other typo3 sites there are lines with GET /fileadmin/templates/css  but for the concerning site there are no such GET lines? So does this mean the css is’n even called to load? I can’t find any errors saying the requested file can’t be found or accessed?
>>> Could this be a file permission problem?
>>> the file has: -rw-r—r-- 1 www-data
>>>
>>> Any idea where to look?
>>>
>>> Thanks
>>>
>>> Wiechert
>>>
>>>
>>>
>>>> Op 14 dec. 2016, om 11:43 heeft HocomAdvies [ 🌷 Wiechert Hooghwinkel ] <info at hocom-advies.nl> het volgende geschreven:
>>>>
>>>> Hi, in the process of setting up a new 7.6.14 Typo3 site, I experience a strange problem.
>>>>
>>>> I include css (and other) files like this:
>>>> page.includeCSS.foundation = fileadmin/templates/resources/bower_components/foundation-sites/dist/foundation.css
>>>> page.includeCSS.app = fileadmin/templates/css/app.css
>>>>
>>>> Which is in the html file like this:
>>>> <link rel="stylesheet <>" type="text/css <>" href="fileadmin/templates/resources/bower_components/foundation-sites/dist/foundation.css?1481558436 <view-source:http://www.menes2.h-kracht.nl/fileadmin/templates/resources/bower_components/foundation-sites/dist/foundation.css?1481558436>” media="all <>">
>>>> <link rel="stylesheet <>" type="text/css <>" href="fileadmin/templates/css/app.css?1481568709 <view-source:http://www.menes2.h-kracht.nl/fileadmin/templates/css/app.css?1481568709>" media="all <>">
>>>>
>>>>
>>>> But no css is applied in the FE? So I checked the path which is correct. Also had a look at the .htaccess file and the config and tried with the version number off. But no way. Strange thing is also, If I look at the browsers page source and follow the link to the css file its not opening. It says server not found ?
>>>>
>>>> I have an other typo3 7.6.4 site with the same page.includeCSS and that is working fine. Only difference is that in that one I have fileadmin/Template an in this case fileadmin/templates is that what’s breaking my (css) files to work?
>>>>
>>>> Any idea how to troubleshoot this further?
>>>>
>>>>
>>>> Kind Regards,
>>>> HocomAdvies
>>>>
>>>> Wiechert Hooghwinkel
>>>>
>>>>
>>>>
>>>> www.hocom-advies.nl
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>> -- 
>> ------------------------------------------------------------
>>         Inter at zioni            Interazioni di Antonio Nati
>>    http://www.interazioni.it      tonix at interazioni.it
>> ------------------------------------------------------------
>>
>> _______________________________________________
>> 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


-- 
------------------------------------------------------------
         Inter at zioni            Interazioni di Antonio Nati
    http://www.interazioni.it      tonix at interazioni.it
------------------------------------------------------------



More information about the TYPO3-english mailing list