CpmFetch not working... CpmFetch not working...
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

CpmFetch not working...

Started by Stefpink, March 08, 2009, 02:36:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Stefpink

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();
?>

???

Nibbler

You need to use the right path.

Stefpink


Joachim Müller


Stefpink


Joachim Müller

You said
Quote from: Stefpink on March 08, 2009, 02:36:46 PM
This is the code i am using.

Then you said
Quote from: Stefpink on March 08, 2009, 05:38:19 PM
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.