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: Installing cpmfetch  (Read 9478 times)

0 Members and 1 Guest are viewing this topic.

marinelife

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Installing cpmfetch
« on: September 19, 2006, 08:33:24 pm »

I downloaded in copied cpmfetch to my root directory and ran the test file and it worked, I then ran the PHP test and get nothing, then I tried install.php and got this
/** * RELEASE VERSION: 1.6.4 * * This is the installation program for CpmFetch. * * Usage: Call this file from a web browser and follow the instructions * */

So what am I doind wrong, I looked over the docs and see nothing
« Last Edit: December 02, 2006, 02:58:03 pm by GauGau »
Logged

marinelife

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Installing cpmfetch
« Reply #1 on: September 19, 2006, 10:22:19 pm »

I downloaded a dev version and the install ran but did no show test images
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Installing cpmfetch
« Reply #2 on: September 21, 2006, 09:53:51 pm »

I downloaded a dev version and the install ran but did no show test images

PM Me a link to the install.php on your machine
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Installing cpmfetch
« Reply #3 on: September 23, 2006, 03:48:42 am »

PM Me a link to the install.php on your machine

Your bridged... I have to see if the dev release is bothered by that.  I can't remember if I turned that off or not.
Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

helitown

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: Installing cpmfetch
« Reply #4 on: October 01, 2006, 11:26:30 pm »

I also have the same problem so instead of creating a new let's share this one.

Test results showed all pass and  I got 6 images. Everything seems to be working. Then I copied the codes from the Quickstart and created a test.php in the same directory with cpmfetch with code below

<?php
include "./cpmfetch/cpmfetch.php";
$objCpm = new cpm("/gallery");
$objCpm->cpm_viewRandomMedia(3,3);
$objCpm->cpm_close();
?>

Clicked on it to open on IE and got blank page.

Clicked on install.php and got this

/** * RELEASE VERSION: 1.6.4 * * This is the installation program for CpmFetch. * * Usage: Call this file from a web browser and follow the instructions * */

Appreciate your help.
 
Logged

marinelife

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Installing cpmfetch
« Reply #5 on: October 01, 2006, 11:56:52 pm »

That is the same problem I have, I just moved host and still get it.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Installing cpmfetch
« Reply #6 on: October 06, 2006, 06:41:35 pm »

Test results showed all pass and  I got 6 images. Everything seems to be working. Then I copied the codes from the Quickstart and created a test.php in the same directory with cpmfetch with code below

<?php
include "./cpmfetch/cpmfetch.php";
$objCpm = new cpm("/gallery");
$objCpm->cpm_viewRandomMedia(3,3);
$objCpm->cpm_close();
?>


Code: [Select]
<?php 
include "./cpmfetch/cpmfetch.php";
$objCpm = new cpm("/gallery");
$objCpm->cpm_viewRandomMedia(3,3);
$objCpm->cpm_close();
?>


If the file containing this code is in the same directory as the cftest or install program, you want to change the include line to reflect that.

Code: [Select]
<?php 
include "./cpmfetch.php";
$objCpm = new cpm("/gallery");
$objCpm->cpm_viewRandomMedia(3,3);
$objCpm->cpm_close();
?>


This code also assumes your gallery is at www.domainname.com/gallery

Kudus for bundling in with a similar thread







Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Installing cpmfetch
« Reply #7 on: November 23, 2006, 08:55:43 am »

Split posting by remkodevos into separate thread. Don't try to hijack other's threads.
Logged

remkodevos

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Installing cpmfetch
« Reply #8 on: November 23, 2006, 09:17:15 am »

sorry that was not my intention...
Logged

remkodevos

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: Installing cpmfetch
« Reply #9 on: December 02, 2006, 11:20:36 am »

I have a same kind of problem so can I share it here?

My galery is not in www.myhosting.com/gallery   but    mygallery.myhosting.com.

Can I use cpmfetch then? and what do I have to change. the test files passes everything but this one:

80 CPG Config file not found: /data/members/paid/r/e/remkodevos.com/htdocs/fotoboek/www.tempetedecalme.ch/_site/dev1.0/cpg/include/config.inc.php   ???

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Installing cpmfetch
« Reply #10 on: December 02, 2006, 02:57:48 pm »

Split posting by remkodevos into separate thread. Don't try to hijack other's threads.
You have been told not to hijack this thread. You're banned from posting for three days. Locking this thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 19 queries.