VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: panoss on January 21, 2017, 11:17:45 AM

Title: Two custom modules prevent site from working
Post by: panoss on January 21, 2017, 11:17:45 AM
I 'm trying to develop a custom module.
It' s in fact a 'clone' of 'mod_virtuemart_products' named 'mod_virtuemart_products_custom'.
It works fine when I have one (custom) module in my page.
But when I add a new one, the site stops working (shows a blank page).
I uninstalled it and reinstalled but the same thing happens.
What could be the cause of it?

(I removed the custom code, then removed the whole code (!!) from mod_virtuemart_products_custom.php, but the same thing happens)
Title: Re: Two custom modules prevent site from working
Post by: jenkinhill on January 21, 2017, 11:40:36 AM
Find the cause of the blank page:  http://forum.virtuemart.net/index.php?topic=117042.0

If you are using J3.0.6.2 (in your sig) then you must update Joomla ASAP.
Title: Re: Two custom modules prevent site from working
Post by: panoss on January 21, 2017, 12:22:24 PM
jJenkinhil thank you very very much!!
In configuration->shop->Advanced Settings, I enabled "Enable debugging messages" and "PHP Developer mode" and showed me the errors!
It was so simple and I was struggling for 24 hours now!

By the way, it 's Joomla 3.62 not J3.0.6.2.
Title: Re: Two custom modules prevent site from working
Post by: jenkinhill on January 21, 2017, 13:21:17 PM
Quote from: panoss on January 21, 2017, 12:22:24 PM
By the way, it 's Joomla 3.62 not J3.0.6.2.

That's my brain getting befuddled by our repetitive testing of VM versions. Anyway, J3.6.2 is seriously at risk of being hacked!!  J3.6.4 and then J3.6.5 were both releases to fix critical security issues. Last was https://www.joomla.org/announcements/release-news/5693-joomla-3-6-5-released.html
Title: Re: Two custom modules prevent site from working
Post by: panoss on January 21, 2017, 13:33:05 PM
Ok, I will update, thanks again!