Problem with Top Rated Page Problem with Top Rated Page
 

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

Problem with Top Rated Page

Started by Warped-Photography, November 30, 2004, 08:30:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Warped-Photography

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

Tranz

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://coppermine-gallery.com/forum/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://coppermine-gallery.com/forum/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.

Casper

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.
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


chtito

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

Casper

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/'.

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

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.

Joachim Müller

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