The same one from earlier:Code: [Select] db_extend('packages');if (!isset($smcFunc['db_create_table'])) die('ActivityPub installer: db_create_table is NOT available');

|
Author
Topic: [Mod]ActivityPub Federation for SMF 2.1 (Read 5513 times)
Moobythegoldensock and 1 Guest are viewing this topic. Any errors in the error_log for this or anything you can see
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Like What I do? Support me at https://www.patreon.com/vbgamer45/ The only one that was natively throwing errors were likes. After I installed, likes werent saving and it was tossing errors in the log (I didnt save those, sorry.) What I figured out was that the ActivityPub hook in Subs-ActivityPub.php was directly accessing $obj->_content and $obj->_type, but those properties are protected in my version of Likes.php. Likes provides the public get() method for accessing them. I changed:
Posting wasnt throwing any actual errors, Acrivitypub was just showing 0 posts. I entered logging lines into the mod pages to try and figure out where it was tripping up. My logs showed that the ActivityPub hook runs immediately after db_insert, while topicOptions['id'] is still 0. The immediate message lookup consequently returned the new message with id_topic=0, and the first test produced:
The relevant sequence for the failing post was:
Great feedback updated with the previously mentioned issues. Their is a new hook registered at install time, so their existing installation won't pick it up from a file update alone. Reinstall the mod, or register the hook once on their live board,
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Like What I do? Support me at https://www.patreon.com/vbgamer45/ Cool! I won't have time to test again until next week, but I'll let you know how the update goes.
Current version is missing .well-known directory.
Fixed bad habit of trying to skip files that start with a period.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Like What I do? Support me at https://www.patreon.com/vbgamer45/ Installed newest version, had to edit the install.xml again to get the admin area. I can only see the toggle to use my account on ActivityPub on admin account, and when I open permissions I generate errors 2: Undefined array key "permissionname_activitypub_admin" and 2: Undefined array key "permissiongroup_activitypub" Posts seem to be logging on SMF's end, haven't tried to access from a Lemmy client yet.
What change did you make for the edit?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Like What I do? Support me at https://www.patreon.com/vbgamer45/ The same one from earlier:
hmm i thought i added
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Like What I do? Support me at https://www.patreon.com/vbgamer45/ Related Topics
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Re: [Mod]ActivityPub Federation for SMF 2.1 | 0 | 15.26 | 21-08-2026 |
| 2 | Re: [Mod]ActivityPub Federation for SMF 2.1 | 0 | 8.29 | 21-08-2026 |
| 3 | Re: [Mod]ActivityPub Federation for SMF 2.1 | 0 | 15.26 | 21-08-2026 |
| 4 | Re: [Mod]Block Proxy VPN On Registration | 0 | 9.87 | 21-08-2026 |
| 5 | Re: Do I need to recount forum statistics? | 0 | 7.9 | 21-08-2026 |
| 6 | Mehrere Probleme in samba (SUSE) | 0 | 10 | 30-07-2026 |
| 7 | Mehrere Probleme in samba (SUSE) | 0 | 10 | 30-07-2026 |
| 8 | Fwupd 2.1.7 Released With Many Bug Fixes | 0 | 12.94 | 27-07-2026 |
| 9 | Starting the output failed. Please check log for details | 0 | 0 | 03-07-2026 |