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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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.