Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic Unable To Open Some Posts (Read 118 times)
 
Paste Member Name in Quick Reply Box Derek Bullock
New Member
*
Offline


I Love YaBB!

Posts: 44
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Unable To Open Some Posts
Reply #6 - May 29th, 2018 at 3:40am
Mark & QuoteQuote  
The second } was missing.  Phew.  Looks like can see all posts now
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2120
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Unable To Open Some Posts
Reply #5 - May 29th, 2018 at 3:31am
Mark & QuoteQuote  
In YaBBC.pm lines 379 to 386 should look like:
Code (Perl)
Select All
     foreach ( split /[ ]+/xsm, $attribut ) {
         my ( $key, $value ) = split /=/xsm;
         if ($key) {
             $value ||= q{};
             $value =~ s/[\x22\x27]//gxsm;
             $parameter{$key} = $value;
         }
     }
  

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
New Member
*
Offline


I Love YaBB!

Posts: 44
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Unable To Open Some Posts
Reply #4 - May 29th, 2018 at 3:24am
Mark & QuoteQuote  
Now getting this error message and cannot open the forum at all.

Attempt to reload Sources/YaBBC.pm aborted.
Compilation failed in require at ./Sources/Subs.pm line 3261.
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2120
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Unable To Open Some Posts
Reply #3 - May 29th, 2018 at 3:15am
Mark & QuoteQuote  
Okay in that section replace
Code (Perl)
Select All
        $value ||= q{};
         $value =~ s/[\x22\x27]//gxsm;
         $parameter{$key} = $value; 


with
Code (Perl)
Select All
        if ($key) {
             $value ||= q{};
             $value =~ s/[\x22\x27]//gxsm;
             $parameter{$key} = $value;
         } 

  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
New Member
*
Offline


I Love YaBB!

Posts: 44
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Re: Unable To Open Some Posts
Reply #2 - May 29th, 2018 at 2:17am
Mark & QuoteQuote  
Now getting the following:

An Error Has Occurred. Use of uninitialized value $key in hash element at Sources/YaBBC.pm line 383.
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2120
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Unable To Open Some Posts
Reply #1 - May 29th, 2018 at 1:56am
Mark & QuoteQuote  
In YaBBC.pm find
Code (Perl)
Select All
        $value =~ s/[\x22\x27]//gxsm; 


add
Code (Perl)
Select All
        $value ||= q{}; 

above it.

Note: since I don't have a copy of the original post that's having problems and knowing this section of code deals with setting an alt tag for an image, Isuspect there are img links with bad alt declarations. The above should fix that. (If it does then this fix will go into the SVN.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Derek Bullock
New Member
*
Offline


I Love YaBB!

Posts: 44
Joined: Feb 12th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Virgo
Unable To Open Some Posts
May 28th, 2018 at 10:47pm
Mark & QuoteQuote  
On some posts I am unable to open them.

Getting this message

An Error Has Occurred. Use of uninitialized value $value in substitution (s///) at Sources/YaBBC.pm line 381.
« Last Edit: May 29th, 2018 at 1:37am by Derek Bullock »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google Google+ LinkedIn reddit StumbleUpon Twitter Yahoo
Unable To Open Some Posts

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