JV Thrina has been released. Please login and follow this link to download JV Thrina template and related extensions. If you don't have account yet, please click here to Sign up

How to disable notice and warning in PHP.ini file

Rate this item
(1 Vote)

Several times, We have received some questions about the warnings or Notices from our members when they are using our extensions:

Hi admin,
When i install JV Content Fusion module,it gives me this error:
Notice: Undefined variable: secidcount in C:\wamp\www\jnuOffline\modules\mod_jv_contenfusion \helper.php on line 112
Help. Thanks.

Sometime if you are working on some php code and fed up of Warnings or Notices in the browser then easy way out is to disable the settings in PHP.ini file. This is a configuration file which is loaded each time you start your PHP+Apache. It was doing everything it was supposed to but at the same time it was throwing errors and warning which doesn’t make sense and were harmful for the application.

Here is the method to change the settings in PHP.ini file:

Open PH.ini file.

In this file search for the phrase “ error_reporting = E_ALL” ,[without inverted commas]

Here replace this with “error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING “

(Show all errors, except for notices and coding standards warnings)

Make sure you change the real enabled part of this , there are certain other examples given in the file.

Restart your PHP + Apache

Now, no warnings and messages will appear in the browser.

2 comments

Leave a comment

JV Twitter Update

Developed by JoomVision.com

Affiliate Program

Are you a webmaster and do you want to make money from selling joomla templates? Here at the JoomlaVision Affiliate Program you can find the best affiliate program for your website. You will earn 20% in commission on every sale you refer from your website. Our program is free to join, it's easy to sign-up and requires no technical knowledge. Affiliate programs are common throughout the Internet and offer website owners a means of profiting from their websites. Affiliates generate sales for commercial websites and in return receive a percentage of the value of those sales.

NewsLetter Signup

Sign up for our Newsletter to know important updates about Joomla and JoomlaVision.

Payment Methods

We accept the following forms of payment:

PayPal

You are here: Home Blog Blog How to disable notice and warning in PHP.ini file
Back to Top