This question about Using an extension: Answered

can't add items to the My Links list

Recently, when I started using the NatSkin skin, I also discovered the possibility to add topics to 'My Links': More gear icon > Socials section > Add to favorites.

It works well on my personal wiki, showing the 'Added to favorites' message and adding the item to the 'My links' list.

However, on the intranetwiki at work, I get the message 'Topic does not exist', and the topic isn't added to the 'My links' list. I found out, it depends on the ListyPlugin. However, if I go to the Configure page > Extensions, I see the ListyPlugin is enabled. Also, all other required plugins (and the JsconRpcContrib) are installed and enabled.

Am I overlooking something?

Kind regards

Stijn

Please make sure you are using the latest ListyPlugin and JQueryPlugin. Does the error persist after upgrading both (and refreshing the browser cache) ?

-- MichaelDaum - 31 Jul 2019

Back from a two weeks holiday in Tuscany, I'm back in business smile The ListyPlugin wasn't the latest version. However, even with the latest version (and after refreshing the browser cache), adding topics to My Links doesn't work - same error.

-- StijnBousard - 21 Aug 2019

Did you update JQueryPlugin as well?

-- MichaelDaum - 14 Jan 2020

Still struggling with this one. All required plugins are up to date. I noticed I'm able to add items as admin user, not as another user. Adding a regular user to the AdminGroup doesn't help. What else can be checked?

-- StijnBousard - 29 Jun 2020

SOLVED

I now compared the wiki events.log when creating a link as the admin user (succeeding) and as another user (failing)

Log from a correctly added link:
| 2020-06-29T15:10:22+02:00 info | admin | rest | Explio.Ace2 | JQueryPlugin tmpl Chrome | 192.168.0.154 | 
| 2020-06-29T15:10:28+02:00 info | admin | jsonrpc | Main.AdminUser | ListyPlugin saveListyItem Chrome | 192.168.0.154 | 
| 2020-06-29T15:10:28+02:00 info | admin | save | Main.AdminUser | Chrome | 192.168.0.154 | 
| 2020-06-29T15:10:30+02:00 info | admin | rest | Explio.Ace2 | RenderPlugin render Chrome | 192.168.0.154 | 
| 2020-06-29T15:10:39+02:00 info | admin | jsonrpc | Main.AdminUser | ListyPlugin saveListy Chrome | 192.168.0.154 | 
| 2020-06-29T15:10:39+02:00 info | admin | save | Main.AdminUser | Chrome | 192.168.0.154 |

Log from a trial from sbo/Stijn Bousard:

| 2020-06-29T15:18:50+02:00 info | sbo | rest | Explio.HogeschoolUtrechtAce2 | JQueryPlugin tmpl Chrome | 192.168.0.154 |
| 2020-06-29T15:18:54+02:00 info | sbo | jsonrpc | Main.sbo | ListyPlugin saveListyItem Chrome | 192.168.0.154 |

However, there is no Main.sbo. It's Main.StijnBousard!

Solution: as root, create a symbolic link sbo.txt pointing to StijnBousard.txt:

root@odin:/srv/htdocs/foswiki/data/Main# ln -s StijnBousard.txt sbo.txt

Then set group and owner. Warning: for a symbolic link, you have to add the -h option:

chown -h www-data:www-data sbo.txt

-- StijnBousard - 29 Jun 2020

 

QuestionForm edit

Subject Using an extension
Extension ListyPlugin
Version Foswiki 2.1.6
Status Answered
Related Topics
Topic revision: r8 - 29 Jun 2020, StijnBousard - This page was cached on 30 Jun 2020 - 09:29.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy