Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 11
C
stranger
stranger
C Offline
Joined: Dec 2003
Posts: 11
When "Browsing Community Directory" I get errors using 6.7 beta.

Number of Posts
Quote
Can't use string ("member_directory_sort_POSTCOUNT") as a symbol ref while "strict refs" in use at CGIPath/ubb_profile.cgi line 1584.
Code
 			@sorted[ $sp .. $ep ] = sort $method @sorted[ $sp .. $ep ];
		} # end foreach
 
Display Name
Quote
Can't use string ("member_directory_sort_PDN") as a symbol ref while "strict refs" in use at CGIPath/ubb_profile.cgi line 1725.
Code
 			if($order[$orderdex] ne chr(255)) {
				@sorted[ $sp .. $ep ] = sort $method @sorted[ $sp .. $ep ]; 
Any idea how I'm to fix these errors? <img src="https://www.ubbcentral.com/boards/images/graemlins/confused.gif" alt="" />

Thanks!

Joined: Dec 2003
Posts: 11
B
stranger
stranger
B Offline
Joined: Dec 2003
Posts: 11
Try what I have suggested on your other post, although it works well for me the way it is..
replace in both of those cases
Code
sort $method
with
Code
sort &stringsort($a, $b, $in{sorder})

Joined: Dec 2003
Posts: 11
C
stranger
stranger
C Offline
Joined: Dec 2003
Posts: 11
Thanks for answering so fast, LK. Also for doing so in both places I posted. <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />

I do believe my ISP is being slow to upgrade Perl. <img src="https://www.ubbcentral.com/boards/images/graemlins/mad.gif" alt="" />

I'll try that out later... but now I hear "real life" calling. eek

Joined: Dec 2003
Posts: 11
C
stranger
stranger
C Offline
Joined: Dec 2003
Posts: 11
Tried that fix and got this at the Top of Member's Directory:

[Sun Dec 28 00:08:33 2003] ultimatebb.cgi: Array found where operator expected at /usr/local/lib/httpd/cgi-bin/mmartian/marzubb/ubb_profile.cgi line 1584, at end of line [Sun Dec 28 00:08:33 2003] ultimatebb.cgi: (Missing operator before ?) [Sun Dec 28 00:08:33 2003] ultimatebb.cgi: Array found where operator expected at /usr/local/lib/httpd/cgi-bin/mmartian/marzubb/ubb_profile.cgi line 1726, at end of line [Sun Dec 28 00:08:33 2003] ultimatebb.cgi: (Missing operator before ?)

Code
(RequireCode) CGIPath/ubb_profile.cgi: syntax error at CGIPath/ubb_profile.cgi line 1584, near ") @sorted"
syntax error at CGIPath/ubb_profile.cgi line 1726, near ") @sorted"
and after uploading the original ubb_profile.cgi the problem seems to be almost gone. The "Member's Number" works and the "Display Name" works most of the time.

*shrug* <img src="https://www.ubbcentral.com/boards/images/graemlins/confused.gif" alt="" />

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Stilgar, you just like breaking things don't you <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> ...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 11
C
stranger
stranger
C Offline
Joined: Dec 2003
Posts: 11
It's a gift... :rolleyes:

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Isn't "the gift" that movie about the gay guy who wanted aids? sheesh! what a gift :x...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 11
C
stranger
stranger
C Offline
Joined: Dec 2003
Posts: 11
eek

Um... this is being handled in the Bugs forum so if a Moderator wanted to delete this thread... please do... before this topic goes way out of hand. eek


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
1 members (1 invisible), 304 guests, and 96 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)