|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi all!
I have Typo3 running on a shared server with a hosting company. They have both ImageMagick 6.2.6 and GhostScript 7.05.6 installed. However I am still getting failure of the Read PDF and Read AI tests in the install tool. Here are some details: === Typo3 4.1.0 RC2 (have also tested with 4.0.2) Apache 2.0.59 PHP 5.2.0 === Current configuration (Image Processing ![]() === ImageMagick enabled: 1 ImageMagick path: /usr/local/bin/ (6.0.6) ImageMagick path/LZW: () Version 5/GraphicsMagick flag: im5 GDLib enabled: 1 GDLib using PNG: 0 GDLib 2 enabled: 2.0.33 IM5 effects enabled: 1 (Blurring/Sharpening with IM 5+) Freetype DPI: 96 (Should be 96 for Freetype 2) Mask invert: 1 (Should be set for some IM versions approx. 5.4+) File Formats: gif,jpg,jpeg,tif,bmp,pcx,tga,png,pdf,ai === (Note: Have also tested with "Version 5/GM flag": "im6" , though the install tool Basic Configuration seems to set it to "im5" by default.) Here are some observations: The install tool shows IM (convert, composite and identify) as being available both at /usr/bin/ and /usr/local/bin/ But testing with "whereis" only show results for /usr/local/bin/ The install tool identifies the versions as 6.0.6 But "convert -version" etc. show version to be 6.2.6 While IM is installed at /usr/local/bin/ GM is only available at /usr/bin/ (Note: Setting the install tool "ImageMagick path" to /usr/bin/ gave the same results as for /usr/local/bin/ even though IM is not there.) The Install Tool test for Read PDF is attempting to use the "identify" command. Shouldn't that be "convert"? (The install tool of my other site tests "convert" for PDF Read.) Running the same "identify" test in the shell works OK... === $ identify /home/.../typo3/sysext/install/imgs/pdf_from_imagemagick.pdf[0] /home/.../typo3/sysext/install/imgs/pdf_from_imagemagick.pdf[0]=>/home/. .../typo3/sysext/install/imgs/pdf_from_imagemagick.pdf PDF 595x842 595x842+0+0 DirectClass 1mb === And trying a "convert" operation also gives successful results... === $ convert -geometry 170x136! -colorspace RGB -quality 70 /home/.../typo3/sysext/install/imgs/pdf_from_imagemagick.pdf[0] /home/.../typo3temp/pics/install_read_pdf_a.jpg === (the file install_read_pdf_a.jpg is correctly created) It seems that IM 6.2.6 does not have a "delegates.mgk" file, but instead uses "delegates.xml". Would this effect Typo3? Testing "echo $MAGICK_HOME" gives no result, so IM is obviously following one of the default paths for configuration, delegates, etc. I have been working with this on and off for several weeks now. I have read heaps of documentation and lists, etc. I have learnt heaps along the way but still cannot get this to work. Any input would be greatly appreciated!!! Thanks in advance, -Darryl Krause _______________________________________________ TYPO3-linux mailing list TYPO3-linux (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...fo/typo3-linux |
|
#2
|
|||
|
|||
|
Darryl,
> It seems that IM 6.2.6 does not have a "delegates.mgk" file, > but instead > uses "delegates.xml". Would this effect Typo3? No, it should not. Typo3 does not deal with either if these files directly. A things to check out : whether you are trying to execute these in a command line under the same credetials as Apache process when TYPO3 Installer runs them (test: get PHPshell and try them there). Most likely either the paths are set differently, or there are some security options like "hardened PHP" or SELinux that prevent apache from running gs process. D. _______________________________________________ TYPO3-linux mailing list TYPO3-linux (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...fo/typo3-linux |
|
#3
|
|||
|
|||
|
Darryl Krause schrieb:
> I have Typo3 running on a shared server with a hosting company. They > have both ImageMagick 6.2.6 and GhostScript 7.05.6 installed. However I > am still getting failure of the Read PDF and Read AI tests in the > install tool. TYPO3 can't handle pdf, ps, ai etc directly. ImageMagick (GraphicsMagic) is used to do so. If you have installes IM or GM on your system and you can not read eg. pdf's, so your IM/GM programm is not compiled/linked with ghostscript. You need a different rpm or have to compile it yourself. Hint on pdf Creation: GM/IM seems only to render the first level of your pdf. PDF's have to be only single layered for propper preview. Christian. _______________________________________________ TYPO3-linux mailing list TYPO3-linux (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...fo/typo3-linux |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-german] Anbindung an LDAP Linux Server? | dirvish | typo3-german@lists.netfielders.de | 0 | 20.02.2007 13:34 |
| [TYPO3-linux] ImageMagick Problems - exec() disabled | Sandy Matheson | typo3-linux@lists.netfielders.de | 2 | 08.02.2007 15:18 |
| [TYPO3-linux] Install problems relating GD | Kari Salovaara | typo3-linux@lists.netfielders.de | 2 | 03.02.2007 10:46 |
| [TYPO3-install] configuring php.ini on shared virtual privateserver Linux | oneilch | typo3-install@lists.netfielders.de | 0 | 23.12.2006 19:40 |
| [TYPO3-linux] Tarballs and symlinks | Toke Herkild | typo3-linux@lists.netfielders.de | 2 | 13.12.2006 10:23 |