Bug #67058
closedPDF thumbnails are not generated in File List module anymore
0%
Description
- 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
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?
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 :)
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
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?
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
Updated by Christian Huppert over 9 years ago
Ok, thanks for your information.
Then I will wait for the new release :)
Cheers
Christian
Updated by Urs Braem over 9 years ago
Huh how I was looking for this ticket - great, thanks!
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 :)