Announcement

  •  » Beta testing
  •  » RV Akismet + Comment on Albums = error

#1 2014-03-13 10:56:53

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

RV Akismet + Comment on Albums = error

Hi rvelices and mistic,

When used both, I get the following fatal error:

Notice: Undefined index: image_id in plugins/rv_akismet/check.inc.php on line 15
Piwigo encountered an unrecoverable error

make_picture_url: image_id is a required parameter

#1    make_picture_url include/functions_url.inc.php(206)
#2    duplicate_picture_url plugins/rv_akismet/check.inc.php(15)
#3    akismet_user_comment_check plugins/rv_akismet/main.inc.php(39)
#4    akismet_user_comment_check_wrapper ()
#5    call_user_func_array include/functions_plugins.inc.php(286)
#6    trigger_event plugins/Comments_on_Albums/include/functions_comment.inc.php(153)
#7    insert_user_comment_albums plugins/Comments_on_Albums/include/coa_albums.php(140)
#8    include plugins/Comments_on_Albums/include/events.inc.php(13)
#9    coa_albums ()
#10    call_user_func_array include/functions_plugins.inc.php(336)
#11    trigger_action include/page_header.php(104)
#12    include index.php(357)

Piwigo version: 2.6.1
RV Akismet version: 2.6.a
Comments on Albums version: 2.2.1
PHP version: 5.3.2
MySQL version: 5.1.61

Offline

 

#2 2014-03-13 11:29:56

rvelices
Former Piwigo Team
2005-12-29
1960

Re: RV Akismet + Comment on Albums = error

mistic has made the changes under svn. I need to update the version in main.inc.php and publish the new version.

Offline

 

#3 2014-03-13 18:49:03

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: RV Akismet + Comment on Albums = error

Yes I used the same 'user_comment_check' trigger which not provide image_id but category_id
and gives 'album' as a third parameter

previously I used 'user_comment_check_album' but if devs are not aware of that, antispams are not active on albums
now they are notified (via un ugly PHP error......)

Offline

 

#4 2014-03-15 15:07:26

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: RV Akismet + Comment on Albums = error

OK, I've updated to version 2.6.b, but here is a warning on guestbook form submission:

Notice: Undefined index: website_url in plugins/rv_akismet/check.inc.php on line 35

Offline

 
  •  » Beta testing
  •  » RV Akismet + Comment on Albums = error

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact