Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

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

0 Members and 1 Guest 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.019 seconds with 20 queries.