coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: rich_greeny on September 11, 2006, 07:11:35 PM

Title: CPG Config not found, other thread on this didn't help :S
Post by: rich_greeny on September 11, 2006, 07:11:35 PM
Hi,

i'm a bit of a noob with php, and after updating our gallery to 1.4.9, tried to implement cpmfetch, only to get :

75 DOCUMENT_ROOT is not a good match BAD
80 CPG Config file not found: /var/httpd/htdocsgallery//include/config.inc.php FAIL

even though my config.inc.php is definately in gallery/include/.

Any ideas? Also any ideas about error 75 as well?

Thanks in advance
Title: Re: CPG Config not found, other thread on this didn't help :S
Post by: Nibbler on September 11, 2006, 07:44:43 PM
/var/httpd/htdocsgallery//include/config.inc.php

You are missing a slash before 'gallery' in the path, so add one.

Title: Re: CPG Config not found, other thread on this didn't help :S
Post by: rich_greeny on September 11, 2006, 08:09:10 PM
still no joy.

I get this now...

80 CPG Config file not found: /var/httpd/htdocs/gallery/include/config.inc.php FAIL
Title: Re: CPG Config not found, other thread on this didn't help :S
Post by: vuud on September 11, 2006, 08:36:00 PM
Quote from: rich_greeny on September 11, 2006, 08:09:10 PM
still no joy.

I get this now...

80 CPG Config file not found: /var/httpd/htdocs/gallery/include/config.inc.php FAIL

Your falling into a strange error that happens from time to time... if you are not bridged with anything, I recommend trying the dev version (circumvents all this).

Much easier install.


Title: Re: CPG Config not found, other thread on this didn't help :S
Post by: rich_greeny on September 11, 2006, 09:22:54 PM
ok thanks, i've just tried that, and the random image appeared fine, except that when i tried to implement the php code into my index.html, i get this line appear in the browser where the php code lies...

cpm_viewLastAddedMedia(1,4); $objCpm->cpm_close(); ?>


any ideas or am i just being a complete noob?
Title: Re: CPG Config not found, other thread on this didn't help :S
Post by: vuud on September 11, 2006, 10:37:19 PM
Quote from: rich_greeny on September 11, 2006, 09:22:54 PM
ok thanks, i've just tried that, and the random image appeared fine, except that when i tried to implement the php code into my index.html, i get this line appear in the browser where the php code lies...

cpm_viewLastAddedMedia(1,4); $objCpm->cpm_close(); ?>


any ideas or am i just being a complete noob?

You can't implement the php code in an html file.  It has to be in an .php file

so yes, you are just being a complete noob :D
(But we've all been there at one time or another)

Title: Re: CPG Config not found, other thread on this didn't help :S
Post by: rich_greeny on September 12, 2006, 12:06:59 AM
haha!! my bad, ok thanks for your help :)