Advertisement

Installing Joomla 4 and set Display Errors

Need help installing Joomla! 4.x? For all Joomla! 4.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
jumler1
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Mon Nov 24, 2008 8:49 am

Installing Joomla 4 and set Display Errors

Post by jumler1 » Thu Oct 24, 2024 5:12 am

I'm trying to install Joomla 4, but I can't set off Display Errors setting (look attachment joomla.jpg).

In PHP.INI is that field 'Off' (look attachment php.jpg).

How to turn off that?
You do not have the required permissions to view the files attached to this post.

Advertisement
gws
Joomla! Champion
Joomla! Champion
Posts: 6452
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: Installing Joomla 4 and set Display Errors

Post by gws » Thu Oct 24, 2024 9:02 am

Ignore it, joomla will run fine like that.

User avatar
AMurray
Joomla! Master
Joomla! Master
Posts: 10327
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Installing Joomla 4 and set Display Errors

Post by AMurray » Thu Oct 24, 2024 9:54 am

but won't it will display PHP errors - not ideal..... the other related setting is "error_reporting" in php.ini should have a setting of "default" or something like that.

What server are you on - a local server (like XAMPP or WAMPServer) or your web hosting? You should be able to check on your live host, the php settings in cPanel. If this is a localhost, did you restart the web server services?
Regards - A Murray
General Support Moderator

jumler1
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Mon Nov 24, 2008 8:49 am

Re: Installing Joomla 4 and set Display Errors

Post by jumler1 » Fri Oct 25, 2024 3:07 am

gws wrote: Thu Oct 24, 2024 9:02 am Ignore it, joomla will run fine like that.
Yes, I did like that, but I want to know what is happening :)
AMurray wrote: Thu Oct 24, 2024 9:54 am but won't it will display PHP errors - not ideal..... the other related setting is "error_reporting" in php.ini should have a setting of "default" or something like that.

Look at attachments, how to set up this "error_reporting"?

What server are you on - a local server (like XAMPP or WAMPServer) or your web hosting? You should be able to check on your live host, the php settings in cPanel. If this is a localhost, did you restart the web server services?
I'm on local server XAMPP. Yes, I restart web server services.
You do not have the required permissions to view the files attached to this post.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17901
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Installing Joomla 4 and set Display Errors

Post by toivo » Fri Oct 25, 2024 3:41 am

@jumler1, are you editing the right php.ini file, for example c:\wamp64\bin\apache\apache2.4.58.1\bin\php.ini?

Click the Wampserver icon in the System Tray, select PHP from the Wampserver menu, then select php.ini [apache module] from the PHP menu and edit that php.ini file using Notepad++ or your default text editor.
Toivo Talikka, Global Moderator

jumler1
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Mon Nov 24, 2008 8:49 am

Re: Installing Joomla 4 and set Display Errors

Post by jumler1 » Fri Oct 25, 2024 4:01 am

toivo wrote: Fri Oct 25, 2024 3:41 am @jumler1, are you editing the right php.ini file, for example c:\wamp64\bin\apache\apache2.4.58.1\bin\php.ini?

Click the Wampserver icon in the System Tray, select PHP from the Wampserver menu, then select php.ini [apache module] from the PHP menu and edit that php.ini file using Notepad++ or your default text editor.
Yes, I am editing right php.ini (see attachment).
You do not have the required permissions to view the files attached to this post.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17901
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Installing Joomla 4 and set Display Errors

Post by toivo » Fri Oct 25, 2024 4:16 am

Oops, my mistake. You are using XAMPP, not Wampserver.

Check if the main Joomla folder has its own php.ini file or maybe even a file called .user.ini.

Check also the main Joomla folder if it has an .htaccess file. It may contain a statement like:

Code: Select all

php_flag display_errors On
Toivo Talikka, Global Moderator

jumler1
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Mon Nov 24, 2008 8:49 am

Re: Installing Joomla 4 and set Display Errors

Post by jumler1 » Fri Oct 25, 2024 6:26 am

toivo wrote: Fri Oct 25, 2024 4:16 am Oops, my mistake. You are using XAMPP, not Wampserver.

Check if the main Joomla folder has its own php.ini file or maybe even a file called .user.ini.

Check also the main Joomla folder if it has an .htaccess file. It may contain a statement like:

Code: Select all

php_flag display_errors On
Unfortunately, there is none of that.

Advertisement

Post Reply

Return to “Installation Joomla! 4.x”