PDA

View Full Version : Upgrading from 4.x version to 10.x version Issue


Tripster
07-04-2007, 06:38 PM
Ok, I had to disable the gallery for a spell since somehow hackers managed to setup a PayPal phishing site under vbpg_images.

So today I finally have some time to update this thing, going well except when I go to do the final step of running updtvbpgfs.php

Page: 1 of 4

Fatal error: Call to undefined function: verify_attachment_path() in /home/ofclan/ofclan.net/forums/admincp/updtvbpgfs.php on line 138

Umm, we seem to be missing a function guys ... now what?

Tripster
07-04-2007, 07:11 PM
Never mind, updating to 10.0.4 from 10.0.3 fixed that :)

Big Dan
07-04-2007, 07:13 PM
Hi Tripster,

php is really Noppid's realm. I'm just wondering why are you running updtvbpgfs.php? Doesn't that just move the images into the file system? If you leave the images in the database you should be fine.

Against this is just a wild poke in the dark. :)

-Dan

Tripster
07-04-2007, 07:57 PM
When I installed first time I used the file system as the base storage for the images (databases aren't the best for that type of thing), so as part of the update Noppid has redone the file storage system to be a bit more efficient by the looks of things (good job) and as a result it requires the script to be run to move the old images into their new respective locations.

I also took the opportunity to move vbpg_images outside the web root so the hackers can't use it as a Paypal site again .. yikes that was scary :)

Big Dan
07-04-2007, 08:17 PM
When I installed first time I used the file system as the base storage for the images (databases aren't the best for that type of thing), so as part of the update Noppid has redone the file storage system to be a bit more efficient by the looks of things (good job) and as a result it requires the script to be run to move the old images into their new respective locations.

I also took the opportunity to move vbpg_images outside the web root so the hackers can't use it as a Paypal site again .. yikes that was scary :)

Ahh, I gotcha now. :) I too use file system storage on both my VBPG installs. I also use it for attachments, avatars, and the like.

Greg
07-05-2007, 12:14 PM
Good deal, glad that worked out. Putting the images above the web root is the best case scenario.

The code errors were due to the vB 3.6.6 upgrade. It changed a class we were using. The new way is actually more efficient for us.

Tripster
07-05-2007, 01:51 PM
One thing I've noticed in this version .. when you go to "edit gallery" you get a presentation of Gallery Name, Subject, Type, Text Description which are presented as form boxes, however there is no submit button to change these fields.

Also on Gallery Home the Recently Modified Galleries doesn't seem to be picking up on new pictures in old galleries, it will show recently created galleries but doesn't bump old galleries to the top when new pics get added, this used to work like that.

Greg
07-05-2007, 03:22 PM
Put up some links so we can look.

Tripster
07-05-2007, 03:36 PM
Ok, I opened it up to unregistered users so you can check it :)

http://www.ofclan.net/forums/vbpicgallery.php?

Just minor issues, my users are just happy I brought the gallery back for them :)

Tripster
07-05-2007, 04:12 PM
Hmm, maybe I'm missing a switch somewhere?

Ok, I have 3 galleries under my user name, one is brand new I created yesterday after the upgrade to test things and post some different pics. It shows on the new galleries list and recently modified.

One of my old galleries I posted some new pics into today and it does not show under the recently modified.

However, now I see another user (piro) has added a couple new pics to his old gallery and it DOES show under recently modified. Weird.

Usually the galleries that get new pics get bumped to the top of the recently modified, a few others have been adding pics and not getting bumped up.

Tripster
07-06-2007, 02:36 PM
Ok, confirmed, this isn't working as it should, another admin posted some new pics to her gallery and it did not get bumped up on recently modified.

If you check the "Gallery List" you will see the new pics she posted as the recent thumbs but you'll see that it does not list the gallery as recently modified.

Tripster
07-06-2007, 10:35 PM
Here is an example of the issue ...

http://www.ofclan.net/forums/vbpicgallery.php?do=hall&u=23

Last upload = Today
Last activity = 05-27-2007

So the activity isn't getting bumped I would guess.

Greg
07-07-2007, 01:28 PM
I'm making a note and will look at the code next week.