cftest.php issue ... cftest.php issue ...
 

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

Main Menu

cftest.php issue ...

Started by ukbeg, February 14, 2007, 09:56:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ukbeg

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!



vuud

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? 



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

ukbeg

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";

vuud

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

ukbeg

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

ukbeg

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


vuud

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

ukbeg

Thanks, I will take a look about!