![]() |
At my wit's end... Well, I'd hoped that I'd be able to figure this out on my own, but I'm having such severe problems that I figured it's about time I start a thread. Anyway, we're currently in preparation for upgrading our website from a combination of vbPortal 3.0, vBulletin 2.3.7 and Photopost 3.3. Prior to doing this upgrade (which is happening in two weeks), I've set up a local install on my machine (a Mac running OS 10.4) to test everything out and make sure that the integration is going to go smoothly... needless to say it's been anything but smooth. I've currently upgraded my local install with vBulletin 3.5 and vbPortal 3.5 without problem... both are running well together and the integration bridge between the two is running fine... however, Photopost just does not want to play nice at all with these two other software packages. Here's the process I've gone through so far: 1. SQL dumped our Photopost 3.3 database, and reimported it into a local database for testing. 2. Copied our current Photopost directory to my local machine, along with about 20% of our photo library (the entire library is over 8GB, so copying the whole thing would be excessive). 3. Opened the new database and changed the settings variables to point to my local installation of PP 3.3, rather than the one currently on our webserver. 4. Unzipped Photopost 5.21 into a separate directory in my local webserver root directory named "gallery". 5. Edited both the config-inc.php and config-int.php (from PP 5.21) and changed the settings in those files to point to locally installed databases and directories, and also filled in the vB3.5 license so that the bridge can function. I've currently left the integration functions turned 'off'. (I figured out that turning any of these on before performing the upgrade causes you to get a blank screen when clicking 'Proceed to upgrade'). 6. I then point my browser to <my.domain>/gallery/upgrade.php, where the upgrade process begins (starting at the 3.3 upgrade). At upgrade 4.5, I get this error: Code: Content visible to verified customers only.At upgrade 4.7, I get this error: Code: Content visible to verified customers only.At upgrade 4.85, I don't really get an error, but it doesn't perform as expected. The link to click says 'Move DATA directory files (you only do this only once successfully) -->' but it only moves the files around in the old 'photos/data' directory, rather than moving them into their relative positions inside the new 'gallery/data' directory... is this normal behavior? If it's 'normal', then it's very counter-intuitive, and contrary to what one expects to happen. It then updates the filenames without a problem. The rest of the upgrade finishes as expected, with no errors, but at the last screen, you're not told what to do next, only that 'Upgrade is Complete, you can now remove the upgrade.php file'. Like... uh... do I need to go to the admin panel now or something to change any settings? No indication whatsoever, and referring back to the upgrade.txt file only says 'You're Done' as the last step... nothing to indicate any further steps either... So, figuring my next option is to go to the gallery index, I point my browser at 'gallery/index.php', and Photopost pops up, apparently working fine. I click the 'Admin' link (thinking cool, the bridge is working), and get this error: Code: Content visible to verified customers only.So, I do some searching, and discover that I should go straight to the adm-index.php file, so I try that. Up comes the login dialog, and I fill in my username and password (since I'm the admin), and click 'Submit'... and get this error: Code: Content visible to verified customers only.So, I go into the gallery database, and manually change the settings myself to point at the new installation, leaving the photos data directory pointed at the old installation (since they didn't get moved). I try the login again. Now I get this error: Code: Content visible to verified customers only.Code: Content visible to verified customers only.Once again: Code: Content visible to verified customers only.This time the 'Admin' link shows up, so I click it, and up comes a login screen. I enter my username and password, and... Once again: Code: Content visible to verified customers only.Figuring that maybe I have to turn the integration on, I go into the 'Edit Integration" pane, and select vbPortal2 Integration... apparently that's the wrong selection, because I end up with a blank screen when I attempt to go back to the gallery home page. So I click 'back' in my browser window, disable vbPortal2 Integration, and turn 'on' all three of the vBulletin 3 integration options. So now, the header and footer from vBulletin show up, and also the vbPortal Sidebar, but there's no style applied to Photopost at all... it looks really heinous... so back into the admin panel I go... I see the 'Forum Settings' link, so I click it, and lo and behold, there's some settings I haven't seen. The only problem is, they won't stick. It says that the settings have been saved, only they haven't. When the window refreshes, the old settings are still there (vb2 integration, and no stylesheet sharing). So, I go back into the database, and find the field that says 'vb2' and change it to 'vb3'... and now I can login like I'm supposed to, and it recognizes and greets me when I link into the gallery page. However, there's still no stylesheet integration, even though I have 'shared stylesheets' selected. Needless to say, at about this point, I gave up and posted here... I definitely wasn't done when the upgrade told me I was... and in fact I spent another three hours fiddling with stuff just to get basic functionality. I hate to say it, but the upgrade process for this software sucks. I upgraded to vBulletin 3.5 and everything went buttery smooth, without a single problem... and when that install said it was done, it was done!. I can't fathom why the software doesn't upgrade the database paths from the new config-inc.php variables rather than leaving them as-is. I had to go in and change these manually (which thankfully I know how to do), but if I didn't, I'd be in for a world of hurt. I supposed I should mention that I'm running PHP 5.x and MySQL 4.x, but I wouldn't think that it would matter (of course I could be wrong). If anybody managed to get through this really long post, do you have any advice (aside from me to get a life ;) ). I consider myself quite knowledgeable when it comes to this kind of stuff, but this upgrade process just has me frazzled... needless to say I'd like to have these kinks worked out before we try to go live with it in two weeks. Thanks for your input. P.S. I also tried just copying all the upgrade files to the old photopost directory on my local machine and performing the upgrade that way, but it also didn't work. I'm also unzipping the install files on the command-line with the 'unzip' utility, so hopefully permissions are preserved for most files... still, I did a chmod -R 777 * on all the files in the directory just in case (it's a local install so I'm not worried about security). |
Okay well none of your upgrade stuff seems like an issue except I will comment on 485-486 upgrade as its a little confusing what your expecting to happen. I do not understand what your doing here. Your data path must be correct in the database to point to the exact data directory to the photos and the photos must exist. The script is designed to upgrade your data directories to add 3 new directories under each data directory medium thumbs and mini and then rename and move files. So it doesnt move data to some other path on some other install. I am going to suspect you have wrong settings. Your entire issue is this! You have never yet set Photopost to use vb3 integration its still set to vb2. Go to your database settings table and setting 41 should read vb3 not vb2 and then setting 83 should read the correct vb3 database table prefix That should be the step you forgot about. :) |
Thanks Chuck, I imagine that my problem is pretty overwhelming... it sure has been for me so far. I got the integration working finally with the bridge functioning normally (see the end of my last post). You are correct about the wrong settings on the stylesheet... what happened is that vbulletin still had our website address as it's url, so it was trying to find the stylesheet for forum integration on our website, which of course didn't exist. Once I got that url changed, the stylesheet is now working. So is the 'non-stickiness' of the vb2 vs. vb3 in the forum settings a bug? Because even when i changed it in the settings it did not change anything. Everything seems to be functioning normally now, although I still would like to see the photos moved from the 'old' install directory to the new data directory (which I suspect isn't much harder than a 'mv' command along with changing the path in the database... easy enough to do on my own). This might be something to let people know about, being that I expected it to move the photos to my newly created directory... I'd hate to see somebody think the same thing, then delete their old directory (thinking the photos had been moved), and lose all their stuff. Anyway, I thank you for your input (and wading through my dilemma). I think it's time for a beer. :D |
There is no bug here. When you switch integration you must do several things most of which require backend work on the database. Your not suppose to be able nor is the product designed to just switch integrations on the fly. As far as the upgrade script its just that an upgrade script meaning it upgrades your current install it is not support to move files to some new directory. There is nothing about that upgrade that suggests we are moving files to some new data directory. In fact your the first person whom has made this assumption which it was a bit confusing to me where you thought this was suppose to happen. Yes as always you can move a directory yourself. |
| All times are GMT -5. The time now is 04:19 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0