coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: Peter R on February 15, 2009, 04:52:13 PM

Title: CPMfetch in Website Baker (CMS) problem
Post by: Peter R on February 15, 2009, 04:52:13 PM
CPMfetch in Website Baker (CMS)
I used CPMfetch in Website Baker (CMS) and it seemed to work fine, until you go to an other page then the home page of WB. This is giving a nice clean white page. This is because the CPMfetch code can not be found.
To solve this, change:

include_once "./cpg/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./cpg/cpmfetch/cpmfetch_config.php");

 
To: 
include_once ($_SERVER['DOCUMENT_ROOT'] . "/cpg/cpmfetch/cpmfetch.php");
$objCpm = new cpm($_SERVER['DOCUMENT_ROOT'] . "/cpg/cpmfetch/cpmfetch_config.php"); 

Title: Re: CPMfetch in Website Baker (CMS) problem
Post by: princeisaac12 on April 21, 2009, 10:05:00 AM
                       What is the main advantages of CPMfetch in website baker?

_________________
Indianapolis SEO (http://www.link-removed-because-of-spam-activities/)