View Full Version : Upgrading from vb3.0.3 with PP 4.8.2
November 6th, 2005, 03:47 PM
i'm currently running a big forum with VB 3.0.3 with PP 4.8.2 (14k users, 600k posts, 14k pics using 3.5GB space).
now i'm heading towards an upgrade to latest VB and latest PP.
I've currently installed some more hacks wich aren't really interesting to update.
I'm plannning to do a completely new installation of vbulletin and pp to get rid of old unneeded code modifications.
Is there a way to import pics and database stuff from old PP installation?
Is there any other things you could help me with? :-)
Thanks for any help,
November 7th, 2005, 04:51 AM
Just upgrade vbulletin and then upgrade photopost dont do a new install
December 11th, 2005, 06:06 PM
i don't really know how i will upgrade vbulletin, but it seems like doing a new install and importing posts will be the cleaner way. Will there be a way to install photopost and also do an import there of the old stuff? ( about 4 Gig of images from ~14.500 Users)
December 11th, 2005, 07:42 PM
The easiest way to upgrade Vbulletin and Photopost is to do an regular upgrade not clean installs and reimport data. That would be the hard way.
December 12th, 2005, 08:45 AM
thanks so far, Chuck.
i did the first testrun today and everything went fine on first sight.
But unfortunately the upgrade messed something up with the image-filenames.
the script is looking for filenames like:
and the filenames in my data-dir have names like
the upgrade script did some renaming - first with errors, but after fixing file permissions and reloading the upgrade script, without any more errors.
don't really know what the script did but it seems like it did something wrong.
Is there a way to redo this part or do you see any other errors in there?
December 12th, 2005, 08:53 AM
one other thing:
i can't login to the gallery admin. It brings up a login form and when i enter my data i get back to the gallery.
i just added "$cookie_domain" to the config file as it is written in the UPGRADE.TXT - and it wasn't already in there :S (shouldn't it be?)
December 12th, 2005, 09:03 AM
No cookie thing should not be there. cookie settings where thrown in the database from your config file. If they where not correct you would now need to view your settings table in phpmyadmin and correct them as needed settings 171-173
As far as upgrade and filenames it would seem to me looking at that error that you ran step 3 of the 485-486 upgrade script twice prepending the userid's to the filenames twice. If this is the case you would need to restore a backup of the photos tables and redo the upgrade only running the step once.
December 14th, 2005, 09:22 AM
thanks for you help again. I did all the update again, but there's still one problem left.
In the last step of the upgrade i get this error:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/******/public_html/galerie/pp-inc.php on line 2908
and then on the page:
Warnung: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /galerie/forums/vb3.php (Zeile 351)
Warnung: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /galerie/pp-inc.php (Zeile 2931)
Also the categories get mixed up - there seems to be a problem with the database upgrade in last step!?
Any help appreciated.
EDIT: and i'm still not able to login to the admin.
One other question: is there a possibility to lock the gallery with the forums? currently my forums are locked for all users but admins, but the gallery doesn't seem to be locked.
December 15th, 2005, 03:47 AM
any help with that?
December 15th, 2005, 09:19 AM
Hello You did not run all the necessary upgrades you needed. Your missing usergroups table field. I guess the question here is which one?
Basically your missing from what I can say either you did not run the 4.5 4.67 4.7 4.82 upgrades which one did you miss?
December 15th, 2005, 11:18 AM
i think i missed the first one (4.8.2) , just because i didn't run after the first time. The first time it worked but therafter nothing happened. May i try this update alone? Apart from all the other again?
Who cares... it's just a testinstallation - i will try :)
December 15th, 2005, 11:19 AM
hmm ****, nothing happens. it just reloads the page in a second, and does nothing like it seems :(
December 15th, 2005, 11:31 AM
Just run 4.82
Interesting try this in the upgrade script add the line in bold and run 482 upgrade
define( 'THIS_SCRIPT', "upgrade" );
December 15th, 2005, 12:29 PM
great, Chuck - that worked.
Thanks a lot for your help!
Let's hope everything works fine tomorrow night - i will give you a look to the ready made upgrade :)
December 15th, 2005, 12:34 PM
just saw the other bug again :(
i still can't reach the gallery admin area.... any ideas?
December 15th, 2005, 12:36 PM
check your cookie prefix setting not a bug here ;)
December 15th, 2005, 03:32 PM
thanks *headbang* should have known this :( too much upgrading stuff during the last days :)
Thanks for your great help again
December 15th, 2005, 03:34 PM
just one other thing left: how can i disable usergroups from viewing the gallery? I can e.g. avoid guests from uploading, but not from viewing?
That would be a great need for the future :)
December 15th, 2005, 04:36 PM
Yes you can set under edit categories what usergroups can view upload post etc for cat ;)
December 15th, 2005, 04:45 PM
thanks i will try this.
December 16th, 2005, 04:52 AM
hmm chuck am i right? There's no possibility to lock the gallery with the forums or simply lock the gallery with one switch - probably for upgrading?
December 16th, 2005, 04:55 AM
Lock the gallery?
You mean close it in admin global options you can turn it off
December 16th, 2005, 05:00 AM
ok... just found it :) think i was a bit too blind :D
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.