I am installing on a Win2k Server with IIS.
After the install script runs and I hit the login.php script I get the following error message:
Fatal error: Failed opening required 'include/config.inc.php' (include_path='c:\php4\pear') in D:\blah-blah\cpg132\include\init.inc.php on line 201
The include_path c:\php4\pear is wrong. I looked on the server and it should be c:\php\pear. I have no idea where the php4 is coming from. It is not in config.inc.php or init.inc.php
Anyone have any clues?
Matt
You haven't properly set up your server - this has nothing to do with Coppermine. I recommend reading the php documentation at www.php.net on how to install PHP on an IIS server.
Hmmm... well... it's not my server. If it was it would be running apache/linux.
I did check the php.ini file but I did not see the offending include path.
I suppose I'll have to wait for the sysadmin guy to fix it. Maybe I'll poke around in the php documentation a little.
Solved my problem by copying the php.ini file from c:\winnt to the root of my website.
This I can modify at will and since php looks in the root of my website first it gets executed before the system default.
I corrected the actual problem by uncommenting the include_path statement which I believe the sysadmin should have done in the first place.
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
include_path = ".;c:\php\includes"
I also modified the gd extension so it would use gd2 instead of gd1.
;extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_hyperwave.dll
I don't know if Coppermine will detect that I am now using gd2 or not. It selected gd1 during the install process. Since I am just getting started I think I may just nuke my tables, delete the install.lock file and re-install from scratch.
Glad you were able to solve this on your own. You won't have to re-install coppermine. Just log in as admin, go to "config" from the admin menu and change "Method for resizing images" from "GD1" to "GD2" and save your settings, that's all.
Joachim