Bug #120

Searching for comments returns an error

Added by Francesco Kekko about 6 years ago. Updated about 5 years ago.

Status:Fixed Start date:08/10/2011
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:- Spent time: 0.50 hour
Target version:-

Description

Searching for comments returns an error page, but only with specific keywords.
For example:
  • If I search for both site comments and news comments using the keyword "kekko" (no quotes) it returns an error page with these details:

Unique error ID: 8476
Error Message: Undefined offset: 1
Category: PHP Error
Error URL: /search
Error Date: 2011-08-10 15:29:53.023566

Stack Trace

#0 In web/www/virtual/search.html on line 598
call | ytmnd_error_handler(int integer, string string, string string, int integer, array array)
595 | $result['user_link'] = user_link($site['user_name'], ($me->user_id() == $site['user_id'] ? true : false));
596 | $result['starbar'] = starbar($site['site_id'], $site['score']) . ' (' . number_format($site['score'], 2) . ')';
597 | $result['site_views'] = number_format($site['site_views']);
598 | list($date, $time) = explode(' ', $site['creation']);
599 | $result['creation_date'] = $date;
600 |
601 | $result['has_meta_data'] = false;
  • If I search for site comments only using the keyword "kekko" (no quotes) it returns an error page with the same details shown above
  • If I search for news comments only using the keyword "kekko" (no quotes) it doesn't return an error

The word kekko has been used in both site comments and news comments (examples: http://ytmnd.com/sites/920164/profile/c5839296 and http://ytmnd.com/news/109/c58635)

But if I search for comments using other keywords like gman, funny, little, or even combinations like "very funny" or "shut up", there are no errors. Trying combinations like "kekko except" or "kekko obviously" doesn't return an error either.

The errors always appear, no matter if I'm logged in or not. I also searched for comments sorting by date. It looks like the only keyword that returns an error is kekko, but I don't know for sure. It doesn't look like a problem based on usernames, I checked using keywords like umfuld, lickitwellhiem, max and there were no errors.

History

#1 Updated by Max Goldberg almost 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

This should be fixed now.

#2 Updated by david brower over 5 years ago

The comment plugin must have been not coded properly or it might be having a small bug.
andersen windows

#3 Updated by delbert lobo over 5 years ago

Max Goldberg wrote:

This should be fixed now.

Apurve Mehra

#4 Updated by Paul john over 5 years ago

Yes I agree with he above two, currently even when I have selected download "Large" as thumbnail in the scrapper settings it only downloads the thumbnail of very small (300 size) instead of original 1920x1080, also selecting download in extrafanart folder does not work online casino.

#5 Updated by john023 john023 over 5 years ago

I also searched for comments sorting by date. It looks like the only keyword that returns an error is kekko, but I don't know for sure. It doesn't look like a problem based on usernames, I checked using keywords like umfuld, lickitwellhiem, max and there were no errors www.rx247.net.

Also available in: Atom PDF