forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Bone on January 31, 2006, 08:28:49 pm

Title: URL Wrong In Ecards
Post by: Bone on January 31, 2006, 08:28:49 pm
Hi
First off great program, I'm well impressed with it!

I am haowever just haveing one small problem, well it possibly is a big problem :)

When I send an eecard the URL is wrong, this is the link I get:
http://www.battle-fields.com/coppermine//displayimage.php?pos=-162

its got 2 /'s just before the displayimage.php filename. I have checked my setup and I tried deleting the trailing / off the end of my gallery url in general settings (http://www.battle-fields.com/coppermine/) but it just keeps reapearing so I guess it needs it?

Any help would be greatly recieved.
Thanks
Title: Re: URL Wrong In Ecards
Post by: Bone on February 01, 2006, 02:20:43 pm
So I take it I am alone with this problem?

I have managed to fix it by editing the configuration table in the database I removed the trailing / from the url, problem is when ever I change a config via the admin panel it goes back to how it was.

Ive got version 1.4.3 and everything seems to be checking out OK in versions.
Title: Re: URL Wrong In Ecards
Post by: Bone on February 01, 2006, 02:24:02 pm
Just a thought,I use joomla and have altered the path in coppermine for albums and userpics to the stories directory in joomla so I cna use the images in our webpages.
Could that affect it?
Title: Re: URL Wrong In Ecards
Post by: Joachim Müller on February 01, 2006, 07:08:22 pm
I don't think so. Can't take a deeper look right now, your site is blocked for me (because of issues on my end, not yours - don't worry).
Title: Re: URL Wrong In Ecards
Post by: Bone on February 01, 2006, 08:14:10 pm
Thanks for your interest, I uploaded the entire package again except the includes/config and the otehr file you are supposed to leave alone when upgrading :)

Title: Re: URL Wrong In Ecards
Post by: Nibbler on February 01, 2006, 08:15:27 pm
Remove the extra slash from this line in include/themes.inc.php

Code: [Select]
<a href="{VIEW_MORE_TGT}/displayimage.php?pos=-{PID}">
Title: Re: URL Wrong In Ecards
Post by: Joachim Müller on February 01, 2006, 08:51:22 pm
@Nibbler: bug?
Title: Re: URL Wrong In Ecards
Post by: Nibbler on February 01, 2006, 08:59:41 pm
Seems to be, not sure why no-one noticed before now though.
Title: Re: URL Wrong In Ecards
Post by: Bone on February 09, 2006, 01:26:15 pm
Sorry for late reply thanks for that Ill give it a go :)
Title: Re: URL Wrong In Ecards
Post by: Nibbler on February 20, 2006, 03:42:02 am
Fixed in cvs.