Hello! I use cpgFetch with a Joomla Module! I build two Modules, but if i activate 2 plugins i become a error, when i use 1 module there is no error!
thats the Error Message:
QuoteFatal error: Cannot redeclare class cpm in /var/www/vhosts/photo-planet.net/httpdocs/Gallery/cpmfetch/cpmfetch.php on line 33
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
$gallery = $params->get('gallery');
$cpmFetch = $params->get('cpmFetch');
$options = array('subtitle' => '<font face="Verdana" size="1"><b>%V</b> (%v Votes)</font>','imageheight' => '60',"tablestyle" => "test","imagestyle" => "test1","cellstyle" => "test2","tablestyle" => "test3");
$source = "";
include $cpmFetch."/cpmfetch.php";
$objCpm = new cpm($gallery);
$objCpm->cpm_viewTopRatedMediaFrom($source,3,1, $options);
$objCpm->cpm_close();
?>
i use the same parameters on all two modules!
i hope anyone can help me