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

SQL error markReadFeed: syntax error #1299

Closed
sublimz opened this issue Oct 10, 2016 · 6 comments
Closed

SQL error markReadFeed: syntax error #1299

sublimz opened this issue Oct 10, 2016 · 6 comments
Milestone

Comments

@sublimz
Copy link

sublimz commented Oct 10, 2016

Since 1.5.0 ; "Mark as read" doesn't work for me, still unread.
In the log, "SQL error markReadFeed: syntax error"
Installation checking is green. I auto-update from 1.4.0 to 1.5.0.
I'm alone ? Thanks

@Alkarex
Copy link
Member

Alkarex commented Oct 10, 2016

Hello,
What OS, what database (e.g. MySQL ?), what versions ?

@Alkarex
Copy link
Member

Alkarex commented Oct 10, 2016

And is it only with this request, that you get some errors?

@Alkarex Alkarex modified the milestone: 1.6.0 Oct 10, 2016
@sublimz
Copy link
Author

sublimz commented Oct 11, 2016

Hello, thanks to reply
Yes, it's the only error i had in 1.5.0.
I use a Synology to host with Nginx, SQLlite3, PHP 5.6.23.
To test, I have done a new fresh install from git 1.5.0, same problem : "SQL error markReadFeed: syntax error". So new install in 1.4.0 and no mark problem, all is fine in this version.

Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Oct 11, 2016
@Alkarex
Copy link
Member

Alkarex commented Oct 11, 2016

I cannot reproduce the error, but I would be interested in identifying the problem:

Minz_Log::error('SQL error markReadFeed: ' . $info[2] . ' with SQL: ' . $sql . $search);

@sublimz
Copy link
Author

sublimz commented Oct 12, 2016

Hello,

  • Yes, i'm really using SQLite
  • No, no one works; same problem for all feeds and categories
    • After install Dev version : no problem, it's works !, I can do "Mark as read"
    • Message after switch the line 443 in 1.5:
2016-10-12 09:16:41
SQL error markReadFeed: syntax error with SQL: UPDATE `entry` e SET e.is_read=1 WHERE e.id_feed=? AND e.is_read=0 AND e.id <= ?

Thanks Alkarex, I am waiting the 1.6.
(Freshrss become really good !)

@sublimz sublimz closed this as completed Oct 12, 2016
@Alkarex
Copy link
Member

Alkarex commented Oct 12, 2016

Thanks for the feedback! Good that 1.6-dev works :-)
Based on your error message, I cannot spot why you got an SQL syntax error in 1.5. Mystery...

javerous pushed a commit to javerous/FreshRSS that referenced this issue Jan 20, 2020
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