[RESOLVED]Advanced Search

Started by Spiff-O-Matic, November 07, 2011, 05:40:29 AM

previous topic - next topic
Go Down

Spiff-O-Matic

November 07, 2011, 05:40:29 AM Last Edit: December 31, 1969, 04:00:00 PM by Guest
Is this working properly? I would assume a basic search like the link below would come up with something.

http://www.shmax.com/search/1?searchterm=&part_filter[]=1&sku_man=&sku_package_type=&sku_toyline=196&sku_toyline=196&form_id=2&form_id=99&form_id=6&form_id=6&mold_id=&faction_name=&colors_p[]=1&colors_p[]=2&colors_exact=&date_after=&date_before=&r=0&Submit=Search&browse=0

engledogg

#1
November 07, 2011, 08:29:23 AM Last Edit: December 31, 1969, 04:00:00 PM by Guest
I think it's an error of some sort.  On the left, I'm assuming that warning sorta killed the results:

(Monday 7th of November 2011 08:28:36 AM): [Warning] trim() expects parameter 1 to be string, array given in file: /var/www/vhosts/shmax.com/includes/util/common.php (395)

Even if you fill in all known information about a certain figure, like G1 Assortment 1 Jazz, for example, you still get the warning and no results:

http://www.shmax.com/search/1?searchter ... mit=Search

MIKE
engledogg
Dumba$$ that used to buy everything...not so much anymore.

shmax

#2
November 07, 2011, 10:00:46 AM Last Edit: December 31, 1969, 04:00:00 PM by Guest
Yikes, that's probably been broken for months. I'll get on it after work... thanks, guys.

shmax

#3
November 07, 2011, 06:59:53 PM Last Edit: December 31, 1969, 04:00:00 PM by Guest
Should be fixed, now. Good catch, thanks, guys.

engledogg

#4
November 07, 2011, 07:13:17 PM Last Edit: December 31, 1969, 04:00:00 PM by Guest
The warning seems to be fixed, but there still doesn't seem to be any results.  I think I pretty much traced that Jazz search down to his specifications (getting mold info, form info, colors, etc. correct), but he didn't show up in that search.

Also, on the Jazz results, when you click on the green Show All link, you get this:

Fatal error!!


The green Show All link does generate results for spliff's example, though.

MIKE
engledogg
Dumba$$ that used to buy everything...not so much anymore.

shmax

#5
November 07, 2011, 10:56:07 PM Last Edit: December 31, 1969, 04:00:00 PM by Guest
I've fixed the "Show All" link. I'll look into the rest of it tomorrow... thanks, guys.

Spiff-O-Matic

#6
November 11, 2011, 05:41:43 AM Last Edit: December 31, 1969, 04:00:00 PM by Guest
Still not fixed? What, do you have a life outside Shmax? C'mon man! ;)

shmax

#7
November 11, 2011, 10:54:01 AM Last Edit: December 31, 1969, 04:00:00 PM by Guest
Fixed! Thanks for the bug and the bump.

Spiff-O-Matic

#8
November 11, 2011, 11:07:07 AM Last Edit: December 31, 1969, 04:00:00 PM by Guest
You are awesome!

shmax

#9
November 11, 2011, 06:20:40 PM Last Edit: December 31, 1969, 04:00:00 PM by Guest
Quote from: "spliffdizzle"
You are awesome!
At last, I have it in writing! Come on, dot matrix, don't fail me now...

Go Up