Even with caching turned off completely, it still segfaults and crashes on mgd_auth_midgard.
Turning on debugging in apache also shines no further light on this. Cheers Mike. -----Original Message----- From: Tarjei Huse [mailto:[EMAIL PROTECTED] Sent: 23 November 2004 09:44 To: midgard Subject: RE: [midgard-user] Apache 2 Segmentation Fault Hi, one question: Does this: > ?> > <? ^^^ Produce an lineshift on output? If so, that might be your problem. Tarjei > if ($midgard && $midgard->style == 0) { > ?><? > $username = "admin"; > $password = "mypassword"; > if (mgd_auth_midgard($username,$password,true)) { > echo "Login successful<br>"; > } else { > echo "Login failed<br>"; > } > ?><? > } else { > ?><? > $username = "admin"; > $password = "mypassword"; > if (mgd_auth_midgard($username,$password,true)) { > echo "Login successful<br>"; > } else { > echo "Login failed<br>"; > } > ?><? > }?> > > Cheers > > Mike. > > > -----Original Message----- > From: Tarjei Huse [mailto:[EMAIL PROTECTED] > Sent: 22 November 2004 16:20 > To: midgard > Subject: Re: [midgard-user] Apache 2 Segmentation Fault > > > > An example script that segfaults: > > > > <? > > $username = "admin"; > > $password = "mypassword"; > > if (mgd_auth_midgard($username,$password,true)) { > > echo "Login successful<br>"; > > } else { > > echo "Login failed<br>"; > > } > > ?> > Hi, are you running MMP? If so, would you mind posting the whole MMP cached > copy of this script? > > Tarjei > > Unless there is some very strange coincidences going on, it is unlikely to > > be machine specific related (it occurs on 3 separate machines, one with > > Mandrake linux, one with gentoo 2004.1 and one with gentoo 2004.3 - both > > with the latest updates) > > > > So I am stumped and with the anticipated depreciation of the apache 1 > > module, now starting to get a little worried. > > > > I am not sure which data/logs etc to provide - if you can let me know what > > would be useful? Any help would me most appreciated. > > > > By the way, on a completely separate issue - does anyone know of a good OS > > document management system that would work with Midgard? > > > > Cheers > > > > Mike > > > > > > ---------------------------------------------------- > > Michael Ross - Pan Leeds Web Developer > > > > Health Informatics Service Tel: (0113) 305 7417 > > 2nd Floor Fax: (0113) 305 7398 > > North West House > > West Park Ring Road > > West Park > > Leeds > > LS16 6QU > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Tarjei Huse <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
