View Full Version : Failed upgrade from 1.1 to 2.1 (blank page)
December 9th, 2006, 10:35 PM
Upgraded VBulletin from 3.5.3 to 3.6.4. No issues. :)
Upgraded from VBAdvanced 2.1.0 to 2.2.1. No issues :)
Upgraded VBGallery from 1.1 to 2.1, gallery is now a blank page :(
I followed the instructions in the readme file. I modified gallery_config.php using the correct path (double checked and reverified). I uploaded the files, ran vbgallery_install.php, selected the Upgrade option, and everything seemed to go well. I got the News notice in my admincp regarding the init.php mod. Modifited init.php as specified and went to visit the gallery only to be met with a blank page :( I ran vbgallery_install.php again and tried reinstalling the templates, no change.
December 9th, 2006, 10:42 PM
And moments later, I find the problem. Apparantly it doesn't like the site-wide VBa integration (via global.php). Ugh, I really didn't want to have to edit each page individually for VBa integration. Has anyone else encountered this?
December 10th, 2006, 12:17 AM
I came up with a workaround for this, which simply excludes the integration from the problem gallery pages.
Change the global.php edit from:
if (THIS_SCRIPT != 'adv_index')
if (THIS_SCRIPT != 'gallery_search' and THIS_SCRIPT != 'browseimages' and THIS_SCRIPT != 'gallery_index' and THIS_SCRIPT != 'adv_index')
I'll add more pages to the list as they're discovered. If someone has a more elegant way around this please let me know.
December 10th, 2006, 05:36 PM
I found I didn't care for the total VBadvanced integration anyway, for example it really clutters the UserCP since that has its own sidebar. I changed my if statement above to include only the pages I DO want integrated as opposed to the pages I DON'T want as it is originally setup. Just change the "and"s to "or"s and it'll look something like this:
if (THIS_SCRIPT=='announcement' or
Works like a champ, this is exactly how I had it setup before except this way only one file needs edited (global.php). So everything is working great now :)
December 10th, 2006, 06:10 PM
This should work too.
December 19th, 2006, 07:33 PM
This should work too.
Works perfectly and much cleaner, thank you!
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.