Hi,

On Fri, Mar 04, 2016 at 10:52:55AM +0100, Fredrik Olofsson wrote:
> Thanks, the dependencies works better now :-)
> 
> But I still get the following error when trying to start the daemon.
> Looks like some kind o search path issue, but I don't know PHP well
> enough to fix it.

mh... I cannot reproduce your bug (It works for me).

> ...
> PHP Fatal error:  Uncaught Error: Class 'Db_Prefs' not found in
> /usr/share/tt-rss/www/include/db-prefs.php:5
> Stack trace:
> #0 /usr/share/tt-rss/www/include/digest.php(29):
> get_pref('DIGEST_ENABLE', '1', false)
> #1 /usr/share/tt-rss/www/include/rssfuncs.php(219): 
> send_headlines_digests(true)
> #2 /usr/share/tt-rss/www/update.php(187): update_daemon_common(50)
> #3 {main}
>   thrown in /usr/share/tt-rss/www/include/db-prefs.php on line 5
> ...

So classes/db/prefs.php is not loaded. It should be autoloaded
by the __autoload() function in include/autoload.php. Could you
add some debug prints in there? E.g. replace this part:

---
if (file_exists($file)) {
    require $file;
}
---

with

---
if (file_exists($file)) {
    _debug("autoload class: $file");
    require $file;
} else {
    _debug("cannot find class: $file");
}
---

-- Sebastian

Attachment: signature.asc
Description: PGP signature

Reply via email to