Project

General

Profile

Actions

Bug #15205

closed

Thumbnails doesn't work in spite of a working ImageMagick

Added by Lars H¸gsted about 19 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-11-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Typo3 doesn't show thumbnails in some areas of the backend. Instead it shows a dead link image. The problem shows in the "filelist" menu (with option show thumbnails) and in the select box at page contents.

It works fine in the "images" submenu in the "file" menu. The install tool is also able pass most of the images tests. In the scaling test the GIF to GIF test fails but the other tests passes. The GD passes 5 tests. The install tool recognizes the ImageMagick as version 5.5.6. The webhotel running the Typo3 installation uses the ImageMagick installation for many other applications, which rules out a problem here.

I have searched a lot about thumbnail problems in Typo3. Usually it is the ImageMagick installation that fails. Since this is ruled out, I think it must be an error.

Som infomation I hope could be useful:
1) Test report from the install tool
2) Message posted on a user group
3) Debug info
--------------
1) The GIF-to-GIF test that fails reports the following:
"Your server: Reference:
15.9 K, 150x120 pixels 3.8 K, 150x120 pixels
File size is very different from reference
16296 3912
Note on gif_compress() function:
The 'gif_compress' method used was 'IM'.
Previous filesize: 15.9 K. Current filesize:15.9 K "

2) I have posted the error in the Danish User Group but didn't get any reply. Here is a link to my message:

http://lists.typo3.org/pipermail/typo3-ug-denmark/2005-November/002012.html

3) Here is som info from the Install Tools phpinfo:
  1. DEBUG SYSTEM INFORMATION - START ###
    HTTP_HOST : www.emilhoegsted.dk
    TYPO3_HOST_ONLY : www.emilhoegsted.dk
    TYPO3_PORT :
    PATH_INFO :
    QUERY_STRING : TYPO3_INSTALL[type]=phpinfo
    REQUEST_URI : /typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
    HTTP_REFERER :
    http://www.emilhoegsted.dk/typo3/install/index.php?TYPO3_INSTALL[type]=about
    TYPO3_REQUEST_HOST : http://www.emilhoegsted.dk
    TYPO3_REQUEST_URL :
    http://www.emilhoegsted.dk/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
    TYPO3_REQUEST_SCRIPT: http://www.emilhoegsted.dk/typo3/install/index.php
    TYPO3_REQUEST_DIR : http://www.emilhoegsted.dk/typo3/install/
    TYPO3_SITE_URL : http://www.emilhoegsted.dk/
    TYPO3_SITE_SCRIPT : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
    TYPO3_SSL :
    SCRIPT_NAME : /typo3/install/index.php
    TYPO3_DOCUMENT_ROOT : /home/emilhoeg/public_html
    SCRIPT_FILENAME : /home/emilhoeg/public_html/typo3/install/index.php
    REMOTE_ADDR : 80.161.188.81
    REMOTE_HOST :
    HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
    HTTP_ACCEPT_LANGUAGE: da
    CONST: PHP_OS : Linux
    CONST: TYPO3_OS :
    CONST: PATH_thisScri: /home/emilhoeg/public_html/typo3/install/index.php
    CONST: php_sapi_name: cgi
    OTHER: TYPO3_VERSION: 3.8.0
    OTHER: PHP_VERSION : 4.3.11
    imagecreatefromgif(): 1
    imagecreatefrompng(): 1
    imagecreatefromjpeg(: 1
    imagegif() : 1
    imagepng() : 1
    imagejpeg() : 1
    imagettftext() : 1
    OTHER: IMAGE_TYPES : 31
    OTHER: memory_limit :
    SERVER: SERVER_PORT : 80
    SERVER: SERVER_SOFTW: Apache
    SERVER: GATEWAY_INTE: CGI/1.1
    SERVER: SCRIPT_NAME : /typo3/install/index.php
    SERVER: PATH_TRANSLA:
    T3CV_GFX: image_proc: 1
    T3CV_GFX: gdlib : 1
    T3CV_GFX: gdlib_png : 0
    T3CV_GFX: gdlib_2 : 1
    T3CV_GFX: im : 1
    T3CV_GFX: im_path : /usr/bin/
    T3CV_GFX: im_path_lz: /usr/bin/
    T3CV_GFX: im_version: 1
    T3CV_GFX: im_negate_: 0
    T3CV_GFX: im_imvMask: 1
    T3CV_GFX: im_combine: combine
  2. DEBUG SYSTEM INFORMATION - END ###

(issue imported from #M1871)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #16498: Segfault when trying to create thumbnails in backendClosedChristian Kuhn2006-08-27

Actions
Actions #1

Updated by old_janno over 18 years ago

I also have this exact same problem with 4.01. I have read some other postings of similar problems but always without an answer. I have two servers installed exactly the same. One server with newly created typo3 setup's, the other only with imported setup from an old server. Both running the same linux components and t3 versions. The imported sites work, the newly created domains have the problem. I checked file rights, ownership, group membership, localconf, typo3 install tool etc. and there is absolutely no difference. Very strange. Is there a way I can do some testing from the command line, something like:
$> php thumbs.php parameters
Or is there a way to get more debug info.
As described by Lars thumbnails work in many places but not in the file lst menu. All image processing tests pass. I tried different imagemagick versions.

Actions #2

Updated by old_janno over 18 years ago

Well, I just found out my problem. It might help someone. It was caused by SELinux. I found errors in /var/log/messages like net kernel: audit(1155848945.359:1833): avc: denied xxx. Searching google on this helped me solving my SELinux settings. For me case solved.

Actions #3

Updated by Jaakko Pasanen about 18 years ago

I have the same problem with typo3 4.0.2.

ImageMagick works fine and GD also. On the frontend all other image resizing and tweaking work, but the thumbnails in Filelist and captchas (also some Gallery extensions don't work). In backend no thumbnails anywhere. And all tests in the Install tool work (only error was that it can't read TIFF).

My php version is 4.4.4, Imagemagick 6.2.5 and the server is running Linux with Apache.

Actions #4

Updated by Jaakko Pasanen about 18 years ago

This bug might be connected with the bug 0004105: Segfault when trying to create thumbnails in backend.

I can't check it because I'm buying my service from a provider, and I can't access the /var/log/messages.

Actions #5

Updated by Bernhard Kraft almost 17 years ago

Are there any spaces in the filename ?

Try to remove them ? Is it working ?

Actions #6

Updated by Christian Kuhn about 16 years ago

No feedback for a very long time. Closed.

Please reopen or add a new issue if you think this is a bug in recent TYPO3 versions.

Actions #7

Updated by Chris topher over 10 years ago

  • Target version deleted (0)
  • TYPO3 Version changed from 3.8.0 to 3.8
  • PHP Version deleted (4)
  • Is Regression set to No
Actions

Also available in: Atom PDF