bug in memberlist.php

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
C.H.A.D.o
Registered User
Posts: 1
Joined: Mon Mar 21, 2011 10:27 am

bug in memberlist.php

Post by C.H.A.D.o » Mon Mar 21, 2011 11:00 am

Support Request Template
What version of phpBB are you using? phpBB 3.0.8
How did you install your board? I used the download package from phpBB.com
Is your board a fresh install or a conversion? Fresh Install
Do you have any MODs installed? No
Is registration required to reproduce this issue? No
What styles do you currently have installed? any
What language(s) is your board currently using? en
Which database type/version are you using? MySQL 5
What is your level of experience? New to phpBB but not PHP
Also sorry for language and that I can`t find administrator in "Issue Tracker" to register, so posted here

in memberlist.php on line 1073:

Code: Select all

			$sql_where .= ($auth->acl_get('u_viewonline') && sizeof($active) > 1 && isset($find_key_match[$active_select])) ? " AND u.user_lastvisit " . $find_key_match[$active_select] . ' ' . gmmktime(0, 0, 0, $active[1], intval($active[2]), intval($active[0])) : '';
gave sql_error if last visit will be "2000-fe-21" (example)
I change to:

Code: Select all

			$sql_where .= ($auth->acl_get('u_viewonline') && sizeof($active) > 1 && isset($find_key_match[$active_select])) ? " AND u.user_lastvisit " . $find_key_match[$active_select] . ' ' . gmmktime(0, 0, 0, intval($active[1]), intval($active[2]), intval($active[0])) : '';
in function gmmktime() month are not integer, I add intval()

I make this and with your forum, but your forum has no error
Some others forum in internet gave error, sorry admins for test :roll:

User avatar
AmigoJack
Registered User
Posts: 5615
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: bug in memberlist.php

Post by AmigoJack » Mon Mar 21, 2011 12:08 pm

You use the same account data for the tracker as for this board. I opened one.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

Locked

Return to “[3.0.x] Support Forum”