Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: photos gone after upgrade.  (Read 7919 times)

0 Members and 1 Guest are viewing this topic.

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
[Solved]: photos gone after upgrade.
« on: March 17, 2008, 07:51:31 am »

Hi,

I have upgrade the gallery to the latest available version from 1.3.x and now all the photos gone.

any reason?

Ali
« Last Edit: March 17, 2008, 05:18:54 pm by Joachim Müller »
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: photos gone after upgrade.
« Reply #1 on: March 17, 2008, 07:55:09 am »

post a link to your gallery for a start
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
Re: photos gone after upgrade.
« Reply #2 on: March 17, 2008, 07:59:56 am »

post a link to your gallery for a start

Code: [Select]
http://www.saxophonestocollect.com/gallery/
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: photos gone after upgrade.
« Reply #3 on: March 17, 2008, 08:11:32 am »

You obviously failed to upgrade as we suggested. As we can't know what you actually did (you failed to post the steps you made), we can't tell you what went wrong. Seems like you performed a fresh install instead of upgrading - the pics don't exist in the location where they used to exist.
Logged

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
Re: photos gone after upgrade.
« Reply #4 on: March 17, 2008, 08:16:36 am »

You obviously failed to upgrade as we suggested. As we can't know what you actually did (you failed to post the steps you made), we can't tell you what went wrong. Seems like you performed a fresh install instead of upgrading - the pics don't exist in the location where they used to exist.

actually the old gallery had a virus on the hosting server due to some reason and those files got deleted. I had to do a fresh install and copy mysql inserts into the new db. which went fine. I also copied the album files/images on the same location.

Also I did the same practise on another site which worked perfectly fine. but not working fine here.

Please advise.

Ali
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: photos gone after upgrade.
« Reply #5 on: March 17, 2008, 08:45:16 am »

I also copied the album files/images on the same location.
Well, the files are not where they are supposed to be, so you must have done somthing wrong when moving the files back to the server. My advice is: restore the files where coppermine expects them to be. As an example: the image embedded into http://www.saxophonestocollect.com/cpg1416/displayimage.php?pos=-122 is suppossed to reside at http://www.saxophonestocollect.com/gallery/albums/userpics/10002/1.bmp, but it doesn't reside there - you have failed to restore the file where it is suppossed to. As expected, the thumb/intermediate/full-size are not being displayed - simply because the file that the database record points to doesn't exist.

actually the old gallery had a virus on the hosting server due to some reason and those files got deleted.
So you finally got hacked? We have told you so many times. Now finally your site got hacked because of your reluctance to upgrade. That's bad for you, however I must admit that I have to comment "we told you so".
Logged

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
Re: photos gone after upgrade.
« Reply #6 on: March 17, 2008, 08:52:35 am »

ohh. I see I have made a big mistake. I will resolve it first.

regarding the hack, can you link me to the post you have mentioned about it?

if you go it http://www.saxophonestocollect.com/gallery_old/ and have antivirus enabled, it alerts you for a virus blocking.

but this issue is also with our other files like, html homepage etc.

Please advise if you can.

Thanks
Ali
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: photos gone after upgrade.
« Reply #7 on: March 17, 2008, 09:20:44 am »

Use your FTP app to make a backup of http://www.saxophonestocollect.com/gallery_old/albums/ - copy all files that reside within that folder to a temporary folder on your desktop client. Then clean the content of that local folder - make sure that there are no executable files there and no script files - all files there should be images, none of them can be PHP, Perl, JavaScript, HTML or similar files. If you're sure that the local copy is clean (i.e. only images reside in the local copy), upload them to http://www.saxophonestocollect.com/gallery/albums/ Don't rely on your local virus scanner only - it will not clean that folder!
Logged

hozyali

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 109
  • HozyAli
    • Starcom Hosting
Re: photos gone after upgrade.
« Reply #8 on: March 17, 2008, 09:40:18 am »

Use your FTP app to make a backup of http://www.saxophonestocollect.com/gallery_old/albums/ - copy all files that reside within that folder to a temporary folder on your desktop client. Then clean the content of that local folder - make sure that there are no executable files there and no script files - all files there should be images, none of them can be PHP, Perl, JavaScript, HTML or similar files. If you're sure that the local copy is clean (i.e. only images reside in the local copy), upload them to http://www.saxophonestocollect.com/gallery/albums/ Don't rely on your local virus scanner only - it will not clean that folder!

Thank you for your advise. I have resolved the images not appearing issue. The mistake I made was uploading wrong sql inserts in mysql. Actually I have several websites using CPG with same theme but different topics. so I removed the inserts I made wrong from phpmyadmin and uploaded the correct ones. Now the new gallery works perfect.

Thank you.

Ali
Logged
Pages: [1]   Go Up
 

Page created in 0.887 seconds with 19 queries.