coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: franzi.. on October 27, 2009, 04:37:38 PM

Title: there is a code instead of my thumbs
Post by: franzi.. on October 27, 2009, 04:37:38 PM
hey there!

i have a problem with the cpmFetch.
at my site there aren't the 4 thumbs, there is just this part of the code:
cpm_viewLastAddedMedia(1,4); $objCpm->cpm_close(); ?>

you can also take a look at the test site: http://t-lautner.com/indextt.html

i've installed cpmFetch in the gallery dictionary and i'm using this code:
<?php
  
include "./gallery/cpmfetch/cpmfetch.php";
  
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(1,4);
  
$objCpm->cpm_close();
?>



can anybody please help me?
i don't know what i'm doing wrong.

greets franzi
Title: Re: there is a code instead of my thumbs
Post by: Joachim Müller on October 27, 2009, 05:09:40 PM
The "Powered by Coppermine" tag on http://t-lautner.com/gallery/ is hardly readable, please restore it in a readable manner. The page is outdated (cpg1.4.18 oposed to the current stable release cpg1.4.25), so you need to upgrade!

Quote from: franzi.. on October 27, 2009, 04:37:38 PMat my site there aren't the 4 thumbs, there is just this part of the code:
cpm_viewLastAddedMedia(1,4); $objCpm->cpm_close(); ?>

you can also take a look at the test site: http://t-lautner.com/indextt.html
Hm, not sure about the extra chrome on that test page. Can you create a test page first that contains only the needed PHP code and nothing else? I doubt that files with the extension ".html" will be parsed by PHP on your site.