Website Very Slow - Turning on PHP error reporting creates countless error messages

Permalink
I have a concrete5 website that has been a pain in the ass for the last year or so. I don't know what the issue is, but it generally runs pretty slowly.

I just today tried turning on PHP error reporting:

error_reporting(E_ALL);
ini_set('display_errors', '1');


...and I was surprised when my entire screen was filled with errors.

For the sake of this message, I've provided the page source from a copy of the website. If someone can point me in a direction as to why this is happening I would be very grateful!

Thanks

1 Attachment

roketto
 
FischerVision replied on at Permalink Reply
FischerVision
Again, u seem to run your site from your update folder. Why is that?
roketto replied on at Permalink Reply
roketto
Answered in the other thread. Manually upgraded following these instructions:http://www.concrete5.org/documentation/how-tos/developers/manually-...
JohntheFish replied on at Permalink Best Answer Reply
JohntheFish
The 'Notice' reports are just php telling you of some of what it considers to be poor programming practice. In general, they won't actually be errors. Many of these will arise because what was acceptable in older versions of php are just tolerated in newer versions. Many will come from addons. (php is historically a very messy programming language that is trying to become cleaner with each new generation)

Its only reports actually marked as error you should really be concerned about. Resetting to E_ERROR will probably give a more realistic picture.
roketto replied on at Permalink Reply
roketto
Thanks for the heads up. When I do E_ERROR I don't receive any messages at all. Perhaps I was fretting over nothing...

The slowness seems to have been related to some missing files I mentioned in another post. The site seems to be running better now, so hopefully that's all it was.

Thanks