coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: likenoother on June 14, 2007, 06:02:57 AM

Title: issues installing cpg on my local windows webserver
Post by: likenoother on June 14, 2007, 06:02:57 AM
Hi,

I am trying to install cpg on my local apache webserver running on windows machine.

after creating the account on next page, it gives me following error:

On, http://localhost/cpg1410/login.php -

Fatal error: main() [function.require]: Failed opening required 'include/config.inc.php' (include_path='/bogus') in C:\Program Files\Apache Group\Apache2\htdocs\cpg1410\include\init.inc.php on line 155

---

line 155 on init.inc.php shows:  require_once 'include/config.inc.php';

i've extracted the zip under htdocs directory.

Thanks.
Title: Re: issues installing cpg on my local windows webserver
Post by: Hein Traag on June 14, 2007, 07:52:23 AM
Are you using Post Nuke as wel ? Otherwise this post belongs in the installation thread.
Title: Re: issues installing cpg on my local windows webserver
Post by: Joachim Müller on June 14, 2007, 09:27:45 AM
As Hein suggested, this is not related to pnCPG in the first place. Moving accordingly.

This has been asked (and answered) very often already. Your issues come from self-hosting; your webserver isn't set up properly. You'll need to fix xour include path (http://www.php.net/manual/en/ini.core.php#ini.include-path). Corresponding threads can be found searching the forum for "include_path" (http://forum.coppermine-gallery.net/index.php?action=search2;search=include_path). Note that the coppermine dev team doesn't recommend self-hosting at all.