No image with cfimageget.php No image with cfimageget.php
 

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

Main Menu

No image with cfimageget.php

Started by karice, November 14, 2007, 09:04:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

karice

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 :
// 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:
<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.

Pascal YAP

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

karice

I'm sorry PYAP,

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

Fabrice.

Pascal YAP


karice

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.

karice

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:
QuoteNotice: Undefined variable: ERRMSG in /home/0/1/essaifhoto.123.fr/www/cpmfetch/screen.php on line 56
and
QuoteFatal error: Call to undefined function printArray() in /home/0/1/essaifhoto.123.fr/www/cpmfetch/screen.php on line 313

Fabrice.

lobosden

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.