2009-03-25, 11:00 PM
hey i use Coppermine Photo Gallery in my site
http://www.haifafans.net/gallery/
and i need to put this code " LATEST UPLOADS picture "
for example in Header
when i paste it on header
i have this msg when i open my forum :
Fatal error: Cannot instantiate non-existent class: cpm in c:\camel\www\mybb\global.php(433) : eval()'d code(33) : eval()'d code on line 3
http://www.haifafans.net/gallery/
and i need to put this code " LATEST UPLOADS picture "
for example in Header
<?php
include "http://www.haifafans.net/gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("http://www.haifafans.net/gallery/cpmfetch/cpmfetch_config.php");
$objCpm->cpm_viewLastAddedMedia(1,4);
$objCpm->cpm_close();
?>
when i paste it on header
i have this msg when i open my forum :
Fatal error: Cannot instantiate non-existent class: cpm in c:\camel\www\mybb\global.php(433) : eval()'d code(33) : eval()'d code on line 3