forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: melab on November 11, 2009, 12:26:54 pm

Title: Installation "updates the cpmfetch_config.php file with your settings"
Post by: melab on November 11, 2009, 12:26:54 pm
Hello,
I try to install cpmfetch by following instructions on their website but I don't know how to "updates the cpmfetch_config.php file with your settings". I mean, I don't know what to write in this file. Can you just give an example please ? I use Coppermine, GD2.
Thanks
Title: Re: Installation "updates the cpmfetch_config.php file with your settings"
Post by: Jeff Bailey on November 11, 2009, 12:56:59 pm
Please post a link to your gallery (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616).
Title: Re: Installation "updates the cpmfetch_config.php file with your settings"
Post by: melab on November 11, 2009, 01:00:45 pm
http://twilight-and-us.fr/coppermine and http://twilight-and-us.fr/coppermine/cpmfetch/install.php
Title: Re: Installation "updates the cpmfetch_config.php file with your settings"
Post by: Jeff Bailey on November 11, 2009, 01:09:36 pm
Quote
It will also update the "cpmfetch_config.php" file in your cpmfetch folder.
is on the same page (http://cpmfetch.fistfullofcode.com/docs/stable_advanced/cpmfetch/tutorial_gettingStarted.Installing.pkg.html) in the docs that you quoted. It looks like you shouldn't have to do anything as the installer does it for you, but I am not sure as I don't use it. Try completing the install (http://twilight-and-us.fr/coppermine/cpmfetch/install.php) to see what happens. ;D If I am missing something please reply. If it works please resolve your thread and post that it worked.  ;)
Title: Re: Installation "updates the cpmfetch_config.php file with your settings"
Post by: melab on November 11, 2009, 01:26:47 pm
But I don't understand why I can see in the test some random images from my gallery  :-\
Title: Re: Installation "updates the cpmfetch_config.php file with your settings"
Post by: Jeff Bailey on November 11, 2009, 01:32:55 pm
When you say test... I'm assuming you mean when the install finishes?
Quote
When it finishes it will show you some photos from your gallery to prove it is working. It will also show you the exact PHP code it used to get them. This code is the same code (almost) that you will be inserting into your own pages.
If you mean test as in ... you posted some code into a page that is not a part of coppermine to test if it worked and you are seeing random images, then you should continue to read the docs as it will explain the different types of images you can pull from your gallery and how to post them on a page with different calls in the php code.
Title: Re: Installation "updates the cpmfetch_config.php file with your settings"
Post by: Joe Carver on November 11, 2009, 01:37:53 pm
The installation will show 4 random images when it successfully runs.

melab,
Login and double check what you have entered for your gallery URL as follows......

Config/General Settings/URL of your coppermine gallery folder

It looks like you have it set to: http://coppermine.sourceforge.net/

It should be something like: http://twilight-and-us.fr/coppermine/  (with trailing slash!)

Fix that and then re-run the installation.


[edited for typo.]
Title: Re: Installation "updates the cpmfetch_config.php file with your settings"
Post by: melab on November 11, 2009, 01:43:56 pm
It works !! Thank you so much  ;D No I'm going to continue to read the documentation, thanks !
Title: Re: Installation "updates the cpmfetch_config.php file with your settings"
Post by: Jeff Bailey on November 11, 2009, 01:45:27 pm
Glad it works for you  8). Please resolve your thread as in the board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270631.html#msg270631). Thanks

edit- nevermind you beat me to it  ;)