[Solved]: counter and voting doesn't work [Solved]: counter and voting doesn't work
 

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]

Main Menu

[Solved]: counter and voting doesn't work

Started by engelhuber, August 04, 2004, 01:18:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

engelhuber

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

Joachim Müller

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

engelhuber

first, thanks for help!

i mean the counter under the thumbs:
(https://coppermine-gallery.com/forum/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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.engelhuber.de%2Ftmp%2Fpic02jpg&hash=ae2abfd516c790ccf90433b1aac77509a1e46f6e)

comments works fine

thx
engelhuber


Joachim Müller

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

engelhuber

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

Joachim Müller

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

engelhuber

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 ;)

Joachim Müller

well, obviously you modified it, since it shows a custom header and displays the error
QuoteWarning: 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

engelhuber

ich have included it in the index.php with:

<?

include ("head.html");

?>

Joachim Müller

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

engelhuber

oh :)

ok, thx!
i will try it

Engelhuber

engelhuber

oh great, it works!!!

many many thx!!

great support!