Quote:
Originally Posted by Michael-DLR
I upgraded tonight and now I am in the same situation. Any time frame when we think we will have a fix?
Thank you,
Michael
|
I found this @ Vbadvanced.com. My personal Gallery already has this edit, but it might help.
Quote:
Quote:
Fatal error: Call to a member function on a non-object in /path/to/forums/includes/functions_gallery.php on line 1082
... un-ticking the "Descriptions" on the Gallery Settings, Main Page display, allows the front page to load up fine. Thoughts?
|
If you'll look in your includes/functions_gallery.php file for this code:
PHP Code:
global $vba_options, $stylevar, $vbulletin, $vbphrase, $show, $adv_sorturl, $catinfo, $counter, $cellwidth, $categoryperms, $showfields, $categorycache, $catopts;
Replace with:
PHP Code:
global $vba_options, $stylevar, $vbulletin, $vbphrase, $show, $adv_sorturl, $catinfo, $counter, $cellwidth, $categoryperms, $showfields, $categorycache, $catopts, $bbcode_parser;
Then find:
PHP Code:
$images['description'] = parse_bbcode2(stripslashes($images['description']), $catopts["$images[catid]"]['allow_desc_html'], $catopts["$images[catid]"]['allow_desc_bbimgcode'], $catopts["$images[catid]"]['allow_desc_smilies'], $catopts["$images[catid]"]['allow_desc_bbcode']);
Replace with:
PHP Code:
$images['description'] = $bbcode_parser->do_parse(stripslashes($images['description']), $catopts["$images[catid]"]['allow_desc_html'], $catopts["$images[catid]"]['allow_desc_smilies'], $catopts["$images[catid]"]['allow_desc_bbcode'], $catopts["$images[catid]"]['allow_desc_bbimgcode']);
And that should take care of the problem.