Skip to content

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

Closed

Description

@mehturt

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"}

Activity

  1. mehturt commented on Apr 23, 2013

    @mehturt
    Author

    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).

  2. tanghus commented on Apr 23, 2013

    @tanghus
    Contributor

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

  3. mehturt commented on Apr 24, 2013

    @mehturt
    Author

    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?

  4. BernhardPosselt commented on May 1, 2013

    @BernhardPosselt
    Contributor
  5. mehturt commented on May 2, 2013

    @mehturt
    Author

    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.

  6. MTGap commented on May 6, 2013

    @MTGap
    Contributor

    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.

  7. locked as resolved and limited conversation to collaborators on Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions