Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Cannot print PDF
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: Cannot print PDF

Cannot print PDF 13 years ago #25517

I can advance through the Paypal Transaction and the when I download the PDF I grt this error.

Warning: Call-time pass-by-reference has been deprecated in /home/content/85/8527885/html/administrator/components/com_virtuemart/classes/vmeticket_download.php on line 210
TCPDF ERROR: Some data has already been output, can't send PDF file


Yes I have allow downloadable products turned on under Virtumart / Admin / Configuration / Downloads. Also I have set the ean_codes file and children to 777. Still get the same error. Any ideas?

I will set the error reporting off wne the problem is solved. Is there a was to just send the PDF to the customer and not have them download it on the website / or both??
Last Edit: 13 years ago by cpetitclerc73.
The topic has been locked.

Re: Cannot print PDF 13 years ago #25525

  • pedu
  • OFFLINE
  • Posts: 177
Hello,

all the payment methods are managed by VM. As wel as the whole order process.

So if I understand. Now you can download the PDF file without any problem?

The sending of download ids and all the emails is managed by VM too. I think, that standard way is to send the download id and download link via email to customer. The PDF files aren't attached to the email.
ARTIO Support Team
The topic has been locked.

Re: Cannot print PDF 13 years ago #25527

No. cannot get PDF to Print / download. Get error

Warning: Call-time pass-by-reference has been deprecated in /home/content/85/8527885/html/administrator/components/com_virtuemart/classes/vmeticket_download.php on line 210
TCPDF ERROR: Some data has already been output, can't send PDF file

I also have not found a way to get back to the download screen link once you close the browser. What if the customer wants to goback at a later date and print the tickets. Everything isd an errror so far so I will focus on fixing that first. PDF dowenload is an error and Atrio buttonss are an internal server error. Should I contact support with a log in info for the backend? I personally think it is a permissions problem but have no idea what file to change. Yes I have allow downloadable products turned on under Virtumart / Admin / Configuration / Downloads. Also I have set the ean_codes file and children to 777.
The topic has been locked.

Re: Cannot print PDF 13 years ago #25528

  • pedu
  • OFFLINE
  • Posts: 177
Open the file, that is written in the error message: "/home/content/85/8527885/html/administrator/components/com_virtuemart/classes/vmeticket_download.php" and goto line 210.

change the row from:
$request->download_request(&$d);

to:
$request->download_request($d);

But this part of code is performed when you try to download the VM downloadable products, not VMeTicket ticket.
Please, check the VMeTicket settings, mainly the Product Type. And save it again.
ARTIO Support Team
The topic has been locked.

Re: Cannot print PDF 13 years ago #25529

I just want to make sure this is set up properly. I have added an eticket. Media is (2).

When I click the eticket / more information / DOWNLOADABLE is shown. Media for downloadable is (0). To set that you need a file path to upload the file. Since the PDF is being generated there is no path cause the PDF dosen not currently exist and needs to be created. I am not sure if this is the problem or not. I will try changing the code tomorrow.
The topic has been locked.

Re: Cannot print PDF 13 years ago #25628

Changing the code worked

change the row from:
$request->download_request(&$d);

to:
$request->download_request($d);


Thank you very much. I can now download an e-ticket.

Is there any way to set up a downloads button like this site has in case the user wanted to log in at a later date and download the ticket again?
The topic has been locked.
  • Page:
  • 1
  • 2
Moderators: pedu
Přihlášení uživatele Prázdný