Page 1 of 1

Im getting this, can anyone help

PostPosted: 26. May 2003 21:34
Im trying to run a Copppermine photo gallery and I keep getting this error. I have followed the instructions to the T, I am still new to php and what not but this has me baffled

when I try to go to the index file I get this:

Warning: main(include/ [function.main]: failed to open stream: No such file or directory in C:\wampp2\htdocs\coppermine\include\ on line 125

Fatal error: main() [function.require]: Failed opening required 'include/' (include_path='\wampp2\php\pear\') in C:\wampp2\htdocs\coppermine\include\ on line 125

Can anyone help me out here, I got this when I tried to run another photogallery.


PostPosted: 26. May 2003 21:52
by AlexPausB
Hey there!

Okay I found that in another posting with a similar problem.

Find the php.ini file (in x:\wampp2\apache\bin or x:\wampp\php\), open it and find the following lines:

Code: Select all
; Paths and Directories ;

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
; Windows: "\path1;\path2"
; include_path = ".;c:\"
include_path = \wampp2\php\pear\

Change the last line from the code above to
include_path = ".;x:\php\includes", restart the server and let me know if this hint helps you out of your misery.

I think it would be best to change both php.ini files!

please note that "x:\" stands for the letter of your partition where you installed the WAMPP.

So long... (bad english, isn't it ? ;-))

PostPosted: 27. May 2003 01:47
by Sharkster
Thanks a bunch, once I changed the one inside the apache/bin I had to recreate the database and dump the lock file and restart.... that did it and it works great