bugphpGroupWare - Bugs: bug #6161, Error when deleting an account...

 
 

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

bug #6161: Error when deleting an account (contacts related)

Submitted by:  Hsing-Foo Wang <pooh_>
Submitted on:  Sat 25 Oct 2003 10:10:03 AM UTC  
 
Item Group: 0.9.16RC1Category: API - Admin
Severity: 3 - NormalPriority: 5 - Normal
Status: InvalidPrivacy: Public
Assigned to: Jonathan Rivera <jarg>Open/Closed: Closed
Component Version: SVNOperating System: GNU/Linux - RedHat/Fedora
Reproducibility: NonePlanned Release: None
Fixed Release: 

(Jump to the original submission Jump to the original submission)

Wed 18 Feb 2004 09:25:59 PM UTC, comment #10:

can i close this bug?

Jonathan Rivera <jarg>In charge of this item.
Sat 17 Jan 2004 05:49:13 AM UTC, comment #9:

heya pooh

mm, i never can reproduce this error, but i want to know if you still have this error in RC2, please comment if you have this error and any extra information.

thanks

Jonathan Rivera <jarg>In charge of this item.
Wed 05 Nov 2003 12:11:56 PM UTC, comment #8:

well, tested against the latest cvs but still the same error.

Hsing-Foo Wang <pooh_>
Sat 01 Nov 2003 10:38:59 PM UTC, comment #7:

jarg,

it is still there (after most recent cvs)

my:
php=4.3.2-2db
mysql=3.23.49-3

Just made a new db, same problem

Hsing-Foo Wang <pooh_>
Thu 30 Oct 2003 04:54:01 PM UTC, comment #6:

hi pooh_

i am testig and really i can't found the problem, i do what you said that you do and all works fine. Now if you still have this error please say more details about your configuration, what db use? versions of your software(php, db, etc) and all information of this type.

i suppose you already check in your db and the account is there, if not check this please.

thanks.

Jonathan Rivera <jarg>In charge of this item.
Thu 30 Oct 2003 09:38:07 AM UTC, comment #5:

ok, I just created a new db for use with the latest cvs

I created the admin and demo accounts, setup is fine.

Now I try to delete the demo3 phpgw account and choose Delete all records. This results in a blank page and the account is not deleted. Unfortunately no errors in the logs.

Hsing-Foo Wang <pooh_>
Tue 28 Oct 2003 11:06:57 AM UTC, comment #4:

Update:
with class.contacts_sql.inc.php 1.17.2.2.2.32 it still exists

Hsing-Foo Wang <pooh_>
Mon 27 Oct 2003 04:12:04 PM UTC, comment #3:

Hi Jarg, eald,

I have class.contacts_sql.inc.php 1.17.2.2.2.26 as the latest cvs update.

The error is still there, funny thing is I get no errors in my log anymore. The account is not deleted after the error.

The source of the blank html page is:
<html><body></body></html>

Please note that I am NOT assigning the records to another user, but choose the default 'delete all records'. Before assiging the reocrds to another user worked. Now this also gives a blank page...

I'll try it with a new install later tonight if I have the time.

Thanks,
pooh_

Hsing-Foo Wang <pooh_>
Mon 27 Oct 2003 03:49:49 PM UTC, comment #2:

Hi,

this was fixed, and now works for me, please chek if you have the last code, for the first error you can see the patch in the email cvs notification with subject:

[Phpgroupware-cvs] phpgwapi/inc class.accounts_shared.inc.php, 1.48.2.2.2.18, 1.48.2.2.2.19 class.contacts_sql.inc.php, 1.17.2.2.2.25, 1.17.2.2.2.26

the fix was in class.contacts_sql.inc.php in function delete_all.

For the second error, you can see the patch in the email cvs notification with subject:

[Phpgroupware-cvs] infolog/inc class.soinfolog.inc.php, 1.10.2.1.2.9, 1.10.2.1.2.10

Please test again and said me if the error is still there.

thanks.

Jonathan Rivera <jarg>In charge of this item.
Mon 27 Oct 2003 02:40:23 PM UTC, comment #1:

jarg, eald: we spoke about this one, and just curious about the status.

Hsing-Foo Wang <pooh_>
Sat 25 Oct 2003 10:10:03 AM UTC, original submission:

When an account is deleted without assigning records to another user you end up with a blank page.

The log says:
-----------------------

httpd: PHP Warning: Invalid argument supplied for foreach() in /home/e-smith/files/ibays/test/html/phpgwapi/inc/class.contacts_sql.inc.php on line 2213

httpd: PHP Fatal error: Call to a member function on a non-object in /home/e-smith/files/ibays/test/html/infolog/inc/class.soinfolog.inc.php on line 313

Hsing-Foo Wang <pooh_>

 

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 7 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 24 Feb 2004 10:43:30 PM UTCjargStatusWorks For Me=>Invalid
  Open/ClosedOpen=>Closed
Mon 27 Oct 2003 02:40:23 PM UTCpooh_Assigned toNone=>NA
Sun 26 Oct 2003 10:14:53 PM UTCpooh_StatusFixed=>(Error - Not Found)
  Open/ClosedClosed=>(Error - Not Found)
Sun 26 Oct 2003 09:58:50 PM UTCjargStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1