Skip to main content
Topic: [1.1.1] Admin Search for Members always times out (Read 3012 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[1.1.1] Admin Search for Members always times out

When using the Admin page, Search for Members, it always times out.

QuoteYour session timed out while posting. Please go back and try again.

There's a block of print_r'd array crap at the top of the page, too:

Code: [Select]
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
        )

)

Re: [1.1.1] Admin Search for Members always times out

Reply #1

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. :-\
Bugs creator.
Features destroyer.
Template killer.

Re: [1.1.1] Admin Search for Members always times out

Reply #2

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?
Bugs creator.
Features destroyer.
Template killer.

Re: [1.1.1] Admin Search for Members always times out

Reply #3

Name. Maybe it has something to do with having Stop Spammer installed?

Re: [1.1.1] Admin Search for Members always times out

Reply #4

hmm... where is the download of the Stop Spammer?
Bugs creator.
Features destroyer.
Template killer.

Re: [1.1.1] Admin Search for Members always times out

Reply #5

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.
Last Edit: February 21, 2018, 02:52:24 am by kode54


Re: [1.1.1] Admin Search for Members always times out

Reply #7

@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?

Re: [1.1.1] Admin Search for Members always times out

Reply #8

@kode54 can you disable the addon and try if the search works properly?
Bugs creator.
Features destroyer.
Template killer.

Re: [1.1.1] Admin Search for Members always times out

Reply #9

Yup, that fixes it. But I'm going to keep it enabled anyway, since it seems to be blocking spammers.

Re: [1.1.1] Admin Search for Members always times out

Reply #10

Good, then I'll move this one out. :)
Bugs creator.
Features destroyer.
Template killer.