New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session SaveHandler DbTable - Fatal error: Exception thrown without a stack frame in Unknown on line 0 #2491
Comments
Attachment: "Unable to start session." Screenshot |
Confirmed, getting the same error, see attached screen |
We may need ftp access to your servers to insert debug code into Zend Framework. For 1.5, we actually simplified the Nonce and Session handling code in Piwik. |
Temporary workaround:
to:
|
(In [4941]) fixes #2491
Note to self: there's a ZF1 memcache savehandler in ZF-10561 |
(In [4942]) refs #2491 - partial revert - ini_set is checked in testMinimumPhpVersion.php |
After applying #4942 the problem still occurs. |
Didn't realise this bug was already posted. I created a ticket on 2494 (could you please merge). |
Attachment: "The requested website id = 1 couldn't be found" Error |
Reported by many users in http://forum.piwik.org/read.php?2,78026 |
But until now nothing helped me to solve my issue |
We have not been able to replicate so far. What versions of PHP are you using? can you upgrade to latest PHP and try again? |
Applying all db updates manually finally did the trick and everything now seems to work fine |
Ok, so I'll start with my setup. My setup is:
|
Anyone still having a problem must verify that there's a piwik_session table. If not, then the db update did not run, so you'll have to execute the SQL manually. (There's a race condition bug in the 1.4 update process.) |
For my installation the piwik_session table already exists. So I assume the update went quite well (at least for me). But the problems seem to be independent from the existence of that table. |
Experienced the problem after 1.4 > 1.5 upgrade, and it was fixed by changing :
to:
here are parts of the phpinfo(), in case it can help :) PHP Version 5.2.10 Apache Version Apache/2.2.3 (CentOS) APC Support enabled session Directive Local Value Master Value |
Got a report in the german forum (which I can't link here as akismet says that its spam ) that the changes in [4941] weren't enough but comment:3 fixed it. |
There are 3 cases (that I know) which can rise this weird "Exception thrown without a stack frame in Unknown on line 0" error:
Since the ExceptionHandler is fully wrapped into try/catch, the ErrorHandler must be the problem here. We've fixed an potential error in #2499 (http://issues.piwik.org/attachments/2499/Refs_%232499.patch) that raises the "nesting level" error which could, in some cases, also produce the confusing error. |
(In [4950]) fixes #2491 - still can't reproduce (tested with/without Suhosin, across multiple PHP versions); calling Zend_Session::writeClose() multiple times is handled by Zend/Session.php |
Bug still appears with applied [4950]. |
Dunedan: Please also apply [4949], try disabling APC and restarting the php fastcgi process. If you continue to have a problem, send us an email with host+ftp (or ssh) login/password, so we can take a look at your environment. |
The bug still appears after applying [4949], disabling APC and restarting the fastcgi processes. |
Using the 'files' session.save_handler is now unsupported for the reasons given in #1279. Upgrading to 5.3.4 or later should fix the problem for users who have the trunk patches, yet are still affected. There is a PHP build bug that depends on the extensions that are enabled at compile-time, which can cause session close + autoload to fail in in 5.2.x and 5.3.x. See bugs.php.net/bug.php?id=53141 |
(In [4958]) refs #2491 - see ZF-11521 |
(In [4969]) refs #2491 - replace Zend_Session_SaveHandler_DbTable with a leaner and cleaner implementation |
Same probs as mentioned above. Now tried with 1.5.1, but I am getting as well "Fatal error: Exception thrown without a stack frame in Unknown on line 0" when opening piwik after update (same as for 1.5). I tried with several patches, but I get same results as mentioned. I am using PHP 5.2.17 and I am not able to upgrade version (using a server of 1und1). Now downgraded piwik to 1.4 again, which is working fine - which should not be the final solution I hope. Is there any possibility to use 1.5 and further updates with PHP 5.2? |
Replying to webslave: This is not specifically related to PHP 5.2.x versions. Maybe you can provide FTP / Piwik credentials to us so we can investigate the issue. I have not been able to reproduce this on any machine, and I don't know either if Anthon was able to reproduce. |
I tried again to update, still getting the same error message. Could you please have a look? Tried to send you my FTP & Piwik credentials by e-mail (to trac@piwik.org, piwik-trac@piwik.org and piwik-trac-owner@piwik.org), apparently without success. To which e-mail address may I send the FTP data? Thank you in advance for your help! |
please send FTP details + bug reminder at matt att piwik thanks! |
I got the same problem with piwik version 1.5 and 1.5.1. Did someone found a solution?? |
If you're still having a problem, try the latest nightly QA build at http://qa.piwik.org:8080/nightly/ |
I tried the QA build, but I am getting the error "The requested website id = 1 couldn't be found". |
I got the same message. |
To everybody who still experiences some issues with this ticket:
Let's nail down the remaining issues that happen in 1.5.1, thank you for your reports |
See the ticket for the same reason but different causes, in Piwik 1.6 #2717 |
After the Update from Piwik 1.4 to Piwik 1.5 Piwik stopped working. When I try to login I get the message:
and log fills up with:
Nothing changed at the setup which has been working before the update.
The text was updated successfully, but these errors were encountered: