You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Updating to git master: General error in db.php #3093
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"}
The error message should not be present in the log.
Actual behaviour
Error message present in the log.
Steps to reproduce
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).
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?
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.
Activity
tanghus commentedon Apr 23, 2013
Please follow https://github.com/owncloud/core/blob/master/CONTRIBUTING.md
mehturt commentedon 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
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)
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 commentedon Apr 23, 2013
Are there no other error messages in the log?
ANDappears in most db queries ;)mehturt commentedon 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 commentedon May 1, 2013
@mehturt it is, cc @karlitschek
karlitschek commentedon May 2, 2013
it's calles log_query. see here: https://github.com/owncloud/core/blob/master/config/config.sample.php
mehturt commentedon 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 commentedon 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.