RE: [PHP] mcal-problems

From: Date: Thu, 18 Oct 2001 00:05:11 +0000
Subject: RE: [PHP] mcal-problems
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-71426@lists.php.net to get a copy of this message
At 19:06 -0400 17-10-01, Matthew Loff wrote: >Did you create the mcal username/password file? > >Use the htpasswd utility included with apache to create a file called >/etc/mpasswd with the username/password combinations you want to use. > >(That was the problem I had with getting mcal to work) No progress - the message is still: "Warning: Couldn't open stream mycalendar in /usr/www/htdocs/cal/index.php on line 2". Still looks like it thinks that the first parameter is a stream and not the calendar name. Strange. >-----Original Message----- >From: Morten Dreier [mailto:mdreier@pobox.com] >Sent: Wednesday, October 17, 2001 6:25 PM >To: php-general@lists.php.net >Subject: [PHP] mcal-problems > > >I've installed mcal, but can't get it to work. >setup: RedHat 7.0, php 4.0.6, apache 1.3.20 and libmcal 0.6. > >my testscript: ><?php // -*- c++ -*- >$test=mcal_open("mycalendar","myuser","mypass"); >?> > >and my error: >Warning: Couldn't open stream mycalendar in >/usr/www/htdocs/cal/index.php >on line 2 > >Obviously, the manual is wrong, since it states that the function >returns >a stream, and the first parameter should be the calendar name. > >I'm stuck - any clues, anyone? > >-- >Morten Dreier >Institutt for Datateknikk og Informasjonsvitenskap >http://www.idi.ntnu.no/~mdreier/ > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Morten Dreier http://www.pobox.com/~mdreier/

« previous php.general (#71426) next »