From: Greg W. <we...@fa...> - 2004-01-12 17:22:15
|
I can't replicate this problem, but in addition to this person, another person wrote to me saying the same thing: once they set up a .htaccess file, they couldn't use PHPiCalendar. Is this a real problem, or have they set some other configuration variable wrong or something? Is this an appropriate fix? Thanks, Greg Westin --- http://www.gregwestin.com/ Contact info: http://www.gregwestin.com/contact.php ---------- Forwarded message ---------- Date: Mon, 12 Jan 2004 09:50:06 -0500 (EST) From: M. Parsi <ma...@ld...> To: we...@fa... Subject: Re: ical + WebDAV + phpical Hi Greg, Thanks for getting back to me. You will have to patch the php code to make it work. All other operations are functional, but as soon as you add an htaccess file or directive to this location the web view access stops working. In: calendar_functions.php Change: if (isset($_SERVER['PHP_AUTH_USER'])) { To: if ((isset($_SERVER['PHP_AUTH_USER'])) && ($allow_login == 'yes')) { My problems were solved. regrads, mahdad > From: Greg Westin <we...@fa...> > Subject: Re: ical + WebDAV + phpical > Date: Sun, 11 Jan 2004 17:15:49 -0500 > To: Mahdad Parsi <mp...@co...> > X-Spam-Score: 0 () > X-Scanned-By: MIMEDefang 2.35 > X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on lamont.ldeo.columbia.edu > X-Spam-Level: > > Dear Mahdad, > > Someone else just reported a similar problem to me, and I have no idea > what might be causing it. If you figure it out, please let me know > what is wrong. > > Can you publish calendars OK from iCal? > > Would you mind sending me you config.inc.php file from PHPiCalendar? > > Greg > -- > http://www.gregwestin.com > Contact info: http://www.gregwestin.com/contact.php > > On Jan 9, 2004, at 2:33 PM, Mahdad Parsi wrote: > > > Hi, > > > > Thanks for a great instruction on how to > > setup ical/WebDAV/phpicalendar. One question, > > if you don't mind. > > > > When I make the ical folders password protected > > (mod_digest or basic), phpicalendar reports > > various php errors, and it is unable to read my calendars. Once I > > remove the ht protection. It all works fine. > > > > Error: Warning: in_array(): Wrong datatype for second argument in > > .../phpicalendar/functions/calendar_functions.php on line 50. > > > > Any ideas? > > > > > > Thanks in advance. > > > > mahdad = Mahdad Parsi LDEO 61 Route 9W Palisades, NY 10964 = Ph: 845-365-8698 Fx: 845-365-8150 = PGP PUBLIC KEY http://www.ldeo.columbia.edu/~mahdad/Personal/pgp.html |