Advanced search  

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]

Pages: [1]   Go Down

Author Topic: No image with cfimageget.php  (Read 5657 times)

0 Members and 1 Guest are viewing this topic.

karice

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
No image with cfimageget.php
« on: November 14, 2007, 09:04:54 am »

Hello,

I have a problem when I try to use "cfimageget.php"

I installed cpmfetch correctly (I can see the 4 images after the installation!), and I modified cfimageget as followed :
Code: [Select]
// This one you need to adjust unless your galler is at http://www.youname.com/photos
// If you installed right to the root of your web site, just use a /
// TODO This should be path to config file
// $urltocpm = "/photos/";

$urltocpm = "/http://www.essaifhoto.123.fr/";
$pathToConfigFile = "/http://www.essaifhoto.123.fr/cpmfetch/";

Then I modified template.html from Chaoticsoul as followed:
Code: [Select]
<div id="headerimg" class="clearfix">
<img src="http://www.essaifhoto.123.fr/cpmfetch/cfimageget.php?size=int">
</div>

But it doesn't work !  :-\

Could you help me please ?

Thank you.

Fabrice.
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: No image with cfimageget.php
« Reply #1 on: November 14, 2007, 10:48:46 am »

It's a double-post.

Infos you'r posting here, are not the same you'd posted in our French board  ???
http://forum.coppermine-gallery.net/index.php?topic=48143.msg230603#msg230603
How can we help then ?

But you're here in the right place to find a solution with Vuud, CpmFetch's father.

PYAP
Logged

karice

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
Re: No image with cfimageget.php
« Reply #2 on: November 14, 2007, 02:28:32 pm »

I'm sorry PYAP,

But it is exactly the same problem. I made a copy and paste from French forum ;)

Fabrice.
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Logged

karice

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
Re: No image with cfimageget.php
« Reply #4 on: November 15, 2007, 01:13:09 am »

Thank you very much PYAP,

At first, you are right the problem was not with cfimageget but with with cpmfetch in general. Nevertheless, you led me to cfimageget because it was dedicated to what I wanted to do.

Now I'm going to investigate thanks to the information you gave me on the french forum.

Fabrice.
Logged

karice

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 118
    • FHoTo
Re: No image with cfimageget.php
« Reply #5 on: November 15, 2007, 01:55:44 am »

Hello,

Thanks to PYAP, I can give you the message I get after cpmfetch installation.

You can see it here:
http://www.essaifhoto.123.fr/cpmfetch/screen.php

messages are:
Quote
Notice: Undefined variable: ERRMSG in /home/0/1/essaifhoto.123.fr/www/cpmfetch/screen.php on line 56
and
Quote
Fatal error: Call to undefined function printArray() in /home/0/1/essaifhoto.123.fr/www/cpmfetch/screen.php on line 313

Fabrice.
Logged

lobosden

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 75
Re: No image with cfimageget.php
« Reply #6 on: November 16, 2007, 10:38:04 pm »

what directory are you trying to fetch from?

I found that if you use multiple directories on your site such as mysite.com/directory1
and try to put a fetch file in mysite.com/directory2 it will not work
you will have to put it directly in mysite.com
for instance  say your gallery fetch is mysite.com/gallery/cpmfetch
and you have a forum mysite.com/forum
and say you want to display pics on the forum... well I found that you have to fetch the pics at myspace.com/test.php

maybe it is my server, or mybe this is the way it is, but I would try making you fetch php there and then go from there.

That is what i did. But I really am not good at this stuff, and you may not even want to hear what I got to say, because I might lead you in the wrong direction, but it finally worked for me that way.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.