HyBing
Welcome, Guest
Please Login or Register.    Lost Password?
The website shows some PHP warning messages (1 viewing) (1) Guest
Please note, forums are locked to prevent spams. If you need to contat us, please email us directly at hybing@gmail.com
Go to bottom Post Reply Favoured: 9862
TOPIC: The website shows some PHP warning messages
#7
admin (Admin)
Admin
Posts: 6
graph
User Offline Click here to see the profile of this user
The website shows some PHP warning messages 5 Years, 3 Months ago Karma: 405  
After you have enabled the mambot or install the module, in some environments, you will see the PHP warning messages displayed on the website.

This relates to the PHP error reporting level settings. There are two ways to resolve this:

1. The first method is to update the PHP configuration file php.ini, generally stored at the root level of your web site. If you don't see the file, please create one. Locate the lines which relate to error handling (search for 'Error handling'. The following configuration will allow you to hide warning messages:

display_errors = Off


2. Including following PHP code in the module to turn off the reporting:

<?php
error_reporting(0);
?>

First method is preferred, because the setting will apply to the whole web site, while second method requires you to turn off warning in every php code.

To read more, check the following link: http://tutorials.ausweb.com.au/web/Tutorials/Joomla-FAQ/Securing-your-Joomla-Website/
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop