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

Comments

yasheshb’s picture

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.

yasheshb’s picture

Assigned: Unassigned » yasheshb
Rosamunda’s picture

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.js inside the imgareaselect-0.4.2 folder (inside of pdfstamper/js folder) to a new file called jquery.imgareaselect inside 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

yasheshb’s picture

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

Rosamunda’s picture

Hi again!
I´ll check that again, but I think it has the permissions.
I´ve installed it on Windows XP SP3.
Thanks!
Rosamunda

Rosamunda’s picture

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.
Rosamunda’s picture

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.

yasheshb’s picture

Hi. This message was sent on Fri, Sep 11, 2009 at 3:41 PM.

The config works for me. i can connect online and help you debug it..

rgd.

yashesh

---------------------------------------------------------------------------
Rosamunda,
yasheshb (http://drupal.org/user/12675) has sent you a message via your contact form (http://drupal.org/user/10590/contact) at drupal.org.
If you don't want to receive such e-mails, you can change your settings at http://drupal.org/user/10590.
Message:

hello:
can we connect online to debug the PDF Stamper problem ? i've tried this and it works fine for me.
thx.

yash

we can connect on yahoo!, google, aim chat. my id is yasheshb
---------------------------------------------------------------------------

Rosamunda’s picture

:S September 2009?
I´m so sorry! I´ve never read you email! But I know that it cannot have gone inside spam folder. So this is weird...
I know that I didn´t solve this problem at that time. I´ll try to install it again and check out if the problem remains (I´ve got a new installation of Drupal that requires this module).

I´m very sorry for not answering you and I sincerely do apologise, yash!

Rosamunda

yasheshb’s picture

Rosamunda:

no worries :) . pls let me know if you need any help on it. feel free to ping me on google chat yasheshb@venuslabs.co.in

good luck.

yash

yasheshb’s picture

Status: Active » Closed (fixed)

closing.. have not heard from bug author regading it. please reopen if it's still a problem.

Roze-1’s picture

I hope my query matches this issue. By the way how to create symlink in win-xp ?