coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: engelhuber on August 04, 2004, 01:18:05 PM

Title: [Solved]: counter and voting doesn't work
Post by: engelhuber 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
Title: Re: counter and voting doesn't work
Post by: Joachim Müller 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
Title: Re: counter and voting doesn't work
Post by: engelhuber on August 04, 2004, 09:42:55 PM
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

Title: Re: counter and voting doesn't work
Post by: Joachim Müller 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
Title: Re: counter and voting doesn't work
Post by: engelhuber 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
Title: Re: counter and voting doesn't work
Post by: Joachim Müller 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
Title: Re: counter and voting doesn't work
Post by: engelhuber 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 ;)
Title: Re: counter and voting doesn't work
Post by: Joachim Müller on August 08, 2004, 10:09:32 AM
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
Title: Re: counter and voting doesn't work
Post by: engelhuber on August 11, 2004, 11:14:24 AM
ich have included it in the index.php with:

<?

include ("head.html");

?>
Title: Re: counter and voting doesn't work
Post by: Joachim Müller 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
Title: Re: counter and voting doesn't work
Post by: engelhuber on August 11, 2004, 02:45:45 PM
oh :)

ok, thx!
i will try it

Engelhuber
Title: Re: counter and voting doesn't work
Post by: engelhuber on August 11, 2004, 07:22:19 PM
oh great, it works!!!

many many thx!!

great support!