geekitude / dokuwiki-plugin-userhomepage

Dokuwiki plugin to automatically create user's homepage and/or namespace
https://www.dokuwiki.org/plugin:userhomepage
5 stars 9 forks source link

Wiki not loading after installing #6

Closed oars closed 9 years ago

oars commented 9 years ago

I added the plugin through the extension manager and somehow nothing loads now. Any suggestions?

geekitude commented 9 years ago

Hi

I'm sorry to hear that the userhomepage plugin is responsible for such a thing :( Can you tell me more about your environment (dokuwiki version, type of server hosting it). Do you use some authentication plugin?

2014-11-27 18:50 GMT+01:00 Oscar Ramirez notifications@github.com:

I added the plugin through the extension manager and somehow nothing loads now. Any suggestions?

— Reply to this email directly or view it on GitHub https://github.com/geekitude/dokuwiki-plugin-userhomepage/issues/6.

geekitude commented 9 years ago

Do you use any of these options: userewrite, useslash, sepchar or canonical options?

bmolitor commented 9 years ago

I ran into the same issue, manually deleted the plugin and reinstalled the old version for now. I'm using dokuwiki 2014-09-29a on Apache2 with php5.3. Regarding those dokuwiki configuration options you asked: authtype "authplain", useacl 1, userewrite ".htaccess", useslash 1, sepchar "_", canonical 0. Hope this helps.

geekitude commented 9 years ago

Thanks for the feedback. The options should help me reproduce the problem and investigate.

oars commented 9 years ago

Sorry for the late reply.

dokuwiki>cat VERSION 2014-09-29a "Hrun"
Apache2 with php5.3
PHP 5.3.10-1ubuntu3.15

authtype   = "authplain"
useacl     = 0
userewrite = 0
useslash   = 0
sepchar    = '_'
canonical  = 0
geekitude commented 9 years ago

@Oscar: I haven't been abble to reproduce the problem, I would need the portion of your Apache error log that show what happens when you tryied to access your wiki after installation of the plugin :/

2014-12-01 17:41 GMT+01:00 Oscar Ramirez notifications@github.com:

Sorry for the late reply.

dokuwiki>cat VERSION 2014-09-29a "Hrun" Apache2 with php5.3 PHP 5.3.10-1ubuntu3.15

authtype = "authplain" useacl = 0 userewrite = 0 useslash = 0 sepchar = '_' canonical = 0

— Reply to this email directly or view it on GitHub https://github.com/geekitude/dokuwiki-plugin-userhomepage/issues/6#issuecomment-65093219 .

geekitude commented 9 years ago

@bmolitor: when I enable any type of 'userrewrite' option, I get a "Page not found". Is it your case or you get a blank page? I guess I would also need the Apache error log to try to understand what's going on. Can you also send the old plugin options?

2014-12-01 10:22 GMT+01:00 bmolitor notifications@github.com:

I ran into the same issue, manually deleted the plugin and reinstalled the old version for now. I'm on Apache2 with php5.3. Regarding those dokuwiki configuration options you asked: authtype "authplain", useacl 1, userewrite ".htaccess", useslash 1, sepchar "_", canonical 0. Hope this helps.

— Reply to this email directly or view it on GitHub https://github.com/geekitude/dokuwiki-plugin-userhomepage/issues/6#issuecomment-65038199 .

bmolitor commented 9 years ago

@geekitude: as far as I recall, an empty reply came back; access log indicates a response with http status 500, not 404. The error log, unforunately, already rotated out of existence - might be a few days before I find the time to reproduce again and send the error log.

For the time being, old plugin options are as follows: use_name_string 0 use_start_page 1 set_permissions 0 set_permissions_others read templatepath lib/plugins/userhomepage/_template.local.txt users_namespace user group_by_name 0 edit_before_create 0

Am 02.12.2014 um 09:14 schrieb Simon DELAGE:

@bmolitor: when I enable any type of 'userrewrite' option, I get a "Page not found". Is it your case or you get a blank page? I guess I would also need the Apache error log to try to understand what's going on. Can you also send the old plugin options?

geekitude commented 9 years ago

I'm really sorry but I haven't been able to reproduce the problem.

My guess is it is a problem with redirection so I will shortly add an option to enable or disable auto redirection (disabled by default)

geekitude commented 9 years ago

I'm still trying to replicate that bug. Can you send me you whole local.php file and tell me what's the url to your Wiki start page?

bmolitor commented 9 years ago

Sorry for the delay. Here are some things I tried:

still to no avail - after each of those steps, when I upgrade userhomepage from 3.0.4 to current (or install the current version from scratch), I get a blank page; apache access log shows a status 500, error log shows nothing. To revive the wiki I need to manually delete the plugin in lib/plugins.

I'll send you the requested information via direct mail.

geekitude commented 9 years ago

Added a test on useacl option today that might solve the problem for Oscar (if it does, I apologize for not seeing that earlier when you sent your options values).

geekitude commented 9 years ago

Issue reported as solved by bmolitor (thanks for his patience and contribution). Keeping issue opened for a few more months just in case.

geekitude commented 9 years ago

Closing the issue