coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: rikakva on January 08, 2008, 02:08:00 AM

Title: Cant get CPMfetch to work ...
Post by: rikakva on January 08, 2008, 02:08:00 AM
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?
???
Title: Re: Cant get CPMfetch to work ...
Post by: Nibbler on January 08, 2008, 02:18:38 AM
Maybe you're not supposed to include the <?php at the start.
Title: Re: Cant get CPMfetch to work ...
Post by: rikakva on January 08, 2008, 09:45:48 PM
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?