Hello, On Mon, May 28, 2007 00:47, Frank wrote: > After entering the permision items in the box 'Permissions granted by' I > get the following report > > "UserAuth II Administration > Settings could not be saved. Please contact the system administrator. > Back to UserAuth main page." > > The same happens if I add a user. There I get the error message > "Settings could not be saved. Please contact the system administrator.". > But the new user is nevertheless visible in the admin table afterwards. > The files used for storing the data in the cookbook\userauth2\ are all > empty. > > Any idea? > > My configuration: Win98/Apache2.2.4/php 5.2.1 > /pmWiki2.2.0-beta50/UserAuth2 2.0-stable5 (2007-05-26) >
Not many ideas from my side. Usually I would indeed say permissions, but are there permission settings in PHP on Win98? Rather not I guess. But you can manually look yourself whether cookbook\userauth2 or dirs below have some write protection set. Second guess: Problems with forward/backward slashes? I'm no expert in this, but might cookbook\userauth2\ (or cookbook\\userauth2\\) instead of cookbook/userauth2/ in the directory variables (beginning of UserAuth2) help? Or might you even have tried this already? (I have never used PHP on Windows, thus no definite answer.) If you replace slashes by backslashes, it will be also necessary in the functions starting from line 872 in cookbook/userauth2.php. For a detailed analysis, we should focus on adding a user. The relevant code is in userauth2/userauth-admintool.php, starting from line 325. (The lock files ensure only that one record is not editted by two persons at the same time. They start with a dot. Considering your observations it has nothing to do with the locking.) What is particularly puzzling is indeed that the new user appears in the table. From the code there is no reason why this should happen. Thomas _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
