bugphpGroupWare - Bugs: bug #1352, phpwebhosting erases user's...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #1352: phpwebhosting erases user's preferences upon first interaction

Submitted by:  Michael Totschnig <totschnig>
Submitted on:  Mon 07 Oct 2002 08:06:06 PM UTC  
 
Item Group: 0.9.14 releaseCategory: filemanager
Severity: 3 - NormalPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: NoneOperating System: GNU/Linux - RedHat/Fedora
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Sat 23 Nov 2002 03:29:38 AM UTC, comment #2:

This has been corrected in CVS.

To grab a complete update of all fixes:

1) Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite
distro.

2) Then just type:
'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and
will always get the most current bug fixes.

Thanks,

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Thu 10 Oct 2002 03:46:05 AM UTC, comment #1:

I have replicated this problem. Will test the patch. Thanks

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Mon 07 Oct 2002 08:06:06 PM UTC, original submission:

When a new user goes for the first time into phpwehosting, and then clicks on the link to one level up from his home directory into /home, all his preferences (interface selection, language, etc.) get reset to the default values.
The following patch seems to solve the problem:

--- index.php.orig Mon Oct 7 15:35:05 2002
+++ index.php Mon Oct 7 16:05:17 2002
@@ -611,6 +611,7 @@
if (!is_array ($GLOBALS['settings']))
{
$pref = CreateObject ('phpgwapi.preferences', $GLOBALS['userinfo']['username']);
+ $pref->read_repository ();
$GLOBALS['phpgw']->hooks->single ('add_def_pref', $GLOBALS['appname']);
$pref->save_repository (True);
$pref_array = $pref->read_repository ();

Michael Totschnig <totschnig>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 23 Nov 2002 03:29:38 AM UTCskwashdOpen/ClosedOpen=>(Error - Not Found)
Thu 10 Oct 2002 03:46:05 AM UTCskwashdAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1