Coppermine, phpbb2 and cmpfetch Stats but no pics Coppermine, phpbb2 and cmpfetch Stats but no pics
 

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

Coppermine, phpbb2 and cmpfetch Stats but no pics

Started by michaelkent, November 24, 2005, 10:35:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

michaelkent

I have Coppermine 1.3.5 phpbb2.0.18 and cmpfetch 1.6 (I think, downloaded it 2 days ago)

The Coppermine/phpbb integration seems to work fine, but I have problems getting cmpfetch to work.

I have added the following to my homepage
                <?php
                
include './cpmfetch/cpmfetch.php';
                
$objCpm = new cpm('/coppermine');
                
$objCpm->cpm_viewRandomMedia (1,4);
                
$objCpm->cpm_viewLastAddedMedia (2,4);
                
$objCpm->cpm_formatStats("Here is a percent sign %% There are %f files in %c categories containing %a albums, having served %v views and getting %n comments");
                
$objCpm->cpm_close();
                
?>



I get
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.bletchley-reunion.org.uk%2Fsample.jpg&hash=21bdee8e0ccf62064a026f193542b1cbe88b5766)

The pics don't display but it gets the stats, which I assume means the cmpfetch installation is OK but there's something dodgy about my coppermine install??

Coppermine, phpbb2 and cmpfetch are all in discrete directories under the homepage, the cmpfetch test page shows all passes, and I've RTFM till my eyes nip.

I'm stumped!

I've not used the default table prefixes for Coppermine or phpbb2 but cmpfetch seems to pick these up from the config file so I don't think that's it.

Any help much appreciated

Joachim Müller

cpmfetch comes as a mod. Mods are being supported on the thread that deal with it only. Re-post your question as a reply to http://forum.coppermine-gallery.net/index.php?topic=19564.0