SocialEngine 4: PHP 5.4.x E_Strict Errors

When a server is upgraded to php 5.4.x due to its new reporting features and changes, it Andrew - SocialEnginecauses the main.log file to fill up with E_STRICT errors. While the ULTIMATE solution is to fix those errors, for now, they should be turned off so user logs are not filled up

application/index.php – line 42

Change from

error_reporting(E_ALL);

To

error_reporting(E_ALL & ~E_STRICT);

This will prevent the logs and still allow core reporting via php to happen for any other sites on the same box.

Suggestion: I would ONLY allow this level of reporting to exist if someone is running php 5.4.x – if this is put in place for php 5.3 you won’t get everything important to logging.

Looking for quality SocialEngine Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

Leave a Reply

Your email address will not be published. Required fields are marked *