#634 User Preferences do not get saved

PHP_error
open
8
2012-10-11
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

     
    Attachments
  • 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

     
    Attachments
  • 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?

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks