From: Reini U. <ru...@x-...> - 2004-06-23 07:16:13
|
EAG...@RE... schrieb: > Hi, I fix the problem but when I get the second page I see this error message: > > PHP Warnings > lib/main.php:61: Notice[8]: wikirequest(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition <b>file_passwd</b> of the object you are trying to operate on was loaded _before_ the session was started > > any idea ? Yes, File_Passwd is still not loaded. All these error have been fixed in recent CVS snapshots. 1.3.10 I forgot to move the loader upwards. (works there only for DbSessions) > -----Mensaje original----- > De: php...@li... > [mailto:php...@li...]En nombre de Reini > Urban > Enviado el: miércoles, 16 de junio de 2004 6:25 > Para: php...@li... > Asunto: Re: [Phpwiki-talk] user authentication > > > [CC deleted. we prefer to keep the conversation on the list only. No > need to send it personally also] > > EAG...@RE... schrieb: > >>Setting USE_DB_SESSION=true I still have the same problem. >> >>Setting USE_DB_SESSION=false I have this error message: >> >>*Fatal error*: Cannot instantiate non-existent class: file_passwd in >>*/usr/local/apache/htdocs/phpwiki-1.3.10/lib/WikiUserNew.php* on line *2122* >>Any idea ? > > > This was fixed in CVS. > Add > include_once(dirname(__FILE__)."/pear/File_Passwd.php"); > before that > // "__PHP_Incomplete_Class" > line > > >> -----Mensaje original----- >> *De:* php...@li... >> [mailto:php...@li...]*En nombre de >> *Barrow H Kwan >> *Enviado el:* martes, 15 de junio de 2004 12:17 >> *Para:* Reini Urban <rurban >> *CC:* php...@li...; >> php...@li... >> *Asunto:* Re: [Phpwiki-talk] user authentication >> >> >> I have the same problem ( I have posted this few days ago on a >> different thread but got no answer ). I use Postgresql to store >> pages and use file base authentication. I did try to set >> USE_DB_SESSION to true ( try to set it to false as well ), but it >> didn't work ( in fact I got some error when I set it to false ). >> >> Does the authentication really work on phpwiki? I didn't mean it is >> broken but not work as everyone thought. ( I don't think login in >> each page is right ). >> >> >> >> >> *Reini Urban <ru...@x-...>* >> Sent by: php...@li... >> >> 06/15/2004 07:39 AM >> >> >> To >> >> cc >> php...@li... >> Subject >> Re: [Phpwiki-talk] user authentication >> >> >> >> >> >> >> >> >> EAG...@RE... schrieb: >> > I have the same problem using File authentication, (a file like >> /etc/shadow) , >> > I need login in each page. >> > Is these solution right for my problem ? >> >> No, you are experienceing lost sessions. >> You can try to set USE_DB_SESSION true or false, until you find the >> real >> solution to your problem. >> >> > -----Mensaje original----- >> > De: php...@li... >> > [mailto:php...@li...]En nombre de Reini >> > Urban >> > Enviado el: martes, 15 de junio de 2004 4:00 >> > Para: Lisa Glendenning >> > CC: php...@li... >> > Asunto: Re: [Phpwiki-talk] user authentication >> > >> > Lisa Glendenning schrieb: >> >>I am trying to use HttpAuth to authenticate through a Kerberos pop-up >> >>window. This is working fine - except for anything requiring >> >>administrative privileges. It is basically impossible to log on >> as the >> >>administrator. I have tried making the adminstrator an existing >> >>Kerberos user and a separate WikiWord. I've also tried many >> >>combinations of the user authentication options. No matter what, the >> >>adminstrative login won't 'stick'. Every page asks for the admin >> login, >> >>and actions done won't actually take effect (such as unlocking a >> page). >> >>It will default back to the Kerberos login. Any thoughts? >> > >> > >> > You are right. This is an overthought with HttpAuth. >> > I would suggest to setup an Administrators group and add some >> user (not >> > ADMIN_USER) to this group. This user will have Admin Permissions >> then, >> > but not the special admin login method, which does not work for http >> > auth (yet). >> > >> > I usually create this page: >> > CategoryGroup >> > >> > * [Administrators] >> > >> > and this page: >> > Administrators >> > >> > * MyAdminUser >> > >> > ---- >> > CategoryGroup >> -- >> Reini Urban >> http://xarch.tu-graz.ac.at/home/rurban/ -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |