Announcement

#1 2021-12-10 16:36:17

maxima
Member
2021-11-26
24

Whois Online

Hi

Does any new plugin work at all (everyone has bugs).

Whois Online - https://piwigo.org/ext/extension_view.php?eid=279

When you click on Monitor

Notice: A non well formed numeric value encountered in C:\AppServ\www\avs\plugins\whois_online\config.php on line 148

When you click on Radar Report (below):

hostip.info{ ': provides newcomers\' localization and possibly new country flags, thanks to them.'|@translate}

geoiptool.com{ ': provides IP geolocalization on request (link on flag). Useful for unknown countries.'|@translate}

Then clik on Recents (less 24h):

Fatal error: Uncaught Error: Call to undefined function fetchRemote() in C:\AppServ\www\avs\plugins\whois_online\include\wo_admin_functions.inc.php:61 Stack trace: #0 C:\AppServ\www\avs\plugins\whois_online\reload.php(104): whois_country(Array, false) #1 {main} thrown in C:\AppServ\www\avs\plugins\whois_online\include\wo_admin_functions.inc.php on line 61

Offline

 

#2 2021-12-10 18:57:40

erAck
Only trying to help
2015-09-06
2026

Re: Whois Online

In plugins/whois_online/include/wo_admin_functions.inc.php there seems to be an
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
lacking, which defines function fetchRemote().

Anyway, that call to fetchRemote() is already 6 years in, maybe includes were moved around later.

Btw, in general it could help if you indicated which version of a plugin you use. e.g. here 12.b as of today 2021-12-10, or 12.a as of 2021-11-26, or any older..

As for "Notice: A non well formed numeric value encountered" that's because $whois_status['size'] contains a string of number+' bytes' unit. However, that might work, but the PHP E_NOTICE error_reporting shouldn't be active (at least not with display_errors) on a production site anyways.


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2021-12-10 20:46:45

maxima
Member
2021-11-26
24

Re: Whois Online

Used new whois_online_12.b and Piwigo 12.1.0

Last edited by maxima (2021-12-10 20:48:26)

Offline

 

Board footer

Powered by FluxBB

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