Skip to content
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

Updating to git master: General error in db.php #3093

Closed
mehturt opened this issue Apr 23, 2013 · 8 comments
Closed

Updating to git master: General error in db.php #3093

mehturt opened this issue Apr 23, 2013 · 8 comments
Labels

Comments

@mehturt
Copy link

mehturt commented Apr 23, 2013

Updating to git master I started to get this error on log in:

{"app":"PHP","message":"SQLSTATE[HY000]: General error: 1 near \"AND\": syntax error at \/var\/www\/oc\/lib\/db.php#386","level":4,"time":"April 23, 2013 12:18:12"}
@tanghus
Copy link
Contributor

tanghus commented Apr 23, 2013

@mehturt
Copy link
Author

mehturt commented Apr 23, 2013

Expected behaviour

The error message should not be present in the log.

Actual behaviour

Error message present in the log.

Steps to reproduce

  1. Cannot reproduce, happens arbitrarily.

Server configuration

Operating system: Debian GNU/Linux stable

Web server: Apache 2.2.16

Database: sqlite3

PHP version: 5.3.3

ownCloud version: git master

Client configuration

Browser: Firefox nightly

Operating system: GNU/Linux

Logs

Web server error log

n/a

ownCloud log (data/owncloud.log)

{"app":"PHP","message":"SQLSTATE[HY000]: General error: 1 near \"AND\": syntax error at \/var\/www\/oc\/lib\/db.php#386","level":4,"time":"April 23, 2013 12:18:12"}

Browser log

Looks like not related to the browser, as I'm currently suffering from #854 and all I can do is to reload the login screen (and try to log in).

@tanghus
Copy link
Contributor

tanghus commented Apr 23, 2013

Are there no other error messages in the log? AND appears in most db queries ;)

@mehturt
Copy link
Author

mehturt commented Apr 24, 2013

No, no other error messages, otherwise I'd post them here. I had similar issue previously, maybe you remember that. Is it not possible to log the offending DB query as well?

@BernhardPosselt
Copy link
Contributor

@mehturt it is, cc @karlitschek

@karlitschek
Copy link
Contributor

@mehturt
Copy link
Author

mehturt commented May 2, 2013

I have not seen this error message for a week now, so I guess this bug can be closed. But I see some new ones, should I file a new bug for each error message I find in the log? Or what's the procedure here? Thanks.

@MTGap
Copy link
Contributor

MTGap commented May 6, 2013

Since you're using master and you haven't seen the error for a while we'll assume that it has been fixed.

Please open a new issue for any different bugs.

@MTGap MTGap closed this as completed May 6, 2013
@lock lock bot locked as resolved and limited conversation to collaborators Aug 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants