Author Topic: Two custom modules prevent site from working  (Read 1143 times)

panoss

  • Jr. Member
  • **
  • Posts: 69
  • A beginner
Two custom modules prevent site from working
« 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)
Virtuemart 3.0.18 on Joomla 3.6.5

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26091
  • Always on vacation
    • Jenkin Hill Internet
Re: Two custom modules prevent site from working
« Reply #1 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.
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.3.9614 on Joomla 3.7.4 PHP 7.0.22

Testing VM3.2.3.9614 on J!3.7.4

panoss

  • Jr. Member
  • **
  • Posts: 69
  • A beginner
Re: Two custom modules prevent site from working
« Reply #2 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.
Virtuemart 3.0.18 on Joomla 3.6.5

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26091
  • Always on vacation
    • Jenkin Hill Internet
Re: Two custom modules prevent site from working
« Reply #3 on: January 21, 2017, 13:21:17 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
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

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

Currently using VM3.2.3.9614 on Joomla 3.7.4 PHP 7.0.22

Testing VM3.2.3.9614 on J!3.7.4

panoss

  • Jr. Member
  • **
  • Posts: 69
  • A beginner
Re: Two custom modules prevent site from working
« Reply #4 on: January 21, 2017, 13:33:05 pm »
Ok, I will update, thanks again!
Virtuemart 3.0.18 on Joomla 3.6.5