Project

General

Profile

Actions

Bug #67058

closed

PDF thumbnails are not generated in File List module anymore

Added by Christian Huppert over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2015-05-20
Due date:
% Done:

0%

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

Description

This report is about the following TYPO3 CMS setting:
  • TYPO3 CMS 6.2.12
  • PHP Version 5.4.27
  • UNIX server
  • GraphicsMagick

It seems that with 6.2.12 the thumbnails for newly uploaded PDF documents are not generated anymore in the File list module.
The paths to the PDF thumbnails are exactly the same like those to PDF document itself.

I think that the thumbnails to the PDFs should be generated in the folder "fileadmin/_processed_" so the same location where thumbnails for images are stored.

Also updating the reference index did not lead to success.

Maybe someone could spent some time to investigate this issue.

Thank you in advance.

PS: Maybe this issue as correlated with this fixed issue here: https://forge.typo3.org/issues/66243


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #66679: Thumbnails for .pdf-Files are not generatedClosed2015-04-30

Actions
Actions #1

Updated by Frans Saris over 9 years ago

  • Status changed from New to Needs Feedback

Could you check if https://review.typo3.org/#/c/39077/ resolves your issue?

Actions #2

Updated by Christian Huppert over 9 years ago

Hi Frans,

thank you for the link to the patch. Will this fix be released with 6.2.13?

I tried the patch (newest version 5 and also version 1) but I got the following error with version 5:

Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in <path_to_typo3_src-6.2.12>/typo3/sysext/core/Classes/Resource/Processing/LocalPreviewHelper.php on line 101

and with version 1 the same but in another line:

Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in <path_to_typo3_src-6.2.12>/typo3/sysext/core/Classes/Resource/Processing/LocalPreviewHelper.php on line 80

The problem is that the parse cannot resolve "GraphicalFunctions::class".

I investigated the class "Graphical Functions" in TYPO3\CMS\Core\Imaging\GraphicalFunctions (typo3/sysext/core/Classes/Imaging/GraphicalFunctions.php) and I could not see
that the class is static or do I miss here a special PHP syntax which I do not know yet?

I am looking forward your answer :)

Actions #3

Updated by Frans Saris over 9 years ago

Hi Christian,

The patch is already part of the 6.2 branch and will be released with 6.2.13.

You "Parse error: syntax error..." sound like a not correctly applied patch. You could just try the latest version of the TYPO3_6-2 branch. https://github.com/TYPO3/TYPO3.CMS/archive/TYPO3_6-2.zip

gr. Frans

Actions #4

Updated by Christian Huppert over 9 years ago

Hi Frans,

thank you for the latest version of the TYPO3_6-2 branch.

I applied this version and now my PDF thumbnails are shown:

- The ones of the PDFs that have been there already.

- And also the ones of those that have just been uploaded.

:-)

Thank you for your help.

I think that you can now close this ticket. :)

gr. Christian

PS: Do you know when the 6.2.13 will be released?

Actions #5

Updated by Frans Saris over 9 years ago

  • Status changed from Needs Feedback to Closed

Your welcome.

Release is currently planned for next week or week after if I'm informed correctly.

Gr. Frans

Actions #6

Updated by Christian Huppert over 9 years ago

Ok, thanks for your information.

Then I will wait for the new release :)

Cheers

Christian

Actions #7

Updated by Urs Braem over 9 years ago

Huh how I was looking for this ticket - great, thanks!

Actions #8

Updated by Christian Huppert over 9 years ago

Now with 6.2.13 the thumbnails are visible again :) Thanks to the developers! :-)

@Urs:

Thank you for your feedback - glad that you liked this ticket :)

Actions

Also available in: Atom PDF