Skip navigation

Layout overrides: Modules

Layout overrides: Modules: Templating with Joomla! 3 and Bootstrap
Layout overrides: Modules: Templating with Joomla! 3 and Bootstrap

Join for an in-depth discussion in this video Layout overrides: Modules, part of Templating with Joomla! 3 and Bootstrap.

Resume Transcript Auto-Scroll
Skill Level Intermediate
5h 8m
Duration
332,199
Views
Show More Show Less

Q: After following along with the exercise files, all has gone well until I installed JCE. When I did this my control panel on the backend came up with the following "strict standards" error:

( ! ) Strict standards: Non-static method WFEditor::getInstance() should
not be called statically, assuming $this from incompatible context in
C:\wamp\www\administrator\components\com_jce\models\model.php on line 112

Please advise. I looked for a way of uninstalling JCE and could not find one. The exercise site seems to work quite well otherwise, although I can't change the profile of JCE as instructed because of similar messages throughout the JCE profile.

A: Anytime you receive an error about "strict standards" when work with WAMP (any additional messaging doesn't matter), please apply the following fix. This fix is also described in the Joomla! 3 Essential Training Chapter 11 video, "Turning off WAMP error reporting."

Because the error reporting is an issue with WAMP and not Joomla!, this fix works for Joomla! 1.6, 1.7, 2.5, and 3.0, as well as later versions of Joomla.

1. In WAMP, find the icon in the system tray and click it.

2. Choose PHP - php.ini from the list.

3. Search the php.ini file for the following line:

error_reporting = {there will be some kind of value in this place}

4. Change whatever value is there on that line to the following:

error_reporting = E_ERROR

5. Save and close php.ini, then go back to the WAMP menu and choose "stop
all services", followed by "start all services" to reboot Apache.

6. You should no longer see errors. If errors are still present, then do
the following:

a. follow steps 1 and 2 above

b. Search the php.ini file for the following line:

display_errors = off

Change this to

display_errors = on

c. Follow step 5 above.

Q: Why is Joomla not installing on my Windows computer with WAMP?

A: In current versions of WAMP, there is a bug in PHP 5.4.x that may prevent Joomla! from installing.
 
Downgrade your version of PHP from 5.4.x to 5.3.x. To do this, click on the WAMP icon in the system tray (the green W). Go to PHP - Version - and choose a version of 5.3 that's available in your installation. Click on the WAMP icon again and choose Restart All Services. You should be able to install Joomla! now.

Q: The exercise files do not seem to work with the latest version of WampServer. What do I do?

A: Please refer to David Gassner's course Installing Apache, PHP, and MySQL, specifically video #4, "Changing softwareversions with WampServer add-ons," in Chapter 3, "Installing WampServer on Windows." This will show you how to adjust the version of PHP in WampServer so Joomla will run correctly.
 
Per the Joomla documentation at joomla.org, the minimum version of PHP to run Joomla is 5.3.10, and preferred is 5.4+. WampServer might be shipping with PHP 5.5.12. You can certainly downgrade this to a different PHP version using the instructions in David's video.
 

Skills covered in this course
CMS Blogs Responsive Design Web Web Design Projects Joomla!

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now