barisusakli / nodebb-plugin-rss

A NodeBB Plugin to post topics using RSS feeds
28 stars 23 forks source link

nodebb-plugin-rss does not work #4

Closed nodecode closed 9 years ago

nodecode commented 10 years ago

The plugin nodebb-plugin-rss does not work for me.

With the last version 0.1.16 I get when accessing the admin panel of nodebb-plugin-rss the error message "not found".

With versions 0.1.15 and 0.1.14, however the following is displayed when calling NodeBB:

{"error":"Cannot read property '_csrf' of undefined"}

With versions 0.1.13 to 0.1.10 I can access the admin panel though, but not select any category. Here is a screenshot with the version 0.1.10: screenshot 2014-08-31 at 11 50 22 vorm

Which version should be used for NodeBB v0.4.3? And does the plugin just not for me, or is this a known bug?

barisusakli commented 10 years ago

0.1.13 should work with 0.4.3. When you open the browser console and run the following what do you get?

socket.emit('categories.get', function(err, categories) {
  console.log(err, categories);
});

Are your categories all private? Any errors in the browser console?

nodecode commented 10 years ago

I get an object with all categories. That seems not to be the cause.

null {"categories":[{"description":"General aspects about BeaverCoin. If something does not fit in any other category but is somehow linked with BeaverCoin, this is the right place.","color":"#fff","bgColor":"#AA7733","link":"","name":"[english] BeaverCoin General","order":"1","numRecentReplies":"2","class":"col-md-3 col-xs-6","disabled":false,"image":"","topic_count":"1","slug":"13/english-beavercoin-general","imageClass":"auto","cid":"13","icon":"fa-globe","backgroundImage":"","unread-class":"unread"},[...]}"

But I think to have found the real cause. The console displays the following error messages:

GET http://forum.beavercoin.org/404 404 (Not Found) rss:280
Uncaught TypeError: Object [object Object] has no method 'tagsinput' rss:394

In rss:280 is trying to load a file that does not exist:

Therefore is forwarded to /404, instead of loading the required JavaScript file. Since the tagsinput-file could not be loaded, now the second error message arises.

So the question is, why /vendor/jquery/bootstrap-tagsinput/bootstrap-tagsinput.min.js is not found.

nodecode commented 10 years ago

On my server as well as in the source code of NodeBB v0.4.x the file does not exist, only the current master branch contains it.

barisusakli commented 10 years ago

Ahh in that case you might need to use the version 0.1.9 of the plugin with 0.4.3 of nodebb, Other option is to use nodebb master and 0.1.16.