forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: hozyali on May 05, 2008, 10:06:32 pm
-
Hello,
I upgraded the gallery to latest version then I also installed the latest version of cpmfetch. It was working fine earlier before the upgrade but now its not working. it is giving me CF error on homepage where I have included the cpmfetch.
the url is http://www.cardscollectible.com/
I tried several ways to sort it out but nothing helped.
Please advise
Regards
Ali
-
Things to include in a cry for help:
* The Exact error message. "I get an error about something..." - Copy and paste
* What version of coppermine you are using
* What version of CoppermineFetch you are using
* A link to your website and gallery
* A link to an example of the problem (if possible)
* How computer savvy you are (newbie, intermediate, damn good)
* What kind of web server you are running on (if known)
* Include the code you are using.
-
The Exact error message. "I get an error about something..." - Copy and paste
CF-Error CF-Error
What version of coppermine you are using
How and where to check?
What version of CoppermineFetch you are using
How and where to check?
A link to your website and gallery
http://www.cardscollectible.com/gallery
A link to an example of the problem (if possible)
http://www.cardscollectible.com
How computer savvy you are (newbie, intermediate, damn good)
Intermediate
What kind of web server you are running on (if known)
Linux hosted with DreamHost.com
Include the code you are using.
<?php
include "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm('./gallery/cpmfetch/cpmfetch_config.php');
$options = array(
//'subtitle' => '%t <br> %S KB' ,
"tablestyle" => "thumbnails",
"cellstyle" => "cellwidth",
"linkstyle" => "thumb_caption",
"alttag" => "%c",
"subtitle" => "<span class=thumb_caption><b>%t </b><br>{{pCtimeFormatted}}</span>",
"imagestyle" => "image",
"imagesize" => 'thumb');
//$objCpm->cpm_viewRandomMedia (1,4);
/*$styleguide = array(
"linkstyle" => "photoclip",
"alttag" => "views: %h",
"subtitle" => "%h views",
"imagestyle" => "photoclip",
"imagesize" => 'thumb');
*/
$objCpm->cpm_viewLastAddedMedia (2,4,$options);
//$objCpm->cpm_close();
?>
-
Usually you know which version you have installed. In your case it is <!--Coppermine Photo Gallery 1.4.18 (stable)--> which is also to be seen when you look at the source of the cpg site.
-
Usually you know which version you have installed. In your case it is <!--Coppermine Photo Gallery 1.4.18 (stable)--> which is also to be seen when you look at the source of the cpg site.
ok. in config file of cpmfetch, on top it has written variable as 2.0.0 version. is this the version of cpmfetch?
-
yes
-
yes
ok so now can you help?