Cant get CPMfetch to work ... Cant get CPMfetch to work ...
 

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

Cant get CPMfetch to work ...

Started by rikakva, January 08, 2008, 02:08:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rikakva

I hva downloaded cPM fetch and installed it under my coppermine folder, the installation went well and i could see last added pictures on the "test"site/instalation website.A php code was given to me there so i could use i order to see random images.
I have bridged coppermine with SMF/Tiny portal.
when entering the snippet code in a php box: no pictures where showing...
The error message:

Parse error: syntax error, unexpected '<' in /home/3/r/rygenedetektorkl/www/forum/Sources/Load.php(1736) : eval()'d code(35) : eval()'d code on line 1
What have i missed?
???

Nibbler

Maybe you're not supposed to include the <?php at the start.

rikakva

no,did work that neither....

i have uploaded everything in the coppermine folder named coppermine.
Could it be that i have missed something during installation?
the testserver found my gallery piccys and presented m with this code in order to get them:
<?php
  include "./cpmfetch.php";
  $objCpm = new cpm("./cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,4);
  $objCpm->cpm_close();
?>

Has it something to do that i have bridged coppermine into a forum that require a memberpassword to enter?