Unhandled Exception in function setFeedUnread()

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
vcll
Bear Rating Trainee
Bear Rating Trainee
Posts: 1
Joined: 20 Nov 2016, 19:54

Unhandled Exception in function setFeedUnread()

Postby vcll » 20 Nov 2016, 20:08

Hello.

First of all I want to say that I am loving tt-rss a lot. I find it useful and good-looking. However, I have a strange issue in my installation. I am using debian 8 with nginx and hhvm (instead of php), but the problem is related to the javascript code. I tried to look for a similar error on the internet, but the only one that pops up (from 2013) does not say anything helpful.

Did anyone experienced the same error? Or can you help me to find a solution?


Here is one of the error codes I get. I have tried with safari, firefox and brave, and the stack trace may differ a bit but the error is still similar.

Code: Select all

Exception: ReferenceError: Effect is not defined
Function: setFeedUnread()
The error will be reported to the configured log destination.

Stack Trace
ReferenceError: Effect is not defined
    at updateCounter (https://website.tt-rss/js/FeedTree.js:235:7)
    at .<anonymous> (https://website.tt-rss/lib/dojo/dojo.js?1479656332:15:30143)
    at _25a [as onChange] (https://website.tt-rss/lib/dojo/dojo.js?1479656332:15:55125)
    at onSetItem (https://website.tt-rss/lib/dojo/tt-rss-layer.js?1479656332:15:414103)
    at _199 (https://website.tt-rss/lib/dojo/dojo.js?1479656332:15:38894)
    at onSetItem (https://website.tt-rss/lib/dojo/tt-rss-layer.js?1479656332:15:416411)
    at .<anonymous> (https://website.tt-rss/lib/dojo/dojo.js?1479656332:15:30143)
    at _25a [as onSet] (https://website.tt-rss/lib/dojo/dojo.js?1479656332:15:55125)
    at _setValueOrValues (https://website.tt-rss/lib/dojo/tt-rss-layer.js?1479656332:15:20871)
    at setValue (https://website.tt-rss/lib/dojo/tt-rss-layer.js?1479656332:15:18854)



Thank you

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Unhandled Exception in function setFeedUnread()

Postby fox » 20 Nov 2016, 20:38

i have no idea if its related or not but i do not support hhvm

also read the rules while on probation

Sanato64
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 24 Feb 2017, 13:01

Re: Unhandled Exception in function setFeedUnread()

Postby Sanato64 » 24 Feb 2017, 13:13

I've googled for an hour without coming to a solution, but I think I've got the same error as OP, after doing an apt-get upgrade on my Debian stable yesterday. It seemed to work after the upgrade, but now apparently it stopped.

Code: Select all

Unhandled exception

Exception: ReferenceError, Effect is not defined
Function: setFeedUnread()
Location: FeedTree.js?1487929872764:242

Der Fehler wird im Fehlerprotokoll gespeichert


[email protected]://jessie.debian.vbox/tt-rss/js/FeedTree.js?1487929872764:242:1
.cache["dojo/_base/lang"]/</lang.hitch/<@http://jessie.debian.vbox/tt-rss/lib/dojo/dojo.js?1487922117:8:32899
_262/</[email protected]://jessie.debian.vbox/tt-rss/lib/dojo/dojo.js?1487922117:8:59328
.cache["dijit/tree/TreeStoreModel"]/</<[email protected]://jessie.debian.vbox/tt-rss/lib/dojo/tt-rss-layer.js?1487922117:8:408364
[email protected]://jessie.debian.vbox/tt-rss/lib/dojo/dojo.js?1487922117:8:41978
.cache["dijit/tree/ForestStoreModel"]/</<[email protected]://jessie.debian.vbox/tt-rss/lib/dojo/tt-rss-layer.js?1487922117:8:410642
.cache["dojo/_base/lang"]/</lang.hitch/<@http://jessie.debian.vbox/tt-rss/lib/dojo/dojo.js?1487922117:8:32899
_262/</[email protected]://jessie.debian.vbox/tt-rss/lib/dojo/dojo.js?1487922117:8:59328
.cache["dojo/data/ItemFileWriteStore"]/</<[email protected]://jessie.debian.vbox/tt-rss/lib/dojo/tt-rss-layer.js?1487922117:8:22484
.cache["dojo/data/ItemFileWriteStore"]/</<[email protected]://jessie.debian.vbox/tt-rss/lib/dojo/tt-rss-layer.js?1487922117:8:20376
[email protected]://jessie.debian.vbox/tt-rss/js/FeedTree.js?1487929872764:49:12
[email protected]://jessie.debian.vbox/tt-rss/js/FeedTree.js?1487929872764:37:11
[email protected]://jessie.debian.vbox/tt-rss/#f=4&c=1:377:8
[email protected]://jessie.debian.vbox/tt-rss/#f=4&c=1:361:1
[email protected]://jessie.debian.vbox/tt-rss/#f=4&c=1:121:1
request_counters/<[email protected]://jessie.debian.vbox/tt-rss/#f=4&c=1:354:168
Ajax.Request<[email protected]://jessie.debian.vbox/tt-rss/lib/prototype.js?1487922117:1827:8
Ajax.Request<[email protected]://jessie.debian.vbox/tt-rss/lib/prototype.js?1487922117:1756:7


I pulled a second tt-rss in a different directory, using the same config.php, thinking maybe something got corrupted in the initial install. But the same error appeared. I set every file and folder to 777, thinking it's a permissions thing, but no change. I guess the upgrade yesterday changed/switched to a different php-setup? I have no clue what to change, everything else (jupyter notebook, wordpress, pi-hole) seems to still work just fine. Also iirc it worked out of the box the first time.

System info:
#1 SMP Debian 3.16.39-1+deb8u1 (2017-02-22)
mysql Ver 14.14 Distrib 5.5.54, for debian-linux-gnu (x86_64) using readline 6.3
PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 08:50:21)
Tiny Tiny RSS v17.1 (e6d66fe)
Running as a Virtualbox VM on a Windows 7 host, if that matters

Athanasius
Bear Rating Trainee
Bear Rating Trainee
Posts: 38
Joined: 02 Apr 2013, 21:01

Re: Unhandled Exception in function setFeedUnread()

Postby Athanasius » 24 Feb 2017, 19:44

FWIW latest tt-rss from git (just updated) is working fine on my Debian stable system (actual hardware, not a VM).

#1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) (yeah, I need to reboot)
mysql Ver 14.14 Distrib 5.5.54, for debian-linux-gnu (x86_64) using readline 6.3
PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 08:50:21)
TT-RSS git head e6d66fe55ca217aeb0fb54b49ac9e7338d519c96

Sanato64
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 24 Feb 2017, 13:01

Re: Unhandled Exception in function setFeedUnread()

Postby Sanato64 » 24 Feb 2017, 21:36

Athanasius wrote:FWIW latest tt-rss from git (just updated) is working fine on my Debian stable system (actual hardware, not a VM).

#1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) (yeah, I need to reboot)
mysql Ver 14.14 Distrib 5.5.54, for debian-linux-gnu (x86_64) using readline 6.3
PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 08:50:21)
TT-RSS git head e6d66fe55ca217aeb0fb54b49ac9e7338d519c96


Yeah it's probably related to the upgrade, since setting up a new db and clean config.php resulted in the same error, after importing the opml file. Btw my setup differs from op's in the sense I'm using php and apache, but the error seems to be the same.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Unhandled Exception in function setFeedUnread()

Postby fox » 25 Feb 2017, 17:40

effect is not defined means scriptaculous is not loaded

check for 404 errors in dev console and httpd logs?

Sanato64
Bear Rating Trainee
Bear Rating Trainee
Posts: 3
Joined: 24 Feb 2017, 13:01

Re: Unhandled Exception in function setFeedUnread()

Postby Sanato64 » 26 Feb 2017, 19:43

fox wrote:effect is not defined means scriptaculous is not loaded

check for 404 errors in dev console and httpd logs?


I've checked both apache and php error logs, nothing shows up. I've switched to a dockerized tt-rss for now.


Return to “Support”

Who is online

Users browsing this forum: No registered users and 12 guests