Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1520 closed Bug (fixed)

Exception: Requested website was not loaded. in ../webstat/core/Site.php on line 62

Reported by: lacyc3 Owned by:
Priority: major Milestone: Piwik 0.6.5
Component: Core Keywords:
Cc: Sensitive: no

Description

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.

Change History (6)

comment:1 Changed 4 years ago by lacyc3

typo: Exception

comment:2 Changed 4 years ago by vipsoft (robocoder)

  • Summary changed from xception: Requested website was not loaded. in ../webstat/core/Site.php on line 62 to Exception: Requested website was not loaded. in ../webstat/core/Site.php on line 62

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 piwik_site table (assuming "piwik_" is the table prefix)?

comment:3 Changed 4 years ago by vipsoft (robocoder)

  • Resolution set to invalid
  • Status changed from new to closed

Sorry, I should have recognized this earlier. You'll have to either set:

xdebug.show_exception_trace=0
display_errors=Off

because xdebug will log a stack trace whenever an exception is thrown, whether or not it caught in a try...catch block.

comment:4 Changed 4 years ago by vipsoft (robocoder)

  • Resolution changed from invalid to fixed

(In [2763]) fixes #1520 - disable xdebug stacktraces

comment:5 Changed 4 years ago by lacyc3

Sorry for the slow reply, gmail marked spam the notify mail.

Thanks for the fix.

Note: See TracTickets for help on using tickets.