CPG Config not found, other thread on this didn't help :S CPG Config not found, other thread on this didn't help :S
 

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

CPG Config not found, other thread on this didn't help :S

Started by rich_greeny, September 11, 2006, 07:11:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rich_greeny

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

Nibbler

/var/httpd/htdocsgallery//include/config.inc.php

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


rich_greeny

still no joy.

I get this now...

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

vuud

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.


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

rich_greeny

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?

vuud

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)

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

rich_greeny