Hi,
I pm'd the author but received no response, so I am documenting my findings/changes and will post this up as a contribution with minor changes when I am finished.
I think we should make this the support thread for the module.
Have you noticed that in admin-tools there is a new section for testing the module? It is not documented at all, I found it by accident!
Your problem
I just installed it and it works great apart from in the account order history page, when you click the link to download the pdf invoice it creates an alert box with the message:
C:\DOCUME1\Main\LOCALS1\Temp\Y2YkldCz.pdf.part could not be saved, because the source file could not be read.
This is from a live, remotely hosted test site.
The pdf is being created properly, I can go to root/pdf and see the pdf file and download it with an ftp program and it is all correct, but for some reason trying to download it through a browser won't work. I have tried with FF 3.x and IE8 with the same (non)results. I did notice that the path was different in the different browsers, in FF it is:
my_site.com/index.php?main_page=rl_invoice3&fn=75843_99ba4a0dfbdbf6c53ac2f9fd3c6db4af.pdf&or der=75843
and in IE8 it is:
my_site.com/index.php?main_page=rl_invoice3&zenid=6e49c0e4a47ad0f7438c283dc1105e24&fn=75843_ 99ba4a0dfbdbf6c53ac2f9fd3c6db4af.pdf&order=75843
For some reason it puts the zenid in with the link in IE8. Could all of this have something to do with the problem?
I would encourage folks to try this out, it looks like it has nice features, including a drag and drop template editor and ajax features.
I don't know if what I have experienced are bugs or not. I tried this in a fresh 1.3.8a install with all patches and bug fixes applied to rule out my heavily modified 1.3.7.1 and it is the exact same problem. I followed the installation and configuration instructions. If I go to admin>customers>orders and then click on the pdf invoice button it will open a new tab with the correct pdf invoice but it uses this path:
my_site.com/admin/rl_invoice3.php?oID=75843
Any suggestions? I can't ask on the zen cart German forum since I don't speak German and can't even find a thread about this mod because of the language barrier.
This may be the answer:
in Zen-Cart Admin-Configuration-Attribute Settings
for WINDOWS servers:
a) "Download by Redirect" - MUST be set to FALSE
b) Streaming - TRUE is better. See Zen Cart FAQ https://www.zen-cart.com/tutorials/index.php?article=292
for UNIX servers:
a) "Download by Redirect" - Either setting should work
If:
"Download by Redirect" is set to TRUE
then the directory
/catalog/pub MUST have read/write permissions 777 or 755
as the module creates a randomly-named folder from which the client downloads a copy of the pdf.
regards
Steve