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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 25909
  • 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 -  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.

About php error messages:  http://www.ostraining.com/blog/joomla/warnings/?mc_cid=5f721f0d11
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.9579 on Joomla 3.7.3 PHP 7.0.19

Testing VMVM3.2.3.9587 on J!3.7.3

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9062
  • VM3.2 Cached and Optimized
    • 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.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/