Because of a PHP error, user preferences don’t get saved.
This is caused by the $_request instance var of user that gets cleared prior to executing UserPreferences->run.
The attached patch sets this var again to prevent the PHP error.
Following this patch, there is still a peculiar behaviour, which seems however “intended”: the user gets logged out when accessing further pages, and has to log in again - at which point the new layout is applied.
Is this the expected behaviour?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks good, please apply
Re-opening: when a user saves his/her preferences for the first time, the following error is thrown:
lib/WikiTheme.php (In template 'body' < 'html'):1204 Error: themes/MacOSX/templates/homepage.tmpl.tmpl not found
The second patch fixes this issue.
Patch to fix Homepage issue
Following this patch, there is still a peculiar behaviour, which seems however “intended”: the user gets logged out when accessing further pages, and has to log in again - at which point the new layout is applied.
Is this the expected behaviour?
Fixed in PhpWiki 1.6.0