View Issue Details

IDProjectCategoryView StatusLast Update
0000724XMB1Bugspublic2024-12-07 17:14
Reportermiqrogroove Assigned Tomiqrogroove  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.9.8 SP2 
Target Version1.9.12.07Fixed in Version1.9.12.07 
Summary0000724: Multiple warnings in debug mode if pid is omitted from getip request
DescriptionA read of the topicadmin.php file suggests a little tweak of the expected URL would give unexpected results.

This works as expected:

https://forums.xmbforum2.com/topicadmin.php?action=getip&fid=273&tid=777159&pid=1376506

This generates warnings:

https://forums.xmbforum2.com/topicadmin.php?action=getip&fid=273&tid=777159

Displayed text was "This user had an ip of -"
Additional Information[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: Undefined array key "useip" in topicadmin.php on line 428
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: Undefined array key "useip" in topicadmin.php on line 428
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Deprecated: gethostbyaddr(): Passing null to parameter # 1 ($ip) of type string is deprecated in topicadmin.php on line 428
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: gethostbyaddr(): Address is not a valid IPv4 or IPv6 address in topicadmin.php on line 428
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: Undefined array key "useip" in topicadmin.php on line 431
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Deprecated: explode(): Passing null to parameter # 2 ($string) of type string is deprecated in topicadmin.php on line 431
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: Undefined array key 1 in topicadmin.php on line 432
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: Undefined array key 2 in topicadmin.php on line 432
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: Undefined array key 3 in topicadmin.php on line 432
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: Undefined array key 1 in topicadmin.php on line 458
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: Undefined array key 2 in topicadmin.php on line 458
[05-Dec-2024 17:43:44 America/Los_Angeles] PHP Warning: Undefined array key 3 in topicadmin.php on line 458
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision3070
Git Commit

Activities

miqrogroove

2024-12-07 09:47

administrator   ~0000527

This bug originated in XMB 1.5.0 which dropped the threads.useip column but failed to adjust the topicadmin script accordingly. This has gone unnoticed for a very long time!

Issue History

Date Modified Username Field Change
2024-12-05 17:58 miqrogroove New Issue
2024-12-05 17:58 miqrogroove Additional Information Updated
2024-12-05 18:10 miqrogroove Status new => confirmed
2024-12-05 18:10 miqrogroove Product Version 1.9.12.06 => 1.9.8 SP2
2024-12-07 09:32 miqrogroove Assigned To => miqrogroove
2024-12-07 09:32 miqrogroove Status confirmed => assigned
2024-12-07 09:47 miqrogroove Note Added: 0000527
2024-12-07 10:30 miqrogroove Status assigned => resolved
2024-12-07 10:30 miqrogroove Resolution open => fixed
2024-12-07 10:30 miqrogroove Fixed in Version => 1.9.12.07
2024-12-07 10:30 miqrogroove SVN Revision => 3070
2024-12-07 17:14 miqrogroove Status resolved => closed