Forum Support

Shape 5
December 08, 2021, 09:29:19 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Need help: "Strict Standards" error messages randomly started showing up  (Read 336 times)
shryart
Jr. Member
**
Offline Offline

Posts: 22

Gravatar


« on: July 24, 2013, 01:34:22 PM »

Hi, my site http://folsomtool.com randomly started showing a bunch of error messages on the site that say things like:

Quote
Strict Standards: Declaration of JCacheControllerPage::store() should be compatible with JCacheController::store($data, $id, $group = NULL) in /home/folsomto/public_html/libraries/joomla/cache/controller/page.php on line 199

I haven't logged into the site in a couple months, and I haven't made any changes that could have caused this. The errors just showed up within the last week or two. Not only are the error messages visible, but the whole site looks out of whack.

Does anyone know how this could have happened, and know how to fix it?
« Last Edit: July 25, 2013, 07:04:26 AM by shryart » Logged

shryart
Jr. Member
**
Offline Offline

Posts: 22

Gravatar


« Reply #1 on: July 25, 2013, 09:33:46 AM »

Here are some of the other error messages I'm getting:

Quote
Strict Standards: Only variables should be assigned by reference in /home/folsomto/public_html/templates/new_vision/vertex/cms_core_functions.php on line 12

Strict Standards: Non-static method S5modMainMenuHelper::S5buildXML() should not be called statically, assuming $this from incompatible context in /home/folsomto/public_html/templates/new_vision/vertex/s5flex_menu/default.php on line 43

But there are several more like that.

I have gone into Global Configuration > Server Settings and set Error Reporting to none. This did clear up most of the errors on the home page (http://folsomtool.com) but when you click any links on the page, all other pages have many error messages still. Even if you click on the home page, and it goes to http://folsomtool.com/index.php - basically any page that ends in .php - the errors show.

I have done a lot of searching on the web for answers, and I'm aware that people say to make changes to php.ini, however I don't have access to that file, as I'm not running my site on a local server. It's actually online, hosted by x10hosting. I have emailed my hosting company twice, asking for help, and there has been no response from them.

Is there any other practical solution I can try?
Logged

mikenicoll
Global Moderator
*****
Offline Offline

Posts: 20162



WWW
« Reply #2 on: July 25, 2013, 11:03:55 AM »

Hello,

This is due to PHP on your server being run with strict standards which shouldn't be done when using Joomla.

In the php.ini file in PHP/Apache (not your site files)

Find:

error_reporting = E_ALL | E_STRICT
display_errors = On

Change To:

error_reporting = E_ALL & ~E_STRICT
display_errors = Off

Your host can also help with this if you are having difficulty.

-Mike
Logged

Mike Nicoll
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.