Advanced search  

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

Pages: [1]   Go Down

Author Topic: Cant get CPMfetch to work ...  (Read 4431 times)

0 Members and 1 Guest are viewing this topic.

rikakva

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Cant get CPMfetch to work ...
« 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?
 ???
Logged

Nibbler

  • Guest
Re: Cant get CPMfetch to work ...
« Reply #1 on: January 08, 2008, 02:18:38 am »

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

rikakva

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Cant get CPMfetch to work ...
« Reply #2 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?
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.