joomla need display error off

Status
Not open for further replies.

nguyenbang

New Member
Messages
2
Reaction score
0
Points
0
Hi the staff,
When i install Joomla, i see the recommendation on the screen that "display error" should "off", but it is "on".
How to get display error : off
 

techairlines

x10 Flyer
Community Support
Messages
2,867
Reaction score
165
Points
63
Add the following line to your .htaccess in the root of your Joomla installation:

Code:
php_value display_errors off
 
Last edited:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Good. Now his site will throw 500 errors.

[Fri May 07 18:11:32 2010] [alert] [client 130.65.109.107] /home/xxxxxx/public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
 

Naysha

New Member
Messages
105
Reaction score
1
Points
0
on the index.php file of the template you use, search it on ...../template/(template you use by default)/index.php

and just below that:

<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted index access' );
?>

add this:

<?php
ini_set('display_errors', 'off');
?>

i have done this and work!! :)
 
Last edited:

nguyenbang

New Member
Messages
2
Reaction score
0
Points
0
I've try all but while i am installing joomla display error is still : on.
Thank you the staff.
 
Last edited:
Status
Not open for further replies.
Top