PDF button in product details - Blank Page

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed May 20, 2015 4:27 pm
Reply with quote
Report this post
Hi all,

I'm using Joomla 3.3.6 and Virtuemart 3.0.6.2 and PHP 5.5.22 on your Shop and Buy template.

I'm having a serious issue with the PDF button in the product details page.
When I click it, it shows me a blank page.
Sometimes I find this error in Chrome Developer tools: "Failed to load resource: the server responded with a status of 500 (Internal Server Error)". In other pages with the same issue no errors, no messages, nothing at all.

Here's a link to a product page in my site:
http://www.easylabs.it/it/negozio/comunicatori/comunicatore-big-step-by-step-con-livelli-detail

Please could anyone help me?
Thank you very much,
chrisrbk
User avatar
Senior Boarder

GK User
Thu May 21, 2015 11:52 am
Reply with quote
Report this post
Hi all,
just an update in the case it could help to help me.

I enabled vmdebug but nothing was shown. Today I also set Global Configuration > Error Reporting to Maximum and finally a message is shown in the blank page after clicking the PDF button in the product detail page:

Fatal error: Uncaught exception 'RuntimeException' with message 'Invalid JDocument Class' in /web/htdocs/www.easylabs.it/home/libraries/joomla/document/document.php:305 Stack trace: #0 /web/htdocs/www.easylabs.it/home/libraries/joomla/factory.php(737): JDocument::getInstance('pdf', Array) #1 /web/htdocs/www.easylabs.it/home/libraries/joomla/factory.php(215): JFactory::createDocument() #2 /web/htdocs/www.easylabs.it/home/templates/gk_shop_and_buy/error.php(40): JFactory::getDocument() #3 /web/htdocs/www.easylabs.it/home/libraries/joomla/document/error/error.php(135): require_once('/web/htdocs/www...') #4 /web/htdocs/www.easylabs.it/home/libraries/joomla/document/error/error.php(107): JDocumentError->_loadTemplate('/web/htdocs/www...', 'error.php') #5 /web/htdocs/www.easylabs.it/home/libraries/legacy/error/error.php(791): JDocumentError->render(false, Array) #6 /web/htdocs/www.easylabs.it/home/plugins/system/redirect/redirect.php(134): JError::customErrorPage(Object(RuntimeException)) #7 [internal function]: PlgSystemRedire in /web/htdocs/www.easylabs.it/home/libraries/joomla/document/document.php on line 305

Unfortunately I can't understand what it means.

Please, could you help me?
Thank you in advance,
chrisrbk
User avatar
Senior Boarder

teitbite
Sun May 24, 2015 2:36 pm
Reply with quote
Report this post
Hi

I'm afraid it tells me nothing as well. You need to show this to joomla developers. It does not sound to be connected with our products but joomla itself.
User avatar
Moderator

GK User
Tue May 26, 2015 2:43 pm
Reply with quote
Report this post
Hi teitbite,

I partially solved the issue by upgrading joomla to the latest version (3.4.1).
After this when I click on the pdf icon, it opens me a new page with all the product details. But it is not a pdf but a simply html page.

See a product page: http://www.easylabs.it/it/negozio/comunicatori/comunicatore-big-mack-detail
And the page after pdf icon: http://www.easylabs.it/it/negozio/catalogo/comunicatore-big-mack-detail?tmpl=component&format=pdf

This is not what I would expect. Am I wrong?

I also would like to update the template with your 3.17 release. I did it in a local version of the site but:
- the pdf issue is not solved for me
- in the product detail the manufacturer name is missing.

For this last issue I can only show you a screenshot of the local, as I don't want to update online until this issue is cleared.

no-manufacturer.jpg


Any idea to solve this issues?
Thank you very much,
chrisrbk
User avatar
Senior Boarder

GK User
Wed May 27, 2015 3:16 pm
Reply with quote
Report this post
Hello all,

I solved the second issue (missing manufacturer) by upgrading my installation of Virtuemart (to 3.0.9).
But the pdf issue still remains.

Thank you for any help,
chrisrbk
User avatar
Senior Boarder

GK User
Wed May 27, 2015 3:30 pm
Reply with quote
Report this post
Anyway, I solved the pdf issue by upgrading to the latest version of TCPDF (com_tcpdf_1.0.0).

Hope it could help somebody,
chrisrbk
User avatar
Senior Boarder

teitbite
Sat May 30, 2015 1:28 pm
Reply with quote
Report this post
Hi

Great news. Thank You for shearing a way how to fix this issues. Thread closed :)
User avatar
Moderator


cron