I’m unable to see any articles in my TT-RSS
Seeing error of "Could not update headlines (invalid object received…) when attempting to view articles.
When attempting to run:
$ php ./update.php --force-update
[18:10:17/4670] Lock: update.lock
[18:10:17/4670] marking all feeds as needing update…
PHP Fatal error: Class ‘Logger_SQL’ not found in /var/www/Tiny-Tiny-RSS/classes/logger.php on line 47
If possible include steps to reproduce the problem:
php ./update.php --force-update
tt-rss version (including git commit id):
$ sudo git status
On branch master
Your branch is up-to-date with ‘origin/master’.
Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
mysql Ver 14.14 Distrib 5.5.60, for debian-linux-gnu (x86_64) using readline 6.3
PHP 5.5.9-1ubuntu4.25 (cli) (built: May 10 2018 14:37:18)
Please provide any additional information below:
Lines in /var/www/Tiny-Tiny-RSS/classes/logger.php
function __construct() {
switch (LOG_DESTINATION) {
case "sql":
$this->adapter = new Logger_SQL();
break;
case "syslog":
$this->adapter = new Logger_Syslog();
break;
default:
$this->adapter = false;
}
}
(And I, also, haven’t used 5 in forever because 7 is so much faster.)
Check permissions, outside of those I can’t think of any other reason it wouldn’t be able to include the files. It’s technically possible you’re hitting some file system limits (number of open files, etc.) but I think file system damage is probably more likely. The PHP process and TT-RSS daemon both need to be able to read the files. Make sure you have no scripts, etc. that change permissions.