Advanced search  

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]

Pages: [1]   Go Down

Author Topic: CPMfetch in Website Baker (CMS) problem  (Read 5043 times)

0 Members and 2 Guests are viewing this topic.

Peter R

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 26
CPMfetch in Website Baker (CMS) problem
« 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:

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

princeisaac12

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: CPMfetch in Website Baker (CMS) problem
« Reply #1 on: April 21, 2009, 10:05:00 am »

                       What is the main advantages of CPMfetch in website baker?

_________________
Indianapolis SEO
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.