View Full Version : gallery link in navbar only works for logged in users
December 21st, 2008, 09:51 PM
any guest gets this
same exact link works when logged in
Warning: unserialize() expects parameter 1 to be string, array given in /home/mercurym/public_html/showcase/gallery_global.php on line 72
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/mercurym/public_html/showcase/gallery_global.php on line 72
Warning: unserialize() expects parameter 1 to be string, array given in /home/mercurym/public_html/showcase/gallery_global.php on line 75
any ideas ?
December 22nd, 2008, 09:35 AM
Are you using all updated files if you upgraded recently? Lines 72 and 75 are not really matching up to anything for me. Example line 72 in the file your error states is a blank line in the default global file.
December 22nd, 2008, 09:56 AM
I tried deleting the old files and rerunning the upgrade - but the upgrade is looking for ppgal prefix on the tables and the tables dont have that prefix
where is the prefix defined ? I dont see it in config file - looks to be statically listed in misc.php
looks like I have a table named adv_settinggroup and settinggroup but no ppgal_settinggroup
Database error in vBulletin 3.7.2:
DELETE FROM ppgal_settinggroup WHERE grouptitle = 'adv_global';
MySQL Error : Table 'mercurym_vbportal.ppgal_settinggroup' doesn't exist
Error Number : 1146
December 22nd, 2008, 10:41 AM
Okay so you where not running anywhere near the current code which is why your files have not matched up.
You are downloading the proper new code from us for your vb right?
You should be using vbgallery 2.4.3 and the prefix is indeed ppgal_ if your using anywhere near our current code from 2.x forward.
December 22nd, 2008, 10:46 AM
thats the problem - tried to update the vbgallery code and it all went bad - now stuck with a mismash of versions of code and it no worky
MercuryMarauder.net Forums (http://www.mercurymarauder.net/showcase/)
MercuryMarauder.net Forums - Powered by vBulletin (http://www.mercurymarauder.net/forums/index.php)
running vb 3.7.2
dloaded vbgallery 2.4.3
at what point did the prefix change ? Is there an upgrade that would have managed that change ? perhaps an older upgrade ?
there are 4.5 gb of images in the "Old" version
December 22nd, 2008, 10:56 AM
I reverted to a backup prior to the recent mess which brought the gallery back out of the dirt ...
vbgallery shows to be 2.0 in the Installed Products list
December 22nd, 2008, 11:01 AM
Well vbgallery 2.0 will not work with vb 3.72
December 22nd, 2008, 11:05 AM
Its working fine - or so it seems - the issue is in trying to upgrade .... The upgrade complains of the missing tables due to the prefix issue earlier
Is there another process that can be done to upgrade ?
December 22nd, 2008, 11:30 AM
I would be more than happy to look at your site when its upgraded to new files and I can try and run the upgrade just send admin login to the contact us in the header on this site.
December 22nd, 2008, 12:01 PM
Uploaded the 2.4.3 code
and sent admin login - it would be nice if the system to send in admin logins was secure
December 22nd, 2008, 12:12 PM
Okay lets converse through email support now I have responded to your email.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.