Yesterday, I updated PHP from 5.2 to 5.3(.3), and updated piwik too. Piwik updated database and everything looked like good, I logged in, checked settings.. everything was fine.
Today, everything is wrong. If I have a session (I didn't logged out) I have an error in title. The full error message you can find here: [http://letolt.lacyc3.eu/bugreports/piwik_20100728/errors_with_session.log]
Without session, it looks like different error (You can't access this resource as it requires an 'view' access for the website id = 0 ...).
MySQL database works fine, database user name, password and anything else should be fine, because there wasn't any problem before the PHP upgrade.
Which Piwik version are you running?
When the error occurs, what's the URL in the address bar?
Can you provide the contents of your piwiksite table (assuming "piwik" is the table prefix)?
Sorry, I should have recognized this earlier. You'll have to either set:
because xdebug will log a stack trace whenever an exception is thrown, whether or not it caught in a try...catch block.
Sorry for the slow reply, gmail marked spam the notify mail.
Thanks for the fix.