PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Disappearing pictures after 514(FIXED) (http://www.photopost.com/forum/photopost-pro-installation-upgrades/115576-disappearing-pictures-after-514-fixed.html)

pengrus September 6th, 2005 09:07 AM

Disappearing pictures after 514(FIXED)
 
We did the upgrade from 5.03 to 514 yesterday and got the following reported error.

Quote:

Originally Posted by EricvZ
Oops ... this morning (after the upgrade ...) after moving 42 of my photo's from my Gallery into my albums it seems the pictures are gone ... no thumbnails available and no pictures to show ... only red crosses ...

This is one gallery it happened to ... http://www.photozo.com/album/showgallery.php?cat=4554

If i try to edit the photo to rebuild the thumbnail this is the message i get :

Warning: getimagesize(/home/photozo/public_html/album/data/4554/20050807_2365_DyedLinen.jpg): failed to open stream: No such file or directory in /home/photozo/public_html/album/image-inc.php on line 214

Warning: copy(/home/photozo/public_html/album/data/4554/20050807_2365_DyedLinen.jpg): failed to open stream: No such file or directory in /home/photozo/public_html/album/image-inc.php on line 241


Where are my picures ???


Chuck S September 6th, 2005 09:25 AM

Does that category exist on your data directory? The issue I see is it does not


Here is a link from the photo

http://www.photozo.com/album/data/45..._DyedLinen.jpg

Now the image by the upgrade script should have been renamed

http://www.photozo.com/album/data/45..._DyedLinen.jpg

Now I can't even find it in its regular format either

http://www.photozo.com/album/data/45..._DyedLinen.jpg

nor renamed with userid in front.

http://www.photozo.com/album/data/45..._DyedLinen.jpg

So I guess the question is where is the image. Basically the upgrade script is telling you it could not find these images. So they exist somewhere else and where not moved.

pengrus September 6th, 2005 09:43 AM

Chuck,

The above problem is after 514 upgrade.

Everything was ok before upgrade. There were two steps of upgrade from 5.03 to 514: 5.0x to 5.1 & 5.1 to 514.

I asked the following question in another post, and you said it was ok.
Quote:

Originally Posted by pengrus
Today I was doing the upgrade from 5.03 to 5.14. I uploaded all the files to the directory, and deleted the files not needed per the filelist, then I performed the upgrade.php.

When I did the 5.0x to 5.1, I got the following errors:


Apparently, this is because I deleted the above files. Will this cause any damage?

The next upgrade 5.1 to 5.14 went well.

There must be something happened during upgrade. Which upgrade step could it be?

Chuck S September 6th, 2005 02:06 PM

Well there is nothing that does anything to do with the pictures in 5.0 to 5.1 Basically the upgrades are pretty simply

Basically both those upgrades only change around some option settings add two fields to the cats table and remove / from the database tables. If anything try searching on disk in the old location and see if the files still exist there. If so we can go from there we just need to find out what is going on as I doubt it has anything to do with the upgrade

pengrus September 6th, 2005 02:09 PM

"add two fileds to the cats table"
will this affect anything? Which step of upgrade is it? I am afraid my 5.0x to 5.1 may miss something.

Chuck S September 6th, 2005 02:20 PM

No shouldn't at all

I would like to know more about this

Quote:

Oops ... this morning (after the upgrade ...) after moving 42 of my photo's from my Gallery into my albums it seems the pictures are gone ... no thumbnails available and no pictures to show ... only red crosses ...
He moved 42 pictures well he moves them one at a time and they he should be forwarded to the new pic after moving so I wonder why this user would not know there was an issue until after he moved all 42 pics. I don't think anything has to do with an upgrade.

can you move pictures on your install?

pengrus September 6th, 2005 02:39 PM

Chuck,

I think we are close to identify the problem. This user said he used the "manage photo" on the profile page. You may see his detailed response here:

http://www.photozo.com/forum/viewtop...=151232#151232

Thanks!

Chuck S September 6th, 2005 03:16 PM

Okay Real simple ;)

In misc.php line 1230 change the line to bold the code from INT to STRING
Code:

Content visible to verified customers only.

pengrus September 6th, 2005 04:04 PM

You are great. Yes, the fix worked. So this is a small bug?

Chuck S September 6th, 2005 05:29 PM

Yes and there is my small fix ;)

mjm September 6th, 2005 05:56 PM

We are about to upgrade from 5.13 to 5.14 ...
Should we apply this fix?

Thanks,
Mark

Chuck S September 6th, 2005 06:07 PM

yes you should


All times are GMT -5. The time now is 10:25 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97