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

PDO exception thrown when using sqlite #14

Closed
linuxd3v opened this issue Jun 27, 2013 · 2 comments
Closed

PDO exception thrown when using sqlite #14

linuxd3v opened this issue Jun 27, 2013 · 2 comments

Comments

@linuxd3v
Copy link

It happens on login with checkbox checked:

Here's the error:

[Thu Jun 27 11:49:58 2013] [error] [client 10.200.201.99] PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1 near "&": syntax error' in /var/www/project/revisions/rev1/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Driver/Pdo/Statement.php:187\nStack trace:\n#0 /var/www/project/revisions/rev1/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Driver/Pdo/Statement.php(187): PDO->prepare('UPDATE "user_re...')\n#1 /var/www/project/revisions/rev1/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Driver/Pdo/Statement.php(213): Zend\\Db\\Adapter\\Driver\\Pdo\\Statement->prepare()\n#2 /var/www/project/revisions/rev1/vendor/zf-commons/zfc-base/src/ZfcBase/Mapper/AbstractDbMapper.php(165): Zend\\Db\\Adapter\\Driver\\Pdo\\Statement->execute()\n#3 /var/www/project/revisions/rev1/vendor/goalio/goalio-rememberme/src/GoalioRememberMe/Mapper/RememberMe.php(35): ZfcBase\\Mapper\\AbstractDbMapper->update(Object(GoalioRememberMe\\Entity\\RememberMe), 'user_id = 1 && ...', 'user_remember_m...', Object(GoalioRememberMe\\Mapper\\RememberMeHydr in /var/www/project/revisions/rev1/vendor/zendframework/zendframework/library/Zend/Db/Adapter/Driver/Pdo/Statement.php on line 187
@linuxd3v
Copy link
Author

Seems like invalid syntax for sqlite.

@pdobrigkeit
Copy link
Member

Merged PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants