Advanced search  

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

Pages: [1]   Go Down

Author Topic: CPG Config not found, other thread on this didn't help :S  (Read 7227 times)

0 Members and 1 Guest are viewing this topic.

rich_greeny

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
CPG Config not found, other thread on this didn't help :S
« 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
« Last Edit: September 12, 2006, 04:52:10 am by vuud »
Logged

Nibbler

  • Guest
Re: CPG Config not found, other thread on this didn't help :S
« Reply #1 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.

Logged

rich_greeny

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: CPG Config not found, other thread on this didn't help :S
« Reply #2 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
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CPG Config not found, other thread on this didn't help :S
« Reply #3 on: September 11, 2006, 08:36:00 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.


Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: CPG Config not found, other thread on this didn't help :S
« Reply #4 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?
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CPG Config not found, other thread on this didn't help :S
« Reply #5 on: September 11, 2006, 10:37:19 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)

Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: CPG Config not found, other thread on this didn't help :S
« Reply #6 on: September 12, 2006, 12:06:59 am »

haha!! my bad, ok thanks for your help :)
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.