From: William L. <le...@k2...> - 2006-01-22 14:25:57
|
Hello, I started using phpwiki a long while ago, and I am trying to finally upgrade from the 1.2 series to 1.3. So far I've managed to get 1.3.11 up and running, and I managed to dump the pages from 1.2 and load them into 1.3 so in total things are running smooth. Sadly there is one hitch thats keeping me from taking down the 1.2 wiki, and replacing it with 1.3. In the past I had been using HTTP Auth to authenticate my users, but that meant that anyone that wanted to edit the wiki had to go through me, and I had to add an account for them. Its really become quite a pain. So to make life a little easier for all involved I want to change how things are operated. So to that end I have created this list of goals. 1. Allow users to create their own account. 2. Require users to use a password. 3. Allow anonymous viewing. 4. Require Authenticated Editing. From what I have read so far it seems like this should be possible, but I haven't quite yet hit on the right combination of settings to make this work. Does anyone have advice for me, or is anyone willing to show me how to do it. Where the user information is stored isn't an issue, although I would prefer PersonalPage or SQL DB. I'm perfectly capable of creating a sign-up page that inserts records into the user table, and doing it that way, but I'd rather not if there is a better way. Thanks, -Will |
From: Walter R. <wa...@ra...> - 2006-02-18 08:20:13
|
Hello, My ISP updated PHP from version 4.x to 5.1.2. Now phpwiki-1.3.11p1 is broken. I get the following error message: "Fatal error: Cannot redeclare hash() in /www/htdocs/w0056595/phpwiki-1.3.11p1/lib/stdlib.php on line 1616" I looked at the hints provided at http://phpwiki.sourceforge.net/phpwiki/Php5Testing but nothing seemed to help so far. Any ideas? I could post a link to phpinfo(); if that would help. Kind regards, Walter -- Walter Rafelsberger Gaullachergasse 20 / 9-10 A - 1160 Wien +43 699 11 03 25 75 wa...@ra... www.rafelsberger.at ---------------------------------- www.metaportaldermedienpolemik.net |
From: Reini U. <ru...@x-...> - 2006-02-19 14:25:20
|
Walter Rafelsberger schrieb: > My ISP updated PHP from version 4.x to 5.1.2. Now phpwiki-1.3.11p1 is > broken. > I get the following error message: > "Fatal error: Cannot redeclare hash() in > /www/htdocs/w0056595/phpwiki-1.3.11p1/lib/stdlib.php on line 1616" > > I looked at the hints provided at > http://phpwiki.sourceforge.net/phpwiki/Php5Testing > but nothing seemed to help so far. Please rename all function calls to hash() and the hash definition itself from hash to wikihash. lib/stdlib.php:1591 (just the definition) lib/main.php:1229 + 1230 lib/plugin/RateIt.php:217 + 234 lib/Request.php:1159 I'll prepare a 1.3.11p2 package today, because 1.3.12 will need more time to fix all link issues, which came up with introducing semantic relations. -- Reini Urban http://phpwiki.org/ http://helsinki.at/ http://spacemovie.mur.at/ |
From: Reini U. <ru...@x-...> - 2006-02-19 18:24:14
Attachments:
phpwiki-1.3.12.patch.gz
|
Reini Urban schrieb: > Walter Rafelsberger schrieb: >> My ISP updated PHP from version 4.x to 5.1.2. Now phpwiki-1.3.11p1 is >> broken. >> I get the following error message: >> "Fatal error: Cannot redeclare hash() in >> /www/htdocs/w0056595/phpwiki-1.3.11p1/lib/stdlib.php on line 1616" >> >> I looked at the hints provided at >> http://phpwiki.sourceforge.net/phpwiki/Php5Testing >> but nothing seemed to help so far. > > Please rename all function calls to hash() > and the hash definition itself from hash to wikihash. > > lib/stdlib.php:1591 (just the definition) > lib/main.php:1229 + 1230 > lib/plugin/RateIt.php:217 + 234 > lib/Request.php:1159 > > I'll prepare a 1.3.11p2 package today, because 1.3.12 will need more > time to fix all link issues, which came up with introducing semantic > relations. Hmm, I saw that there are too many pending php-5.1 fixes, so I'll release a full phpwiki-1.3.12 soon. The preliminary patch against 1.3.11p1 is attached. There are some issues in the unit tests with orphan pages, and one apache crash. -- Reini Urban http://phpwiki.org/ http://helsinki.at/ http://spacemovie.mur.at/ |
From: Reini U. <ru...@x-...> - 2006-02-19 21:15:31
|
Reini Urban schrieb: > Reini Urban schrieb: >> Walter Rafelsberger schrieb: >>> My ISP updated PHP from version 4.x to 5.1.2. Now phpwiki-1.3.11p1 is >>> broken. >>> I get the following error message: >>> "Fatal error: Cannot redeclare hash() in >>> /www/htdocs/w0056595/phpwiki-1.3.11p1/lib/stdlib.php on line 1616" >>> >>> I looked at the hints provided at >>> http://phpwiki.sourceforge.net/phpwiki/Php5Testing >>> but nothing seemed to help so far. >> Please rename all function calls to hash() >> and the hash definition itself from hash to wikihash. >> >> lib/stdlib.php:1591 (just the definition) >> lib/main.php:1229 + 1230 >> lib/plugin/RateIt.php:217 + 234 >> lib/Request.php:1159 >> >> I'll prepare a 1.3.11p2 package today, because 1.3.12 will need more >> time to fix all link issues, which came up with introducing semantic >> relations. > > Hmm, I saw that there are too many pending php-5.1 fixes, > so I'll release a full phpwiki-1.3.12 soon. Done. > The preliminary patch against 1.3.11p1 is attached. > There are some issues in the unit tests with orphan pages, > and one apache crash. Fixed those. I'm not sure if register_long_arrays with php-5.1.x works good enough with this. No problems with php-4.3.x, but several issues with 5.1.x, with captcha editing and problems to keep user sessions with PrettyWiki urls. -- Reini Urban http://phpwiki.org/ http://helsinki.at/ http://spacemovie.mur.at/ |
From: Reini U. <ru...@x-...> - 2006-02-20 18:12:52
|
2006/2/19, Reini Urban <ru...@x-...>: > I'm not sure if register_long_arrays with php-5.1.x works good enough > with this. > > No problems with php-4.3.x, but several issues with 5.1.x, with captcha > editing and problems to keep user sessions with PrettyWiki urls. So far I only found one issue with rc1: * ImageTile.php was missing (for PhotoAlbum) 5.0.3 works fine. Maybe it's just 5.1 which causes problems. -- Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/ |
From: Oliver B. <li...@gm...> - 2006-02-21 17:54:11
|
Reini Urban wrote: > > so I'll release a full phpwiki-1.3.12 soon. > > Done. does it fix the "Sign in/out problem, user management" problem I reported 2005-11-05? Oliver -- Oliver Betz, Muenchen |
From: Reini U. <ru...@x-...> - 2006-02-21 18:42:32
|
2006/2/21, Oliver Betz <li...@gm...>: > > > so I'll release a full phpwiki-1.3.12 soon. > > Done. > > does it fix the "Sign in/out problem, user management" problem I > reported 2005-11-05? Sessions are fragile. On any theme error or missing server vars it will bre= ak. 1.3.12_rc1 sessions were tested ok for 4.3.x and 5.0.x, but there are remai= ning problems for 5.1.x with register_long_arrays off. -- Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/ |
From: Oliver B. <li...@gm...> - 2006-02-21 19:26:00
|
"Reini Urban" wrote: [phpwiki-1.3.12] > > does it fix the "Sign in/out problem, user management" problem I > > reported 2005-11-05? > > Sessions are fragile. On any theme error or missing server vars it will break. sorry, I don't know the connection between "Sessions" and the problem I reported. Just to avoid any possible misunderstanding: I'm writing about the problem that "as soon as I store preferences, I can't [...] sign in as this user anymore" using ENABLE_USER_NEW = true andf gdbm or db4. And AllUsers doesn't show user with preferences but without homepage. I suspect an error with the user preferences database which is not accessible when using gdbm or db4. > 1.3.12_rc1 sessions were tested ok for 4.3.x and 5.0.x, but there are remaining I'm using PHP 4.3.11. Oliver -- Oliver Betz Geisenbrunner Strasse 84 81475 Muenchen |