coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: drsparks on March 18, 2004, 01:22:54 AM

Title: [Solved]: PHP Warning error
Post by: drsparks on March 18, 2004, 01:22:54 AM
Hello,

I am running IIS 6, and it seems that I have PHP and MySQL up and running, although it's a first for the latter 2.  I was able to run the 'install.php' script, and abel to enter all of my info, but when I attempt to run the index.php or login.php scripts, I get the following:

PHP Warning: Main(include/config.inc.php): failed to opoen stream: No such file or directory in c:\wwwroot\include\init.inc.php on line 135 PHP Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='c:\php\includes') in c:\wwwroot\include\init.inc.php on line 135.

I I can't be sure but it looks like I may have my paths crossed...no pun intended.  THanks for the help!

Updated - 17March, 8:18pm

I think I have it figured out...I commented out the reference to the include folder in php.ini...seems to work now.
Title: [Solved]: PHP Warning error
Post by: Dizko on March 19, 2004, 10:36:01 AM
Hello,

I have the same problem but I don't know how to solve this.  :?
Title: [Solved]: PHP Warning error
Post by: Joachim Müller on March 19, 2004, 04:02:10 PM
you're probably both self-hosted and have set the include path in your php.ini (there are good reasons to do so, but for ease of use on your own server: don't).

Edit php.ini accordingly.

GauGau