-
Notifications
You must be signed in to change notification settings - Fork 405
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
SQLSTATE[42000]: Syntax error or access violation #53
Comments
Alejandri, you can see the changes suggested by idangozlan. Check the only pull request that's active. |
Thanks. I solved changed in HomeController this: public function index()
|
TNX for help! 👍 |
In home www/ Starter Site show this: (but i can acces to admin panel correctly)
QueryException in Connection.php line 614:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{tbpfx}filename from photo WHERE album_cover=1 and ${tbpfx}photo.photo_album_id=' at line 1 (SQL: select
photo_album
.id
,photo_album
.name
,photo_album
.description
,photo_album
.folderid
, (select ${tbpfx}filename from photo WHERE album_cover=1 and ${tbpfx}photo.photo_album_id=${tbpfx}photo_album.id) AS album_image, (select ${tbpfx}filename from photo WHERE ${tbpfx}photo.photo_album_id=${tbpfx}photo_album.id ORDER BY position ASC, id ASC LIMIT 1) AS album_image_first fromphoto_album
limit 8)The text was updated successfully, but these errors were encountered: