coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: marinelife on September 19, 2006, 08:33:24 PM

Title: Installing cpmfetch
Post by: marinelife 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
Title: Re: Installing cpmfetch
Post by: marinelife on September 19, 2006, 10:22:19 PM
I downloaded a dev version and the install ran but did no show test images
Title: Re: Installing cpmfetch
Post by: vuud on September 21, 2006, 09:53:51 PM
Quote from: marinelife on September 19, 2006, 10:22:19 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
Title: Re: Installing cpmfetch
Post by: vuud on September 23, 2006, 03:48:42 AM
Quote from: vuud on September 21, 2006, 09:53:51 PM
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.
Title: Re: Installing cpmfetch
Post by: helitown 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.
Title: Re: Installing cpmfetch
Post by: marinelife on October 01, 2006, 11:56:52 PM
That is the same problem I have, I just moved host and still get it.
Title: Re: Installing cpmfetch
Post by: vuud on October 06, 2006, 06:41:35 PM
Quote from: helitown on October 01, 2006, 11:26:30 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();
?>



<?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.


<?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







Title: Re: Installing cpmfetch
Post by: Joachim Müller on November 23, 2006, 08:55:43 AM
Split posting by remkodevos (http://forum.coppermine-gallery.net/index.php?action=profile;u=23604) into separate thread (http://forum.coppermine-gallery.net/index.php?topic=38743.0). Don't try to hijack other's threads.
Title: Re: Installing cpmfetch
Post by: remkodevos on November 23, 2006, 09:17:15 AM
sorry that was not my intention...
Title: Re: Installing cpmfetch
Post by: remkodevos 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   ???

Title: Re: Installing cpmfetch
Post by: Joachim Müller on December 02, 2006, 02:57:48 PM
Quote from: GauGau on November 23, 2006, 08:55:43 AM
Split posting by remkodevos (http://forum.coppermine-gallery.net/index.php?action=profile;u=23604) into separate thread (http://forum.coppermine-gallery.net/index.php?topic=38743.0). 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.