Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: cpmfetch code location  (Read 4673 times)

0 Members and 1 Guest are viewing this topic.

tanager3

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
cpmfetch code location
« on: June 11, 2008, 10:03:17 pm »

I installed cpmfetch and everything "works", minus the fact that it is leaving "www." out of the equation and none of the images are displaying or being linked too. 

example:

Code: [Select]
<A href="http://mysite/gallery/displayimage.php?pos=-42">
<img src="http://mysite/gallery/albums/archives/2006_cu/thumb_DSC_0402a.jpg">
</a>

It needs to read:

Code: [Select]
<A href="http://[b]www.[/b]mysite/gallery/displayimage.php?pos=-42">
<img src="http://[b]www.[/b]mysite/gallery/albums/archives/2006_cu/thumb_DSC_0402a.jpg">
</a>

Where in the source can I hardcode "www." to get this to work.  I have spent the last 2 hours tinkering with files that I thought would work, and looked at numerous posts in the forum but can't find an answer.

Thanks
Logged

Nibbler

  • Guest
Re: cpmfetch code location
« Reply #1 on: June 11, 2008, 10:47:09 pm »

You should deal with the real problem. Your site and images should be accessible both with and without the www. Post a link to your gallery.

Edit: Link is probably read from whatever you have set as your gallery url in Coppermine config.
Logged

tanager3

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: cpmfetch code location
« Reply #2 on: June 12, 2008, 12:30:29 am »

I don't quite know what the problem is, I have installed coppermine on 3 sites hosted at godaddy, and all of them react the same way...

In any event, Thank you very much for your response, you were correct that it was missing the "www." in the config, i'll deal with figuring out the other problem, when I have more time.

http://www.westernfieldornithologists.org/

Many Thanks.
Logged

keithsnell1

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: cpmfetch code location
« Reply #3 on: June 12, 2008, 02:36:15 pm »

Tanager3,

I am also attempting to install a site hosted by Godaddy, and was hoping that you would be able to give me advice for a successful install.  I saw your post above and hoped that would lead to a solution for me; however I'm still not seeing images during the install or when inserting the code on my site.

Can you tell me what steps you typically have to go through to get cmpfetch to work on a Godaddy hosted site?

Thank you,

Keith
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 16 queries.