coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: Xavier Francis on September 12, 2006, 06:17:23 PM

Title: After upgrading images images no longer visible
Post by: Xavier Francis on September 12, 2006, 06:17:23 PM
Hello,

On the server several Coppermine albums are running.  Until now there was no problem.  Previous upgrades did well.
Coppermine is part of Fantisco on my server.

The last upgrade was form 1.4.6 to 1.4.8.  After the upgrade the images are no longer visible.  I did an upgrade of the database and everything seems ok.  No error messages. 
the links to the images are displayd but the images doesn't appear.
I've checked the server and the images haven't moved.

I don't know if this error has already been discussed.  Sorry, if so.

Does anyone knows the sollution for this problem.

Greetings,
Xavier
www.debeerst.com
Title: Re: After upgrading images images no longer visible
Post by: Sami on September 12, 2006, 06:30:29 PM
If you do Search for fantastico (http://forum.coppermine-gallery.net/index.php?action=search2&search=fantastico) on this board you'll find more than 300 post (issue)
All because of using Fantastico Autoinstaller script
Take my advice and do upgrade to most recent version (recently 1.4.9 ) as upgrading documentation (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14) said
you can find download link from top menu
Title: Re: After upgrading images images no longer visible
Post by: Joachim Müller on September 12, 2006, 06:32:37 PM
bmossavari beat me to it - he posted while I was typing. Submitting anyway:
That's why we tell everybody that auto-installers like Fantastico suck, because they are buggy and outdated. Has been discussed many times over, searching the board before posting would have helped. Don't use Fantastico in the future. Upgrade as suggested in our documentation.
When trying to access an image where coppermine expects it to be (e.g. http://www.mindex.be/astronomy/albums/astrophotography/backyard/thumb_polution_03_s.jpg), I get redirected to http://www.anamorfose.be/, so I guess there's something fishy with your redirectors. Review them, or ask your webhsot for support.
Title: Re: After upgrading images images no longer visible
Post by: Xavier Francis on September 12, 2006, 06:52:39 PM
Thank you for your replies.

There is someting strange happening with the sites and the server.  As you stated all the images on the websites are no longer visible.  Not only in the Coppermine sites but also in the html-sites.
So the problem must be with the redirects.

I will contact my hosting company.

Next time I will upgrade manually as explained in the manual and no longer use Fantastico

Thank you for your support.

Xavier
Title: Re: After upgrading images images no longer visible
Post by: Xavier Francis on September 12, 2006, 07:22:16 PM
Problem solved! :D

because of the massive download (750mb each day) of images from my websited my hosting company installed a hotlink protection on the images.
They didn't inform me.  :-[

Removing the hotlink protection and the problems are solved.

Anyway thank you very much for pointing me to the sollution. :)

Xavier
www.debeerst.com
Title: Re: After upgrading images images no longer visible
Post by: Joachim Müller on September 12, 2006, 11:13:07 PM
Glad this worked as expected. You should come up with a custom hotlink solution - bandwidth theft is a serious issue these days, I can understand that your webhost is trying to implement hotlink protection. Create a .htaccess file with this contentRewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mindex.be(/)?.*$     [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://mindex.be/images/stolen.gif [R,NC]
and save it into the albums folder of your install. Adjust http://mindex.be/images/stolen.gif in above example - it should point to an image similar to the one you get when trying to access my personal site and running into my hotlink protection:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fosterburken.net%2Fimages%2Fstolen.gif&hash=3b3d2e336388eafa0e2c623b3d44dba89b5bf588)
Title: Re: After upgrading images images no longer visible
Post by: Xavier Francis on September 12, 2006, 11:47:25 PM
Thank you very much for the idea and the script.  will use it.