Cannot finish the install: ImageAreaSelect plugin is missing or it is not installed properly
Rosamunda - August 9, 2009 - 04:57
| Project: | PDF Stamper |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | critical |
| Assigned: | yasheshb |
| Status: | active |
Jump to:
Description
Hi!
I´m trying to get this module work, and I´m pretty much stucked with the symlinks step.
Before try that on my shared server, I wanted to try and install this module on my localhost inside my Windows XP installation.
Is there any "manual" way to do that? I mean... I´m pretty much clueless about this step...
Please if someone could help me out with a clue here, I would very much appreciate it!
Thanks!
Rosamunda

#1
Rosamunda:
There was a documentation bug for the Symlinks. Apologies. The appropriate path is at - http://drupal.org/node/509346#comment-1813482
Let me know if there's still problems creating symlinks for Windows XP platform.
thx.
yashesh bhatia.
#2
#3
Hia again :)
Thank you very mucho for replying to me, I´ve forgot to mention that I´ve read that issue, and taked care of the names of the files. Thanks!
Anyway, After re-reading over and over again the readme, I´ve noted that my version of imgareaselect was 0.9.1 instead of the old 0.4.2. The newer one has folders, wich weren´t in the older.
So, I´ve installed the older to follow the instructions carefully, and I´ve installed the module, but with this errors:
* warning: fopen(sites/default/files\private\.htaccess) [function.fopen]: failed to open stream: No such file or directory in C:\xampplite\htdocs\soporte\sites\all\modules\pdfstamper\pdfstamper.module on line 189.* warning: fwrite(): supplied argument is not a valid stream resource in C:\xampplite\htdocs\soporte\sites\all\modules\pdfstamper\pdfstamper.module on line 197.
* warning: chmod() [function.chmod]: No such file or directory in C:\xampplite\htdocs\soporte\sites\all\modules\pdfstamper\pdfstamper.module on line 198.
I must add that I´ve created the symlink file manually, simply cloning the
jquery.imgareaselect-0.4.2.min.jsinside the imgareaselect-0.4.2 folder (inside of pdfstamper/js folder) to a new file calledjquery.imgareaselectinside pdfstamper/js folder.I´ve double checked the installations of the other modules (specially the ImageMagick installation, wich is working).
Probably because of that error, when I tried to create a pdf stamp document this appears:
* ImageMagick command: start "window title" /D"C:\xampplite\htdocs\soporte" /B "C:\Archivos de programa\ImageMagick-6.5.4-Q16\convert.exe" "sites/default/files/pdf_de_prueba_para_membrete.pdf" -border "2x2" -bordercolor "black" -quality "75" "sites/default/files\private\pdf_previews\pdf_previews_5.jpeg"
* ImageMagick output:
* PDF File Membrete de Pirulo has been created.
ImageMagick reported an error: convert.exe: `%s': %s "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pnmraw" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" "-sOutputFile=C:/DOCUME~1/Victoria/CONFIG~1/Temp/magick-bNv1zlNX" "-fC:/DOCUME~1/Victoria/CONFIG~1/Temp/magick-jJa0ZQt1" "-fC:/DOCUME~1/Victoria/CONFIG~1/Temp/magick-Zk91GiTJ" @ utility.c/SystemCommand/1881. convert.exe: Postscript delegate failed `sites/default/files/pdf_de_prueba_para_membrete.pdf': No such file or directory @ pdf.c/ReadPDFImage/611. convert.exe: missing an image filename `sites/default/files\private\pdf_previews\pdf_previews_5.jpeg' @ convert.c/ConvertImageCommand/2800.
Again, thank you for your help and guidance!!!
Rosamunda
#4
hi..
does the apache server have write permissions to the sites/default/files\private\pdf_previews ? also thanks for the above information.
we need to improve the error checking and appropriate message display on windows platform. (is this XP or Vista ?)
thx
yashesh bhatia
#5
Hi again!
I´ll check that again, but I think it has the permissions.
I´ve installed it on Windows XP SP3.
Thanks!
Rosamunda
#6
Hi again!
I´ve installed on a test hosting this module, and couldn´t use Magick module (have to use GD2 because they said Image Magick is old and outdated, and bláh bláh), and this is the output that I´ve got (I´ve checked the chmod and just in case tested with 777, with all possible permissions:
# warning: fopen(sites/default/files/private/.htaccess) [function.fopen]: failed to open stream: No such file or directory in /home/public_html/sites/all/modules/pdfstamper/pdfstamper.module on line 189.# warning: fwrite(): supplied argument is not a valid stream resource in /home/public_html/sites/all/modules/pdfstamper/pdfstamper.module on line 197.
# warning: chmod() [function.chmod]: No such file or directory in /home/public_html/sites/all/modules/pdfstamper/pdfstamper.module on line 198.
#7
So far, I´ve noted that:
= The folder sites/default/files\private\pdf_previews is not created by the module, so I´ve created it manually widh chmod 666.
= The .htaccess module is not created by the module either, so I´ve created it and added it inside that /pdf_previews folder (and tried it inside the /private folder aswell), with this code inside:
<IfModule mod_rewrite.c>RewriteEngine on
RewriteBase /system/files/private
RewriteBase $path
RewriteRule ^(.*)$ $1 [L,R=301]
</IfModule>
And I still get the error.