VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: davesage on November 16, 2015, 13:31:06 PM

Title: Error 500 unable to load renderer class when trying to print delivery note or in
Post by: davesage on November 16, 2015, 13:31:06 PM
Hi,

Using J 3.4.5 and VM 3.0.12

When I click on the Print View Icons for Delivery Note or Invoice I am getting an error 500 - unable to load renderer class.

Can anyone help?

Cheers,

Dave
Title: Re: Error 500 unable to load renderer class when trying to print delivery note or in
Post by: GJC Web Design on November 16, 2015, 13:32:37 PM
fuller error? check logs

assume tcpdf is installed
Title: Re: Error 500 unable to load renderer class when trying to print delivery note or in
Post by: davesage on November 16, 2015, 14:40:15 PM
Hi,

Indeed tcpdf is installed.

Error is as stated standard 500 error screen. No php error_log entries created.

The debug shows:

1      JApplicationCms->execute()      /home/xyz/public_html/index.php:45   
2      JApplicationSite->doExecute()      /home/xyz/public_html/libraries/cms/application/cms.php:252   
3      JApplicationSite->dispatch()      /home/xyz/public_html/libraries/cms/application/site.php:230   
4      JComponentHelper::renderComponent()      /home/xyz/public_html/libraries/cms/application/site.php:191   
5      JComponentHelper::executeComponent()      /home/xyz/public_html/libraries/cms/component/helper.php:372   
6      require_once()      /home/xyz/public_html/libraries/cms/component/helper.php:392   
7      JControllerLegacy->execute()      /home/xyz/public_html/components/com_virtuemart/virtuemart.php:124   
8      VirtueMartControllerInvoice->display()      /home/xyz/public_html/libraries/legacy/controller/legacy.php:728   
9      VirtueMartControllerInvoice->getInvoicePDF()      /home/xyz/public_html/components/com_virtuemart/controllers/invoice.php:73   
10      VmPdf::createVmPdf()      /home/xyz/public_html/components/com_virtuemart/controllers/invoice.php:278   
11      VirtuemartViewInvoice->display()      /home/xyz/public_html/components/com_virtuemart/helpers/vmpdf.php:59   
12      shopFunctionsF::triggerContentPlugin()      /home/xyz/public_html/components/com_virtuemart/views/invoice/view.html.php:255   
13      JEventDispatcher->trigger()      /home/xyz/public_html/components/com_virtuemart/helpers/shopfunctionsf.php:849   
14      JEvent->update()      /home/xyz/public_html/libraries/joomla/event/dispatcher.php:160   
15      call_user_func_array()      /home/xyz/public_html/libraries/joomla/event/event.php:69   
16      PlgContentLoadmodule->onContentPrepare()          
17      PlgContentLoadmodule->_load()      /home/xyz/public_html/plugins/content/loadmodule/loadmodule.php:78   
18      JDocument->loadRenderer()      /home/xyz/public_html/plugins/content/loadmodule/loadmodule.php:136

Let me know any other info that would be helpful.

Cheers,

Dave
Title: Re: Error 500 unable to load renderer class when trying to print delivery note or in
Post by: GJC Web Design on November 16, 2015, 14:49:47 PM
shopFunctionsF::triggerContentPlugin()

is this normal?  Why would an invoice view try to load content plugins?

seems to try and load a module position?
Title: Re: Error 500 unable to load renderer class when trying to print delivery note or in
Post by: davesage on November 16, 2015, 17:25:41 PM
I don't know, I don;t believe I've changed anything.
Title: Re: Error 500 unable to load renderer class when trying to print delivery note or in
Post by: jenkinhill on November 16, 2015, 18:10:42 PM
There was a previous report of this error - related to a plugin I think:  http://forum.virtuemart.net/index.php?topic=121966.0
Title: Re: Error 500 unable to load renderer class when trying to print delivery note or in
Post by: davesage on November 16, 2015, 18:41:51 PM
Hi, thanks for that, I'm not loading any video.

Can you give any way of identifying where this module might be being loaded in?

I'll have to turn off my modules 1 at a time and see if I can identify which one.

Any thoughts would be welcome,

Dave
Title: [Solved] Error 500 unable to load renderer class when trying to print delivery n
Post by: davesage on November 16, 2015, 18:48:37 PM
Found it!

Indeed I was loading a module position into the shops homepage but it was referencing an out of date module that had been removed. Removed that reference and all is fine now.

I'd even looked at that other post and thought nothing of it, the prompt of your and GJC asking about the module position jolted my memory about that module position.

Thanks a lot,

Dave