forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Stefpink on March 08, 2009, 02:36:46 pm

Title: CpmFetch not working...
Post by: Stefpink on March 08, 2009, 02:36:46 pm
I installed it, and all went well. But when I put the code in the page, it doens't display the images. I tried to put it on a white page, this one: http://pinkitalia.com/np/index2.php , but nothing. This is the code i am using.

<?php
  include "/gallery/cpmfetch/cpmfetch.php";
  $objCpm = new cpm("/gallery/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,4);
  $objCpm->cpm_close();
?>

 ???
Title: Re: CpmFetch not working...
Post by: Nibbler on March 08, 2009, 03:25:39 pm
You need to use the right path.
Title: Re: CpmFetch not working...
Post by: Stefpink on March 08, 2009, 05:38:19 pm
Still doesn't work
Title: Re: CpmFetch not working...
Post by: Joachim Müller on March 09, 2009, 08:38:32 am
What do you use now?
Title: Re: CpmFetch not working...
Post by: Stefpink on March 09, 2009, 01:10:09 pm
What do you mean?
Title: Re: CpmFetch not working...
Post by: Joachim Müller on March 11, 2009, 08:21:45 am
You said
This is the code i am using.

Then you said
Still doesn't work

So I guess that it's pretty obvious what I'm asking for: Nibbler told you to use another path, but you just reply that this doesn't help, without posting what path you actually use, i.e. what code you use. How could we possibly help you. We're out of crystal balls, so our mind-reading capabilities are limited. As you failed to post a link to your gallery and a link to a page where we can see the mentioned code in action, there's nothing for us to look at. Are you deliberately playing stupid? Post a link to your gallery, a link to the page where you applied the cpmFetch code you're having issues with, explain what "doesn't work" means and most important of all post the code you tried.