Re: [MRBS-general] Authentication Problems
Brought to you by:
jberanek
From: Matthew P. <md...@yo...> - 2004-06-21 12:51:11
|
Hi Gavin, Thank you very much for your quick reply. The problem was with the session.save_path, it was writing to a tmp directory that did not exist. Have changed the php.ini file and everything is fine now. Thanks again Matt Gavin Walker wrote: > Matt > > See comments below. > > Regards > > Gavin > > MDJ Paradis <md...@yo...> wrote on 21.06.2004, 12:54:22: > >>I have recently downloaded and installed MRBS (1.2-pre3) on a windows xp >>machine running Apache 2.0.47, PHP-4.3.3 and mysql 4.0.15. >> >>I am using the php/config method for authentication (out of the box set up) >>but the system does not allow me to log in as any of the users or >>administrator. > > > Can you please try setting $auth["session"] = "cookie"? You will > need to enable cookie's in your browser if you have disabled them. > Hopefully this will get you started with your eval.. > > The next thing to do is to see if there is a problem with php > sessions. > > Create a web page with the contents '<?php phpinfo() ?>' (omit the ') > and then load it in a web browser. Once the page is displayed search > for "session.save_path" and ensure that this directory exists on your > system and the apache server has sufficient rights to write to this > location. > > Let me know how this goes - there may be an issue with php sessions on > Windows. > > >>If I set the session setting to http the I CAN log on as the administrator >>but cannot log out or access the log in button for normal users. > > > This is correct behaviour as http Basic Authentication has no logout > mechanism. This is not related to MRBS but to the web server/browser. > To logout you will need to close all of your browser windows and then > when you try to access MRBS again you will be prompted for your > password. At this point you can log in as a different user. > > > >>One note...not sure if this makes a difference but I have disabled unicode >>support in the mbrs config file. > > > Should make no difference. -- matthew paradis systems administrator mrc - music research centre department of music university of york tel: 01904-43-2435 md...@yo... |