[TYPO3-english] [TYPO3-windows] No thumbnails in BE

David ARNOULT - Edition & Internet Operations d.arnoult at topsolid.com
Thu Nov 26 15:01:31 CET 2009


Hi Andreas,

Like you I am positive on the fact that the problem source is in realurl
config in Windows environment (IIS or Apache does not make any difference I
suppose). It is not solved at all, because I haven't installed it yet but I
will need it in production ! So I am very interested if you find a clue on
that topic. I will keep you posted when I will install realurl extension on
my new 4.2.10... Pretty sure it will kill my BE thumbs again...

Thanks for your help

David

For info my .htaccess :
RewriteEngine On
RewriteRule ^/typo3$ - [L]
RewriteRule ^/typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php
DirectoryIndex index.php

My Realurl_conf.php :

<?php
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl']=array (
'_DEFAULT' => array(
    'init' =>   array (
      'enableCHashCache' => true,
      'appendMissingSlash' => 'ifNotFile',
      'adminJumpToBackend' => true,
      'enableUrlDecodeCache' => true,
      'enableUrlEncodeCache' => true,
      'emptyUrlReturnValue' => '/',
    ),
    'pagePath' =>   array (
      'type' => 'user',
      'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
      'spaceCharacter' => '-',
      'segTitleFieldList' => 'tx_realurl_pathsegment, nav_title, title',
      'languageGetVar' => 'L',
      'rootpage_id' => '1',
    ),
    'fileName' =>   array (
      'defaultToHTMLsuffixOnPrev' =>  '.html',
 //   'acceptHTMLsuffix' => 1,
    ),
  ),
'_DOMAINS' => array(
        'encode' => array(
            array(
                'GETvar' => 'L',
                'value' => '0',
                'ifDifferentToCurrent' => true,
                'useConfiguration' => '_DEFAULT',
                'urlPrepend' => 'http://www.topsolid7.com',
            ),
            array(
                'GETvar' => 'L',
                'value' => '1',
                'ifDifferentToCurrent' => true,
                'useConfiguration' => '_DEFAULT',
                'urlPrepend' => 'http://www.topsolid7.fr',
            ),
            array(
                'GETvar' => 'L',
                'value' => '7',
                'ifDifferentToCurrent' => true,
                'useConfiguration' => '_DEFAULT',
                'urlPrepend' => 'http://gr.topsolid7.com',
            ),
             array(
                'GETvar' => 'L',
                'value' => '8',
                'ifDifferentToCurrent' => true,
                'useConfiguration' => '_DEFAULT',
                'urlPrepend' => 'http://kr.topsolid7.com',
            ),
        ),
        'decode' => array(
            'http://www.topsolid7.com' => array(
                'GETvars' => array(
                    'L' => '0',
                ),
                'useConfiguration' => '_DEFAULT',
            ),
            'http://www.topsolid7.fr' => array(
                'GETvars' => array(
                    'L' => '1',
                ),
                'useConfiguration' => '_DEFAULT',
            ),
             'http://gr.topsolid7.com' => array(
                'GETvars' => array(
                    'L' => '7',
                ),
                'useConfiguration' => '_DEFAULT',
            ),
              'http://kr.topsolid7.com' => array(
                'GETvars' => array(
                    'L' => '8',
                ),
                'useConfiguration' => '_DEFAULT',
            ),
        ),
),
);
?>

-----Message d'origine-----
De : typo3-windows-bounces at lists.typo3.org
[mailto:typo3-windows-bounces at lists.typo3.org] De la part de Mohr, Andreas
Envoyé : jeudi 26 novembre 2009 14:45
À : 'TYPO3 Installation on Windows'
Cc : d.arnoult at topsolid.com
Objet : Re: [TYPO3-windows] No thumbnails in BE

Hello David,

Even if you have solved the problem I would like to give some feedback for
the guys looking for solutions in future - in the meantime I am pretty sure
that URL Rewrite is causing the problem. When I disable RealUrl in the
Typoscript configuration and the IIS7 URL Rewriting Feature I get the Icons.
I Strongly believe that my Rewrite Rules are incorrect. But the logic for
the rules are different using IIS7 URL Rewrite Feature then when using
ISAPI_Rewrite.

