there is a code instead of my thumbs there is a code instead of my thumbs
 

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

there is a code instead of my thumbs

Started by franzi.., October 27, 2009, 04:37:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

franzi..

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

Joachim Müller

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.