When using the Admin page, Search for Members, it always times out.
There's a block of print_r'd array crap at the top of the page, too:
Array
(
[mem_id] => Array
(
[db_fields] => Array
(
[0] => id_member
)
[type] => int
[range] => 1
)
[age] => Array
(
[db_fields] => Array
(
[0] => birthdate
)
[type] => age
[range] => 1
)
[posts] => Array
(
[db_fields] => Array
(
[0] => posts
)
[type] => int
[range] => 1
)
[reg_date] => Array
(
[db_fields] => Array
(
[0] => date_registered
)
[type] => date
[range] => 1
)
[last_online] => Array
(
[db_fields] => Array
(
[0] => last_login
)
[type] => date
[range] => 1
)
[activated] => Array
(
[db_fields] => Array
(
[0] => is_activated
)
[type] => checkbox
[values] => Array
(
[0] => 0
[1] => 1
[2] => 11
)
)
[membername] => Array
(
[db_fields] => Array
(
[0] => member_name
[1] => real_name
)
[type] => string
)
[email] => Array
(
[db_fields] => Array
(
[0] => email_address
)
[type] => string
)
[website] => Array
(
[db_fields] => Array
(
[0] => website_title
[1] => website_url
)
[type] => string
)
[ip] => Array
(
[db_fields] => Array
(
[0] => member_ip
)
[type] => string
)
)
Have debug code left around is embarassing... :-[
I'm still without internet connection for the main computer, so I cannot even work on the release I wanted to do. :-\
hmm...
I'm trying to test this one locally and on this forum, but I can't reproduce it.
Do you search anything specifically? age? id? user name? dates?
Name. Maybe it has something to do with having Stop Spammer installed?
hmm... where is the download of the Stop Spammer?
Here it is: https://www.elkarte.net/community/index.php?topic=4277.0
Yeah, I see the developer of this port has been active here recently, but hasn't updated this project in over a year.
https://github.com/Frenzie/elk-stop-spammer/issues/1
@kode54 Thanks for finding bugs! The not updating part mostly just means that it works well enough, partially that I "am" waiting for the release of 1.1. ;) It mostly just needs a bit of a cleanup, as also demonstrated by the print_r. The core functionality went through years of SMF-based development, so it should be fairly robust.
Was the timeout related to Stop Spammer or is the only issue the print_r I left lying around?
@kode54 can you disable the addon and try if the search works properly?
Yup, that fixes it. But I'm going to keep it enabled anyway, since it seems to be blocking spammers.
Good, then I'll move this one out. :)
Alright, I created a new release: https://github.com/Frenzie/elk-stop-spammer/releases/tag/v3.0-alpha3