Author Topic: VM 2.0.26a - error on PDF creation  (Read 5355 times)

Ronny Buelund

  • Beginner
  • *
  • Posts: 46
VM 2.0.26a - error on PDF creation
« 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 !??

Ronny Buelund

  • Beginner
  • *
  • Posts: 46
Re: VM 2.0.26a - error on PDF creation
« Reply #1 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 ??

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10008
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: VM 2.0.26a - error on PDF creation
« Reply #2 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Ronny Buelund

  • Beginner
  • *
  • Posts: 46
Re: VM 2.0.26a - error on PDF creation
« Reply #3 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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10008
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: VM 2.0.26a - error on PDF creation
« Reply #4 on: December 31, 2013, 15:52:34 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?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Ronny Buelund

  • Beginner
  • *
  • Posts: 46
Re: VM 2.0.26a - error on PDF creation
« Reply #5 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]

Typhoon365

  • Beginner
  • *
  • Posts: 38
  • VirtueMart Version: 3.2.14
Re: VM 2.0.26a - error on PDF creation
« Reply #6 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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10008
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: VM 2.0.26a - error on PDF creation
« Reply #7 on: January 01, 2014, 15:27:57 pm »
ahhhh, this link. I did not know that there is one.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27621
  • Always on vacation
    • Jenkin Hill Internet
Re: VM 2.0.26a - error on PDF creation
« Reply #8 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
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.10.10211 on Joomla 3.9.14 PHP 7.0.33

Ronny Buelund

  • Beginner
  • *
  • Posts: 46
Re: VM 2.0.26a - error on PDF creation
« Reply #9 on: January 02, 2014, 11:05:54 am »
Anything new on this - pdf generation is not working at all - please help!

Vlad44b

  • Beginner
  • *
  • Posts: 31
Re: VM 2.0.26a - error on PDF creation
« Reply #10 on: January 02, 2014, 15:17:36 pm »
Quote
In 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

partesyaccesorios

  • Beginner
  • *
  • Posts: 7
Re: VM 2.0.26a - error on PDF creation
« Reply #11 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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10008
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Typhoon365

  • Beginner
  • *
  • Posts: 38
  • VirtueMart Version: 3.2.14
Re: VM 2.0.26a - error on PDF creation
« Reply #13 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.


Ronny Buelund

  • Beginner
  • *
  • Posts: 46
Re: VM 2.0.26a - error on PDF creation
« Reply #14 on: January 03, 2014, 14:20:48 pm »
Yes! That did the trick - thanks.