PDA

View Full Version : [Fixed] Error redirecting with 'Find User' in CP in 2.3.1?


RUBiK
Thu 7th Aug '03, 3:01pm
I had initially posted this in the Announcement Discussion forum (sorry):

Seeing an error when searching for a "direct hit" username (i.e. in CP, under find user, enter full known existing username)...

Quick msg flashes by (it redirects) saying that exactly one match was found, followed by an error on line #86 of admin/adminfunctions.php file (from 'diff' output between 2.3.0 vs. 2.3.1 file):

85a86
> $gotopage = preg_replace('#(&)([a-z0-9_]+=)', '&\2', $gotopage);

Error flashes by too quick and I cannot stop the redirect to capture it, but it complains about matching a pound sign or something rather.

This causes IE to redirect/reload the entire CP in the "main" frame... showing a blank user search forum... Mozilla Firebird 1.6.1+ does not show error msg and just redirects to blank user search form...

Anyone else getting this behavior?

hyde
Thu 7th Aug '03, 3:08pm
I'm getting this too.

It gives this error.

Warning: No ending delimiter '#' found
in home/*****/*****/forum/admin/adminfunctions.php on line 86

JCC
Thu 7th Aug '03, 3:11pm
I'm getting this too.

It gives this error.

Warning: No ending delimiter '#' found
in home/*****/*****/forum/admin/adminfunctions.php on line 86

Me too.

Steve Machol
Thu 7th Aug '03, 3:51pm
I haven't had a chance to install 2.3.1 yet so I can't reproduce this. I'll move this to the Bugs forum for a Dev to check though.

Steve Machol
Thu 7th Aug '03, 4:20pm
Okay, I installed 2.3.1 and confirmed this.

Waldo
Thu 7th Aug '03, 4:24pm
Any way of fixing it yet?

RUBiK
Thu 7th Aug '03, 4:29pm
I haven't tried to fix the regexp on that code but either a) commenting out that line or b) using the 2.3.0 admin/adminfunctions.php file should work as a temporary fix... Since, aside from the '&'/'&' replacements in that file, that preg_replace line is the only change...

Do this at your own risk, though... I am not responsible for anything this may break, etc.

Steve Machol
Thu 7th Aug '03, 4:34pm
http://www.vbulletin.com/forum/showpost.php?p=508174&postcount=3

RUBiK
Thu 7th Aug '03, 4:35pm
Thanks much, Steve...