forum.coppermine-gallery.net
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
-
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!
-
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?
-
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";
-
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.
-
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!!
-
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
-
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
-
Thanks, I will take a look about!