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
/var/httpd/htdocsgallery//include/config.inc.php
You are missing a slash before 'gallery' in the path, so add one.
still no joy.
I get this now...
80 CPG Config file not found: /var/httpd/htdocs/gallery/include/config.inc.php FAIL
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.
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?
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)
haha!! my bad, ok thanks for your help :)