Hello dear Coppermine users,
I love the script, use it already a year but got a problem now :-\\.. The links "Most viewed", "Last comments", "Last upped" are pointing to an user gallery..
If I point my mouse to "Last comments", it goes to this url:
http://fotos.lasa.nl/thumbnails.php?album=lastcom&cat=10006
What am I doing wrong? Something miss in the config? Or is the template not 100% right?
I'm sorry, but I just don't know where to start..
Thanks for all users who wants to help me! Thnx
It's related to your theme. When I switch to your classic theme the links are correct. Have you modified your theme in any way?
Yes I have modified the english texts to the dutch ones.. (Netherlands).. Not more I guess, but I can be wrong..
Your theme is attaching the cat=xxxxxx to the links. Compare your theme.php file to the classic theme.php file to see what the difference is.
Hi KegoBeer. I have replaced the theme.php with the original theme.php of the Kubrick Rar. But it still gives the cat=xxxxxx.. Maybe it's Kubrick? Do I need to give some debug info?
It's not the theme - I downloaded and installed Kubrick on my 1.3.3 gallery and it works fine. I think the jump to category/user select box at the bottom of your page may be reacting with that particular theme. Try removing that mod.
You are right!! Thanks for your tip!
I've changed:
while ( $fetched_row = mysql_fetch_row($result) )
{
$cat = $fetched_row[0];
$owner = ucwords($fetched_row[1]);
echo "<OPTION VALUE='$cat'>$owner</OPTION>";
}
to:
while ( $fetched_row = mysql_fetch_row($result) )
{
$catje = $fetched_row[0];
$ownertje = ucwords($fetched_row[1]);
echo "<OPTION VALUE='$catje'>$ownertje</OPTION>";
}
THANKS KegoBeer!