1 00:00:00,000 --> 00:00:05,000 This video is intended for PC people only who are running WAMP. 2 00:00:05,000 --> 00:00:09,000 Mac people running MAMP, you can skip right over this, and go on to the ACL 3 00:00:09,000 --> 00:00:12,000 chapter, or if you happen to be running XAMPP with Joomla, 4 00:00:12,000 --> 00:00:16,000 or you're running Web site on Web hosting, you can also skip right over this. 5 00:00:16,000 --> 00:00:20,000 But those of you who are running WAMP, We need to talk. 6 00:00:20,000 --> 00:00:26,000 When we turned on this language filter plug-in in the previous video, something 7 00:00:26,000 --> 00:00:28,000 happened to our menus. 8 00:00:28,000 --> 00:00:32,000 And if you got our menus, and you take a look at any of them -- let's just look 9 00:00:32,000 --> 00:00:33,000 at the English menu -- 10 00:00:33,000 --> 00:00:36,000 we get these lovely errors here that appear. 11 00:00:36,000 --> 00:00:40,000 And this has to do with the way WAMP is configured. 12 00:00:40,000 --> 00:00:45,000 And they are quite ugly, but they never show up on my Web hosting; I don't ever 13 00:00:45,000 --> 00:00:47,000 see any kinds of errors like this. 14 00:00:47,000 --> 00:00:51,000 So, I know that this is a WAMP specific kind of situation, and it's more of an 15 00:00:51,000 --> 00:00:55,000 annoyance than something that indicates you have done something horribly wrong 16 00:00:55,000 --> 00:00:59,000 when your Web site, or that there's something that you need to fix. 17 00:00:59,000 --> 00:01:04,000 So what we are going to do is we are going to edit the PHP.INI file inside of 18 00:01:04,000 --> 00:01:08,000 WAMP to reduce our error reporting, to make these things disappear. 19 00:01:08,000 --> 00:01:14,000 So to do this, if you go your WAMP icon, and it may be here, or it may be inside of 20 00:01:14,000 --> 00:01:20,000 the little arrow here in your hidden icons, find that green W, and you are 21 00:01:20,000 --> 00:01:21,000 going to click on this. 22 00:01:21,000 --> 00:01:26,000 You're going to go to the PHP folder, and you're going to look for PHP INI. 23 00:01:26,000 --> 00:01:30,000 And when you click on that, this should open up in Notepad for you. 24 00:01:30,000 --> 00:01:35,000 So this your PHP INI file, and what we are going to do is we are going to 25 00:01:35,000 --> 00:01:36,000 search for something. 26 00:01:36,000 --> 00:01:42,000 So under Edit, go to Find, and we are going to look for error_reporting, and 27 00:01:42,000 --> 00:01:44,000 click the Find Next button. 28 00:01:44,000 --> 00:01:48,000 And here is a line in that is commented, the semicolon in front of it 29 00:01:48,000 --> 00:01:51,000 indicates that it's commented; click Find Next one more time, and you'll be 30 00:01:51,000 --> 00:01:52,000 on the correct line. 31 00:01:52,000 --> 00:01:56,000 Where it says error_reporting = E_ALL. 32 00:01:56,000 --> 00:02:07,000 What I would like for you to do is change this to E_ERROR, all capital letters. 33 00:02:07,000 --> 00:02:12,000 And if you now save this File > Save, close the file, 34 00:02:12,000 --> 00:02:20,000 then you are going to go back to WAMP, and you're going to say Stop All Services, 35 00:02:20,000 --> 00:02:23,000 and then you're going to Start All Services again. That just basically 36 00:02:23,000 --> 00:02:27,000 reboots PHP. When the W is back to being green, 37 00:02:27,000 --> 00:02:30,000 you can refresh the page that you're on here inside of Joomla, 38 00:02:30,000 --> 00:02:35,000 and all of those ugly errors will disappear, and you can get on with your life 39 00:02:35,000 --> 00:02:37,000 now that you don't have to look at them anymore. 40 00:02:37,000 --> 00:02:40,000 So this is a very handy little trick. 41 00:02:40,000 --> 00:02:45,000 If you wind up with funny errors showing up in WAMP only, you can use this 42 00:02:45,000 --> 00:02:51,000 particular trick to edit your PHP INI file to turn off those particular errors. 43 00:02:51,000 --> 00:02:54,000 You may see them associated sometime later, where you have third-party 44 00:02:54,000 --> 00:02:58,000 extensions on occasion, or something that might trigger those kinds of errors 45 00:02:58,000 --> 00:03:00,000 as well.