Menu

#634 User Preferences do not get saved

PHP_error
closed
8
2021-08-12
2010-08-09
No

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.

Discussion

  • Sébastien Le Callonnec

     
  • Reini Urban

    Reini Urban - 2010-08-10

    Looks good, please apply

     
  • Sébastien Le Callonnec

    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.

     
  • Sébastien Le Callonnec

    Patch to fix Homepage issue

     
  • Sébastien Le Callonnec

    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?

     
  • Marc-Etienne Vargenau

    • status: open --> closed
     
  • Marc-Etienne Vargenau

    Fixed in PhpWiki 1.6.0

     

Log in to post a comment.