CPMfetch in Website Baker (CMS) problem CPMfetch in Website Baker (CMS) problem
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

CPMfetch in Website Baker (CMS) problem

Started by Peter R, February 15, 2009, 04:52:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Peter R

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"); 


princeisaac12

                       What is the main advantages of CPMfetch in website baker?

_________________
Indianapolis SEO