News:

Support the VirtueMart project and become a member

Main Menu

Turn off PHP notices and warnings.

Started by jenkinhill, May 12, 2012, 12:05:08 PM

Previous topic - Next topic

jenkinhill

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 -  http://php.net/manual/en/function.error-reporting.php

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:  http://www.ostraining.com/blog/joomla/warnings/?mc_cid=5f721f0d11
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

Milbo

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: http://extensions.virtuemart.net/