This video is intended for PC people only who are running WAMP.
Mac people running MAMP, you can skip right over this, and go on to the ACL
chapter, or if you happen to be running XAMPP with Joomla,
or you're running Web site on Web hosting, you can also skip right over this.
But those of you who are running WAMP, We need to talk.
When we turned on this language filter plug-in in the previous video, something
happened to our menus.
And if you got our menus, and you take a look at any of them -- let's just look
at the English menu --
we get these lovely errors here that appear.
And this has to do with the way WAMP is configured.
And they are quite ugly, but they never show up on my Web hosting; I don't ever
see any kinds of errors like this.
So, I know that this is a WAMP specific kind of situation, and it's more of an
annoyance than something that indicates you have done something horribly wrong
when your Web site, or that there's something that you need to fix.
So what we are going to do is we are going to edit the PHP.INI file inside of
WAMP to reduce our error reporting, to make these things disappear.
So to do this, if you go your WAMP icon, and it may be here, or it may be inside of
the little arrow here in your hidden icons, find that green W, and you are
going to click on this.
You're going to go to the PHP folder, and you're going to look for PHP INI.
And when you click on that, this should open up in Notepad for you.
So this your PHP INI file, and what we are going to do is we are going to
search for something.
So under Edit, go to Find, and we are going to look for error_reporting, and
click the Find Next button.
And here is a line in that is commented, the semicolon in front of it
indicates that it's commented; click Find Next one more time, and you'll be
on the correct line.
Where it says error_reporting = E_ALL.
What I would like for you to do is change this to E_ERROR, all capital letters.
And if you now save this File > Save, close the file,
then you are going to go back to WAMP, and you're going to say Stop All Services,
and then you're going to Start All Services again. That just basically
reboots PHP. When the W is back to being green,
you can refresh the page that you're on here inside of Joomla,
and all of those ugly errors will disappear, and you can get on with your life
now that you don't have to look at them anymore.
So this is a very handy little trick.
If you wind up with funny errors showing up in WAMP only, you can use this
particular trick to edit your PHP INI file to turn off those particular errors.
You may see them associated sometime later, where you have third-party
extensions on occasion, or something that might trigger those kinds of errors
as well.