bugphpGroupWare - Bugs: bug #8354, problem in the setup/setup.inc.php...


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

bug #8354: problem in the setup/setup.inc.php processus

Submitter:  Caeies <Caeies>
Submitted:  Mon 29 Mar 2004 11:21:26 AM UTC
Category:  API - Setup Item Group: release
Severity:  3 - Normal Priority:  7 - High
Status:  None Privacy:  Public
Assigned to:  alexbsa Open/Closed:  Open
Component Version:  SVN Operating System:  GNU/Linux - Debian
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Mon 19 Jul 2004 03:22:10 PM UTC, comment #3: 

it is not a problem in the ldap backend.

the setup_demo.php script will delete all accounts in the database when creating the new accounts. it is not using
the account backend to do this job :-(

additionally it will delete all contacts which were created by the addressmaster (account - contact link). In the delete function of the contacts backend could be a problem. It seems that somebody has adapted this function already:

function delete($cid, $contact_type='', $transaction=True)
// check for hooks saying "do not delete"
if(!is_object($GLOBALS['phpgw']->hooks) )
  $GLOBALS['phpgw']->hooks = createObject('phpgwapi.hooks');

Are you still getting the problem?
If you do, lex probably is better in fixing this problem.

Philipp Kamps <fipsfuchs>
Wed 30 Jun 2004 08:56:31 AM UTC, comment #2: 

I'm on my way to some holidays in turkey. so this one will take a while before i fix it (around 3 weeks) - sorry for that.

Philipp Kamps <fipsfuchs>
Mon 29 Mar 2004 11:22:06 AM UTC, comment #1: 

Hum I miss the file :)
it is setup/setup_demo.php, sorry :)


Caeies <Caeies>
Group administrator
Mon 29 Mar 2004 11:21:26 AM UTC, original submission:  


I will try to be clear :)

In the setup process, when trying to create new people, there is a call at line 194 to the $contacts->delete() function.

Nothing wrong with this, but it seems that the object $GLOBAL['phpgw']->hooks is not yet instantiated and that $contacts->delete() function use it. (at least when using LDAP accounts)

So I don't know if this a bug or not (ie instantiated before because your are not comming here for the first time but need to setup a new install over an existing one ...), but it should be investigated I think :)

Thanks in advance,


Caeies <Caeies>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-07-19 fipsfuchs Assigned tofipsfuchs alexbsa
2004-06-30 skwashd Assigned toNone fipsfuchs
2004-06-07 harriv Carbon-Copy- Added harriv

Back to the top

Powered by Savane 3.13-7b9d.
Corresponding source code