Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Problem with Top Rated Page  (Read 4007 times)

0 Members and 1 Guest are viewing this topic.

Warped-Photography

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Problem with Top Rated Page
« on: November 30, 2004, 08:30:26 pm »

When you click on my top rated page, it does not show what rating the photo's have been given. Instead you get a failed image icon (box with a red cross in it)

See it here

http://www.warped-photography.co.uk/gallery/thumbnails.php?album=toprated&cat=0
« Last Edit: December 02, 2004, 10:17:00 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Problem with Top Rated Page
« Reply #1 on: November 30, 2004, 09:34:10 pm »

Have you modified the theme? The images src is currently pointing to http://www.warped-photography.co.uk/gallery/themes/hardwired%20shop/images/rating5.gif That goes to a 404 and results in (https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.warped-photography.co.uk%2Fgallery%2Fthemes%2Fhardwired%2520shop%2Fimages%2Frating5.gif&hash=e56e26c47383395124b93a03d6a804bd0080ed93). (if viewing in Firefox, nothing will show but IE will show an X).

I changed the address to the correct folder and: http://www.warped-photography.co.uk/gallery/themes/hardwired/images/rating5.gif or (https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.warped-photography.co.uk%2Fgallery%2Fthemes%2Fhardwired%2Fimages%2Frating5.gif&hash=a36cbb02ccc33e71e0e19ab7835dae057312786f)

If you are using a custom theme, you must upload the image files where the theme expects to find them.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Problem with Top Rated Page
« Reply #2 on: November 30, 2004, 09:46:45 pm »

You have used the shop hack, and obviously during testing you called the theme 'hardwired shop'.
As TranZNdance said, your theme.php is still pointing to that theme folder for the ratings graphics.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Warped-Photography

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Problem with Top Rated Page
« Reply #3 on: November 30, 2004, 10:30:28 pm »

So what do I need to do?
Logged

chtito

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 186
  • I run Mac OS X, despite the penguin ;)
Re: Problem with Top Rated Page
« Reply #4 on: December 01, 2004, 08:01:24 am »

Simple solution: remove (or comment) the line
define('THEME_HAS_RATING_GRAPHICS', 1);
in the theme.php file of your theme (hardwired shop).
Logged
Vous pouvez poser vos questions en français sur le forum francophone !

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Problem with Top Rated Page
« Reply #5 on: December 01, 2004, 10:41:38 am »

You are using the hardwired theme, but your theme.php is pointing to hardwired shop for these graphics. So open your theme.php, find and replace '/hardwired shop/' with '/hardwired/'.

Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Problem with Top Rated Page
« Reply #6 on: December 01, 2004, 12:01:43 pm »

It looks like Warped-Photography figured it out by putting the images in the hardwired shop/images folder. The images now show up in my post and in the Top Rated Page.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with Top Rated Page
« Reply #7 on: December 02, 2004, 10:16:09 am »

yeah, great thing he/she resolved the thread himself/herself by posting something like "I have figured out what needs to be changed, thanks for your help, topic is solved" :(...

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.