Upgrade from .1.4.x to 1.5.10, pictures missing Upgrade from .1.4.x to 1.5.10, pictures missing
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Upgrade from .1.4.x to 1.5.10, pictures missing

Started by El Gordito, December 06, 2010, 08:51:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

El Gordito

Greetings

I had an old site running from 1.4.x. I don't know which one it was, but the last upgrade was about 1 and half years ago. I upgraded to 1.5.10, everything went well during the upgrade, not a single error. With the upgrade done, 2 things happened:

1) I can't see a single picture. The albums are there, the pictures too, but all of them appear with a "thumb_nopic.png".

2) In the config menu, this also appears:
    * The value you have set for «The content of the main page» is invalid, please review it.
    * The value you have set for «Path to ImageMagick 'convert' utility» is invalid, please review it.

My main page content is "alblist" as it always was. And I never used ImageMagick, always GD, so I don't get that either.

I've checked the config.inc.php, everything is correct. The update.php doesn't tell me anything's wrong.

Should I rebuild the entire photo gallery? I'm asking because I have limited resources in my VPS and only want to do this if it's a sure thing.

My photo gallery is located at:
www.lusowrestling.com/babes

In case it is working, be advised, it's mildly NSFW.

Thanks in advance.

Αndré

Can you please post some of your folder names? Do they have some other characters than a-z and 0-9?

I also noticed that your pictures seems not to be assigned to a user. Is your user tables still filled with all users?

El Gordito

Quote

ashleymassaro ; candicemichelle; christiehemme ;. All a-z, with pictures with a-z and 0-9.

My pictures were all uploaded by me. I used a bridge with a forum but I disabled it with this new version. I'm the only user, I think.

Αndré

Quote from: El Gordito on December 06, 2010, 09:35:39 PM
I used a bridge with a forum but I disabled it with this new version.
I'm not sure if that's the cause (honestly, I doubt that's the cause, but I simply don't know if). If you want you could try to adjust the owner_id in the pictures table to the user_id of your Coppermine user. Make a backup first for the case something goes wrong.

What happens when you upload new pictures? If it they will be displayed, what happens when you manipulate the owner_id to an id that doesn't exist?

phill104

Blimey, you've been spammed a bit - http://www.lusowrestling.com/babes/displayimage.php?album=lastup&cat=0&pid=2215#top_display_media

What process did you go through in upgrading? You followed the instructions fully? Did you uninstall all plugins first and disable the bridge first?
It is a mistake to think you can solve any major problems just with potatoes.

El Gordito

QuoteI'm not sure if that's the cause (honestly, I doubt that's the cause, but I simply don't know if). If you want you could try to adjust the owner_id in the pictures table to the user_id of your Coppermine user. Make a backup first for the case something goes wrong.

I started the photogallery without the bridge activated, so there are pictures with both of my users ID (Coppermine and the forum one). None of them show up.

QuoteWhat happens when you upload new pictures? If it they will be displayed, what happens when you manipulate the owner_id to an id that doesn't exist?

I tried to do this now, but I can't upload new ones. In "Batch add files", it says: "There are no folders inside the "albums" folder yet. Make sure to create at least one custom folder within "albums" folder and ftp-upload your files there. You mustn't upload to the "userpics" nor "edit" folders, they are reserved for http uploads and internal purposes."
But I can see the folders names there, I just can't click them. Could this be something as simple as permissions? I've tried with 644, 666, even 777, nothing worked.

QuoteBlimey, you've been spammed a bit - http://www.lusowrestling.com/babes/displayimage.php?album=lastup&cat=0&pid=2215#top_display_media

Yes, I was. That was one of the reasons we ended the photogallery. It was a solution similar to pin down a nail with an atomic bomb, but the site died altogether a few months later, we were using too many resources and couldn't afford hosts that provided the resources we needed.

QuoteWhat process did you go through in upgrading? You followed the instructions fully? Did you uninstall all plugins first and disable the bridge first?

I followed the steps described here: http://documentation.coppermine-gallery.net/en/upgrading.htm . I didn't uninstall plugins, I merely disabled them, as well as the bridge. I did this before starting the upgrade script.

El Gordito

Ok, so a colleague of mine had a look at this and apparently it is fixed. He said he changed the group owner to apache and changed the album folders permissions to 744. A few thumbnails don't appear but they can be rebuilt easily.

Thank you for your help.

Caution: If you are having a look now, the pictures are NSFW.

phill104

Glad you managed to fix it. Apache ownership causes problems for many on all sorts of scripts and for some reason hosts support seem to struggle too. Well done.

If I was in your position I would delete all the comments then apply the capcha to the comments. That should effectively hinder all but the most persistent of spammers.
It is a mistake to think you can solve any major problems just with potatoes.

El Gordito

QuoteIf I was in your position I would delete all the comments then apply the capcha to the comments. That should effectively hinder all but the most persistent of spammers.

Done and done. Thank you once again for your help.