The ruleset for Typo3 that I have found during research
(http://wiki.typo3.org/index.php/Iis7) does not work:

       <rewrite>
           <rules>
               <clear />
               <rule name="T3 Static Files & Dirs" stopProcessing="true">
                   <match
url="^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php
)$" />
               </rule>
               <rule name="T3 Static Files & Dirs (Child requests)"
stopProcessing="true">
                   <match
url="^/(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php
)/.*$" />
               </rule>
               <rule name="Rewrite Rule & Condition">
                   <match url="(.*)" />
                   <action type="Rewrite" url="index.php" />
                   <conditions>
                       <add input="{REQUEST_FILENAME}" matchType="IsFile"
negate="true" />
                       <add input="{REQUEST_FILENAME}"
matchType="IsDirectory" negate="true" />
                   </conditions>
               </rule>
           </rules>
       </rewrite>

If anyone is running Typo3 using IIS7 and URL Rewrite (My version is v2.0
RC2) - and gets the Backend Icons - please be so kind and post your ruleset
from web.config.

Thanx
Andi


-----Original Message-----
From: David ARNOULT - Edition & Internet Operations
[mailto:d.arnoult at topsolid.com] 
Sent: Mittwoch, 25. November 2009 13:38
To: Mohr, Andreas; 'TYPO3 Installation on Windows'
Subject: RE: [TYPO3-windows] No thumbnails in BE

Thanks Andreas! For information, I have installed a clean 4.2.10 in same
environment (apache not IIS for me, I had too much trouble with it) but
without any extensions (including realurl), thumbnails are working fine so
far. As long as I will add extensions, I will test BE thumbnail step by step
(not easy to debug this thing)...

Regards

David (Typo3 newbie)

-----Message d'origine-----
De : Mohr, Andreas [mailto:Andreas.Mohr at teraport.de] 
Envoyé : mercredi 25 novembre 2009 11:06
À : d.arnoult at topsolid.com; TYPO3 Installation on Windows
Objet : RE: [TYPO3-windows] No thumbnails in BE

Hi David

I am experiencing the same problem... Using Windows Server 2008 / IIS7 /
MySQL 5.2 / PHP 5.2.11 

Php_imagick will not help because its not used by typo3 (unless you changed
the typo3 sources to make them do so *ggg*)

I have been through a lot of research and configuration. As errors are not
displayed, I currently believe the problem is associated with the
configuration of IIS7 and URL Rewrite (Note: I am not using ISAPI_Rewrite).
Also, there are a couple of settings in the install tool related with image
processing in BE. Possibly the problem is related to misconfiguration of
these settings playing together... I am using ImageMagick 6.5.7-7.

As soon as I have a solution I will come back to you. But its - oh - so
cumbersome... 

-----Original Message-----
From: typo3-windows-bounces at lists.typo3.org
[mailto:typo3-windows-bounces at lists.typo3.org] On Behalf Of David ARNOULT -
Edition & Internet Operations
Sent: Donnerstag, 12. November 2009 10:01
To: 'TYPO3 Installation on Windows'
Subject: [TYPO3-windows] No thumbnails in BE

Hello!

 

It happens something weird on my instance.

I cannot make thumbnail working in my BE on my 4.2.6. It is just an empty
tag.

All images are working fine in FE/RTE and installation image tests are all
perfect, all folder/binaries permissions are OK.

I have tested with latest IM or GM, different values in localconf etc but
with no result. 

 

Server is Windows 2003/Apache 2/MySql 4.1/PHP 5.2.9 with php_imagick
extension loaded.

 

Thumbnail link seems to be fine :

<img height="35" width="56" title="TS7on Windows7 3" alt="TS7on Windows7 3"
src="../../../../typo3/thumbs.php?&file=G%3A%2FSites%2Ftypo3.topsolid.com%2F
fileadmin%2Fcontents%2Fimages%2Fwindows_7%2FTS7onWindows7_3.png&size=56x35&m
d5sum=b908b615c6&dummy=1258015196"/>

 

Editing thumbs.php does not seem to be very helpful.

 

Any idea guys to debug this?

 

Thanks for your expertise

 

David

_______________________________________________
TYPO3-windows mailing list
TYPO3-windows at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-windows




_______________________________________________
TYPO3-windows mailing list
TYPO3-windows at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-windows






More information about the TYPO3-english mailing list