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: [Solved]: counter and voting doesn't work  (Read 5159 times)

0 Members and 1 Guest are viewing this topic.

engelhuber

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
[Solved]: counter and voting doesn't work
« on: August 04, 2004, 01:18:05 pm »

Hi,
i hope you can help me with my problem.
i have installed CPG on a test page und moved it later to the new page.
(http://www.engelhuber.de/coppermine/index.php)

but now, the counter under the thumbnails and the pic voting doesn't work anymore.

thx for your help!!

greetz
engelhuber
« Last Edit: August 12, 2004, 05:15:41 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: counter and voting doesn't work
« Reply #1 on: August 04, 2004, 05:02:20 pm »

I can't see anything wrong on your page, post details (and a screenshoot with the area highlighted you're talking about).
What exactly do you mean by "voting doesn't work"?

GauGau
Logged

engelhuber

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: counter and voting doesn't work
« Reply #2 on: August 04, 2004, 09:42:55 pm »

first, thanks for help!

i mean the counter under the thumbs:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.engelhuber.de%2Ftmp%2Fpic01.jpg&hash=20c1d3fce5716595d8575ee3239ff7bfb35b3d51)

and with voting i mean the rating of the pics:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.engelhuber.de%2Ftmp%2Fpic02jpg&hash=ae2abfd516c790ccf90433b1aac77509a1e46f6e)

comments works fine

thx
engelhuber

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: counter and voting doesn't work
« Reply #3 on: August 05, 2004, 08:11:04 am »

what exactly did you modify? Maybe this comes from your changes in the theme, upload one of the themes that come with coppermine, post it's name (classic theme preferrably), so we can test if this happens with the standard themes as well.

GauGau
Logged

engelhuber

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: counter and voting doesn't work
« Reply #4 on: August 06, 2004, 03:06:50 pm »

in the theme.php, i have commented this line out "//header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');"
because i got the message:
"Warning: Cannot modify header information - headers already sent by (output started at /homepages/7/d82284270/htdocs/engelhuber/coppermine/head.html:5) in /homepages/7/d82284270/htdocs/engelhuber/coppermine/themes/classic/theme.php on line 810"

and changed colors in the theme

i have tested it with the classic theme, but its the same...

have a look on it: http://www.engelhuber.de/coppermine/index.php
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: counter and voting doesn't work
« Reply #5 on: August 06, 2004, 05:30:17 pm »

well you were wrong, you mustn't delete the header info. Do as I told you and upload the classic theme as admin fallback.

GauGau
Logged

engelhuber

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: counter and voting doesn't work
« Reply #6 on: August 07, 2004, 05:23:17 pm »

http://www.engelhuber.de/coppermine/index.php

this is the original classic theme
i dind't made any changes to it

maybe i missunderstand you ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: counter and voting doesn't work
« Reply #7 on: August 08, 2004, 10:09:32 am »

well, obviously you modified it, since it shows a custom header and displays the error
Quote
Warning: Cannot modify header information - headers already sent by (output started at /homepages/7/d82284270/htdocs/engelhuber/coppermine/head.html:5) in /homepages/7/d82284270/htdocs/engelhuber/coppermine/themes/classic/theme.php on line 810
What exactly did you modify to show your banner at the top?

GauGau
Logged

engelhuber

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: counter and voting doesn't work
« Reply #8 on: August 11, 2004, 11:14:24 am »

ich have included it in the index.php with:

<?

include ("head.html");

?>
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: counter and voting doesn't work
« Reply #9 on: August 11, 2004, 11:29:20 am »

you can not do that, that's not the way coppermine works. Remove this from index.php. Modifications like this must go into your theme. Search the board for "custom header" to find out how.

GauGau
Logged

engelhuber

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: counter and voting doesn't work
« Reply #10 on: August 11, 2004, 02:45:45 pm »

oh :)

ok, thx!
i will try it

Engelhuber
Logged

engelhuber

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: counter and voting doesn't work
« Reply #11 on: August 11, 2004, 07:22:19 pm »

oh great, it works!!!

many many thx!!

great support!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.