coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: ukbeg on February 14, 2007, 09:56:22 PM

Title: cftest.php issue ...
Post by: ukbeg on February 14, 2007, 09:56:22 PM
Hi

I am wanting to have the random pictures section of our coppermine gallery (http://www.bike-pix.com/gallery/index.php) show up on the front page of our website www.ukbeg.com. I havew uploaded the cpmfetch folder and ran the cftest.php and came up with the following error CPG Config file not found: /usr/local/psa/home/vhosts/bike-pix.com/httpdocs/gallery/index.php/include/config.inc.php

I do not understand what this means. Im very average at this kind of thing and would appreciate any help I can get on what I am doing wrong.

I have no idea who to run this program yet or how to intergrate the random section into our website, although I am ok with HTML  :-[

Thanks!


Title: Re: cftest.php issue ...
Post by: vuud on February 15, 2007, 06:01:51 AM
Quote from: ukbeg on February 14, 2007, 09:56:22 PM
Hi

I am wanting to have the random pictures section of our coppermine gallery (http://www.bike-pix.com/gallery/index.php) show up on the front page of our website www.ukbeg.com. I havew uploaded the cpmfetch folder and ran the cftest.php and came up with the following error CPG Config file not found: /usr/local/psa/home/vhosts/bike-pix.com/httpdocs/gallery/index.php/include/config.inc.php

I do not understand what this means. Im very average at this kind of thing and would appreciate any help I can get on what I am doing wrong.

I have no idea who to run this program yet or how to intergrate the random section into our website, although I am ok with HTML  :-[

Thanks!




Did you change the top of the cftest.php file? 



Title: Re: cftest.php issue ...
Post by: ukbeg on February 15, 2007, 05:58:27 PM
Yes I did, I have copied it below for reference!

// You need to change this variable to the directory that the Coppermine photo gallery is installed in.
// If you installed CPG to the root of your website, just use a /
// IMPORTANT:  Change the part below in quotes, NOT the $ChangeThis... part
$ChangeThisToYourPartialUrlToCPG = "/gallery/index.php";
Title: Re: cftest.php issue ...
Post by: vuud on February 15, 2007, 06:17:58 PM
Quote from: ukbeg on February 15, 2007, 05:58:27 PM
Yes I did, I have copied it below for reference!

// You need to change this variable to the directory that the Coppermine photo gallery is installed in.
// If you installed CPG to the root of your website, just use a /
// IMPORTANT:  Change the part below in quotes, NOT the $ChangeThis... part
$ChangeThisToYourPartialUrlToCPG = "/gallery/index.php";


remove index.php from it... that should do it.

Read the note from above:
// You need to change this variable to the directory that the Coppermine photo gallery is installed in.
Title: Re: cftest.php issue ...
Post by: ukbeg on February 15, 2007, 07:00:44 PM
Thats great thanks, everything passed and I get a few thumbnails up on the test page ...

Just need to work out how to get some random ones on my website page now!

thanks!!
Title: Re: cftest.php issue ...
Post by: ukbeg on February 15, 2007, 08:40:13 PM
I have one last small issue sorry ...

The gallery and cpmFetch are on one server but the website in which I want to produce the random images is on a different server ...

Would I have to have everything on the same server for this all to work ... ?

I have read through the manual online to find the HTML pieces but im struggling to understand a lot of it

Title: Re: cftest.php issue ...
Post by: vuud on February 15, 2007, 10:21:53 PM
Quote from: ukbeg on February 15, 2007, 08:40:13 PM
I have one last small issue sorry ...

The gallery and cpmFetch are on one server but the website in which I want to produce the random images is on a different server ...

Would I have to have everything on the same server for this all to work ... ?

I have read through the manual online to find the HTML pieces but im struggling to understand a lot of it



Its a bit complicated... search the forums here... its come up before.  You can do it a few ways. 

the easiest if your site will allow it is to make a php file on the gallery server that just has what you want, then do a php include from the other server.

Other options are out there
Title: Re: cftest.php issue ...
Post by: ukbeg on February 15, 2007, 11:05:12 PM
Thanks, I will take a look about!