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
Error with reports view page #1176
Comments
Whats the rest of the error message? That should go on to show you a database error. |
hey @rjmackay, noticed we're getting lots of people with this error. Probably has something to do with the fact that we changed the default db connection type from mysql to mysqli? |
See also #1178, |
@aoduor not really. This could be ANY sql error at all. All SQL errors are thrown from system/libraries/drivers/Database/Mysqli.php. If they're not giving us the query we simply can't debug this at all. |
Thanks @mrashad10 . @rjmackay, we've got several issues over the past few weeks of a similar nature (the kohana exception), from different unrelated areas within the platform, which aren't replicable and seem to be isolated to these few deployments that keep reporting them. Hunch i had was it could have something to do with the mysqli extension not installed on their servers, but its just a hunch :). I'll search around for the rest and bundle them up for you to have a look at. |
I forget to tell you that my platform is "XAMPP for Linux 1.7.1", sorry for that. |
I can't get this to reproduce on my local install. @mrashad10 does this happen on all reports or just some of them? Can you change this line in index.php and see if you get a more detailed error? @aoduor If you can reproduce the error, can you digg in and find out more info? |
Also couldn't find any other mysqli exceptions in github issues - maybe I searched for the wrong thing? |
Hi Thank you |
Not enough info to debug - closing |
Hi
When I try to access the "reports/view" page "ushahidi/reports/view/2#" using Ushahidi-2.7 , I get this error message:
Kohana_Database_Exception
system/libraries/drivers/Database/Mysqli.php [159]:
I have work around this error by comment out that line like this:
// throw new Kohana_Database_Exception('database.error', $this->link->error.' - '.$sql);
The text was updated successfully, but these errors were encountered: