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

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:

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!


1 Attachment

View Replies: View Best Answer
FischerVision replied on at Permalink Reply
Again, u seem to run your site from your update folder. Why is that?
roketto replied on at Permalink Reply
Answered in the other thread. Manually upgraded following these instructions:
JohntheFish replied on at Permalink Best Answer Reply
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
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.