[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278761] www/tt-rss: update daemon (ttrssd) now fails with php syntax error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 May 2024 19:20:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278761 Bug ID: 278761 Summary: www/tt-rss: update daemon (ttrssd) now fails with php syntax error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: bob@vesterman.com CC: dereks@lifeofadishwasher.com Flags: maintainer-feedback?(dereks@lifeofadishwasher.com) CC: dereks@lifeofadishwasher.com Last night I updated www/tt-rss@php83 on FreeBSD-RELEASE-13.2-p11 GENERIC amd64 to the latest version (tt-rss-php83-g20240421,2). The main program itself is working fine, but the update daemon, ttrssd, no longer starts up successfully: # service ttrssd start PHP Fatal error: Cannot redeclare get_pref() (previously declared in /usr/local/www/tt-rss/include/functions.php:44) in /usr/local/www/tt-rss/include/functions.php on line 45 /usr/local/etc/rc.d/ttrssd: ERROR: Unknown database configured: That's the whole thing - there's nothing after the final colon on the last line. I'll point out that the two filenames are the same, the lines are off by one, and at a quick glance by my non-PHP-expert eye only one of the two lines (44) actually declares that function; the other just looks like a line *in* the function. Maybe it's a "include vs. include-once" kind of thing? I'd like to mention for the benefit of anyone who may also be facing this issue that you can work around it by manually running the update script: # su -m www -c "/usr/local/bin/php /usr/local/www/tt-rss/update.php --feeds --quiet" The tt-rss website has several other suggestions for how to update when you're having problems with the standard way. Seems to be written from a Linuxish point of view, but: https://tt-rss.org/wiki/UpdatingFeeds -- You are receiving this mail because: You are the assignee for the bug.