coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: tyger53 on August 18, 2004, 05:26:51 PM

Title: Login issue
Post by: tyger53 on August 18, 2004, 05:26:51 PM
Hello,  I am very new with using coppermine.  I have justed installed the program on my server.  Now I get this error when trying to login

Warning: main(include/config.inc.php): failed to open stream: No such file or directory in /homebak/tyger53/public_html/cpg132/include/init.inc.php on line 201

Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='/usr/local/lib/php:/usr/lib/php') in /homebak/tyger53/public_html/cpg132/include/init.inc.php on line 201

Please help   thanks
Title: Re: Login issue
Post by: kegobeer on August 18, 2004, 06:53:43 PM
Try searching the forum for "failed to open stream"
Title: Re: Login issue
Post by: Nibbler on August 18, 2004, 10:30:52 PM
Your include path is wrongly set, it should be    include_path='.:/usr/local/lib/php:/usr/lib/php'
Title: Re: Login issue
Post by: tyger53 on August 19, 2004, 08:55:55 PM
Thanks for the replies,

Quote from: Nibbler on August 18, 2004, 10:30:52 PM
Your include path is wrongly set, it should be    include_path='.:/usr/local/lib/php:/usr/lib/php'

I see the problem there, how do I go about changing the path?

Thanks again for the help.
Title: Re: Login issue
Post by: Nibbler on August 19, 2004, 10:11:45 PM
In your php.ini
Title: Re: Login issue
Post by: tyger53 on August 20, 2004, 04:09:14 AM
Hey Nibbler,

I cannot find this "php.ini" file.  Where will I find it?  If it is on the server then I cannot access it because I do not own the server only being hosted.
Title: Re: Login issue
Post by: Tranz on August 20, 2004, 04:43:14 AM
Quote from: tyger53 on August 20, 2004, 04:09:14 AM
I cannot find this "php.ini" file.  Where will I find it?  If it is on the server then I cannot access it because I do not own the server only being hosted.
Most often, it is in the root directory of your web folder. If you don't see it or have access to it, you would have to contact your web host.
Title: Re: Login issue
Post by: Joachim Müller on August 20, 2004, 07:35:12 AM
having php.ini in the webroot is not a very good idea imo.
99% of all webhosted accounts don't have access to php.ini at all. Ask your webhost for support.

GauGau
Title: Re: Login issue
Post by: Tranz on August 20, 2004, 07:43:59 AM
Sorry, I was speaking from experience with my own webhost. It's so much easier helping out when I know the webhost's system. :-\\
Title: Re: Login issue
Post by: Joachim Müller on August 20, 2004, 08:00:40 AM
@TranzNDance: sorry, I didn't mean to put you down - in fact I appreciate very much your readiness to help and give support, please keep it up.

GauGau
Title: Re: Login issue
Post by: Tranz on August 20, 2004, 08:21:53 AM
Quote from: GauGau on August 20, 2004, 08:00:40 AM
@TranzNDance: sorry, I didn't mean to put you down - in fact I appreciate very much your readiness to help and give support, please keep it up.

GauGau
Oh, no, I didn't take it as a put-down. I was just sorry for giving incorrect info. :)