VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Ronny Buelund on December 29, 2013, 18:08:41 PM

Title: VM 2.0.26a - error on PDF creation
Post by: Ronny Buelund on December 29, 2013, 18:08:41 PM
In the order list - if I try to generate a pdf invoice i get a blank screen !??
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Ronny Buelund on December 30, 2013, 19:15:00 PM
An update - I have tested the site on another server. If in backend press this link "You can take a look at a preview page (after saving the changes) HERE." then I get this error:
500 Internal Server Error

The request was not completed. The server met an unexpected condition.

    cp.danhost.dk/~mmmmmm/index.php?option=com_virtuemart&view=invoice&task=samplePDF (port 80)

What is going on here ??
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Milbo on December 31, 2013, 09:43:04 AM
It can be a problem with your tcpdf library. Other extensions use also this library and install sometimes another version than ours.
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Ronny Buelund on December 31, 2013, 10:24:51 AM
That is NOT the problem. Just deleted the tcpdf folder and uploaded the one from com_virtuemart.2.0.26a_ext_aio - the problem is still there.

Running Joomla 2.5.17, php 5.3.24, mySQL 5.5.34-cll
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Milbo on December 31, 2013, 15:52:34 PM
Quote from: Ronny Buelund on December 30, 2013, 19:15:00 PM
.

    cp.danhost.dk/~mmmmmm/index.php?option=com_virtuemart&view=invoice&task=samplePDF (port 80)

What is going on here ??

Why do you create a samplePDF?
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Ronny Buelund on January 01, 2014, 13:18:34 PM
This is the URL i get if I press this link - see picture ...

[attachment cleanup by admin]
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Typhoon365 on January 01, 2014, 14:44:24 PM
Our site is also suffering the same problem.   500 Internal Server Error when generating a PDF invoice.  Only started happening after upgrading to 2.0.26a.  Was working fine previously on 2.0.24
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Milbo on January 01, 2014, 15:27:57 PM
ahhhh, this link. I did not know that there is one.
Title: Re: VM 2.0.26a - error on PDF creation
Post by: jenkinhill on January 01, 2014, 16:26:47 PM
Works fine for me on 2.0.26a   PHP5.4.21 with memory_limit 128M  max_execution_time 120
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Ronny Buelund on January 02, 2014, 11:05:54 AM
Anything new on this - pdf generation is not working at all - please help!
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Vlad44b on January 02, 2014, 15:17:36 PM
QuoteIn the order list - if I try to generate a pdf invoice i get a blank screen !??

I have the same problem. :(
VM 2.0.26a
Title: Re: VM 2.0.26a - error on PDF creation
Post by: partesyaccesorios on January 03, 2014, 03:11:35 AM
I have the same problem and is there any solution that I can do, all is well in the version: 2.0.24c but 2026th occurred when migrating to the problem, just gives me a blank page, not the pdf file is generated

please urgent help

:o
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Milbo on January 03, 2014, 13:05:52 PM
Please try this http://forum.virtuemart.net/index.php?topic=121130.msg413744#msg413744
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Typhoon365 on January 03, 2014, 13:20:43 PM
thanks.  Solved for me..  Creating the empty log file fixed it.   In my case it was trying to log a warning error "vmError: Warning extension of the image is a png, tpcdf has problems with that in the header, choose a jpg or gif", now it logs the error and continues..

great, thanks.

Title: Re: VM 2.0.26a - error on PDF creation
Post by: Ronny Buelund on January 03, 2014, 14:20:48 PM
Yes! That did the trick - thanks.
Title: Re: VM 2.0.26a - error on PDF creation
Post by: Vlad44b on January 03, 2014, 14:22:35 PM
Quote from: Milbo on January 03, 2014, 13:05:52 PM
Please try this http://forum.virtuemart.net/index.php?topic=121130.msg413744#msg413744

Thanks. I just overrided file config.php and the problem is gone.