I keep getting this error, from what i can deduce from other forum posts, etc, this usually occurs when you try to use the script twice, which I am not, or adding it to a coppermine page, which again, I am not doing, this is the only code i have on the page:
<?php
include_once "/home/www/heartbreak-mentality.co.uk/Gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("/home/www/heartbreak-mentality.co.uk/Gallery/cpmfetch/cpmfetch.php");
$objCpm->cpm_viewLastAddedMedia(1,4);
$objCpm->cpm_close();
?>
I have no clue what is wrong now, I have been trying to get this script workin for hours so maybe my brains just mushed and it something simple.
You are trying to use it twice. The second path should point to your cpmfetch_config.php
Ok I changed some things and got it kinda working. Now the images are not showing up i changed things in the config file, maybe I shouldn't have but can some one give me an idea on why the images are not showing up, i think the paths are right now i have modified things.
sorry i cant seem to edit my last post, but it seems to be the http://@domain@ function thats not working, what is it supposed do do, should i change this to my actual domain.