Author Topic: Turn off PHP notices and warnings.  (Read 34044 times)


  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28606
  • Always on vacation
    • Jenkin Hill Internet
Turn off PHP notices and warnings.
« on: May 12, 2012, 12:05:08 pm »
Advisory notices and warnings from PHP are turned on by default in the php.ini provided in PHP5.3+  Edit php.ini to turn them off -

These can be turned off by editing your server php.ini (which is the preferred way to solve this, but not permitted by some shared hosts), by using .htaccess or by simply changing the reporting level in Joomla. Go to Joomla 2.5/3.x's Global Configuration/Server/Server Settings/Error Reporting. For most users "Simple" is a good setting.

You can also turn these off in VM configuration, see message from Milbo below.

About php error messages:

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 4.0.22 10858  J 3.10.11 PHP 8.0.27


  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10554
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Turn off PHP notices and warnings.
« Reply #1 on: December 14, 2014, 11:42:34 am »
VirtueMart has now an option to configurate it directly in VirtueMart if not set already by joomla.

Just to go to the VirtueMart config first tab. You can enable the messages for all or just admins, so even a life shop can partly debugged.
Should I fix your bug, please support the VirtueMart project and become a member
Extensions approved by the core team: