Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic CGI.pm multi-param (Read 1210 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
CGI.pm multi-param
Nov 29th, 2017 at 1:58pm
Mark & QuoteQuote  
Error: Quote:
AdminIndex.pl: Undefined subroutine CGI::multi_param


2.7 requires the Perl Module CGI.pm to be a newer version (at least version 4) in order to avoid a different problem: Quote:
Subs.pm: CGI::param called in list context from ./Sources/Subs.pm line 1142, this can lead to vulnerabilities.


Note: some Perl installs no longer include CGI.pm as part of the core. There are various reasons for this - mostly a lot of functions that are no longer suggested or supported (for good reason).

The Module is still the best one for the particular job YaBB uses it for and YaBB has used it for many years without any issues.

If, for whatever reason, you cannot CGI.pm updated: in Subs.pm find
Code (Perl)
Select All
@value = $cgi_query->multi_param($name); 

and replace it with
Code (Perl)
Select All
@value = $cgi_query->param($name); 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
CGI.pm multi-param

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry