« Project home page
my little forum
Log in
Register
Search:
Back to the entry by Auge
Post reply
Reply to the message by
Auge
Name:
E-mail:
(optional, won't be displayed directly)
Leave this field empty:
Homepage:
(optional)
Leave this field empty:
Location:
(optional)
Remember me (cookie)
Category:
General
Project organisation
Technics
Design/Themes
Features
Development
Todo
Bugs
German / Deutsch
Spanish / Español
French / Français
Accessibility/UX
Subject:
Formatting help
skip to input
format text bold
[b]bold text[/b]
format text italic
[i]italic text[/i]
insert hyperlink
[link=http://example.com/]link text[/link] / [link]http://example.com/[/link]
set text color
[color=#rgb]colored text[/color]
font size
[size=small]small text[/size]
[size=large]large text[/size]
insert list
[list][*]list item[/list]
insert image
[img]http://example.com/image.jpg[/img]
left: [img=left]http://example.com/image.jpg[/img]
right: [img=right]http://example.com/image.jpg[/img]
thumbnail: [img=thumbnail]http://example.com/image.jpg[/img]
thumbnail left: [img=thumbnail-left]http://example.com/image.jpg[/img]
thumbnail right: [img=thumbnail-right]http://example.com/image.jpg[/img]
upload image
upload image ...
insert TeX code
[tex]TeX code[/tex]
insert code
[inlinecode]code[/inlinecode]
[code]code[/code]
[code=css]code[/code]
[code=html]code[/code]
[code=javascript]code[/code]
[code=perl]code[/code]
[code=php]code[/code]
[code=sql]code[/code]
[code=xml]code[/code]
:-)
;-)
:-P
:-D
:-|
:-(
:yes:
:no:
:ok:
:lol:
:lol2:
:lol3:
:cool:
:surprised:
:angry:
:crying:
:waving:
:confused:
:lookaround:
:clap:
:love:
:tick:
Message:
> Hello > > > Fatal error: Uncaught Error: Call to a member function getResponse() on null in .../svenska-lok.se/httpd.www/forum/modules/akismet/akismet.class.php:250 … > > Following the trace of the error messages, my first check was to [link=https://akismet.com/development/api/#verify-key]validate my key[/link] to exclude that Akismet possibly is classifying the forum software as a non-personal use (this is the condition for free use of Akismet). The Akismet-API provides a method to do this and even without coding the check one can perform it with a tool like [link=https://insomnia.rest/]Insomnia[/link] or [link=https://www.postman.com/]Postman[/link] (to name an open source project and a commercial product). At least my API-key is valid. > > In the second step I searched for the source of the plugin, that we use. Our plugin is meanwhile [i]very[/i] old (from the comment box: "Akismet [b]PHP4[/b] class"). The version information, provided in the comment box of [link=https://github.com/My-Little-Forum/mylittleforum/blob/20220803.1/modules/akismet/akismet.class.php#L30]the plugin script file[/link] is v0.3.4, created in the year 2008. The link to the project page is dead, even the page, the project page is forwarded to, is dead. > > I found an [link=https://github.com/ulsdevteam/pkp-akismet]Akismet-plugin for "OJS/OMP"[/link] ([link=https://en.wikipedia.org/wiki/Open_Journal_Systems]Open Journal System[/link] for scientific journals), written in PHP (licence GPL 2 or later) with the latest commit in february 2022. I have no clue if it would be worth the effort to port it to our needs. > > The [link=https://github.com/search?l=PHP&o=desc&q=Akismet&s=updated&type=Repositories]search for "Akismet" on Github[/link] (selected language: PHP, ordered descending by the latest commit) provides several possibilities. > > But also the API documentation provides code examples, written in PHP (in example for [link=https://akismet.com/development/api/#comment-check]checking comments/entries[/link]) (but also simple examples for other interesting purposes like checking for (not) reaching a monthly [link=https://akismet.com/development/api/#usage-limit]usage limit[/link]). > > Generally I found many similarities between the code in our repository and the example code in [link=https://akismet.com/development/api/#comment-check]the API-documentation[/link]. The API seems to be very stable over the years. But the error message, provided by Tommy, states clearly, that there is an error in [link=https://github.com/My-Little-Forum/mylittleforum/blob/20220803.1/modules/akismet/akismet.class.php#L250]line 250 of the Akismet class file[/link]. > > Tschö, Auge
E-mail notification on reply of this posting
OK - Submit
Preview