bugphpGroupWare - Bugs: bug #9695, fudforum dose not operate

 
 

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

bug #9695: fudforum dose not operate

Submitted by:  Yoshihiro Kamimura <itheart>
Submitted on:  Tue 20 Jul 2004 02:37:19 AM UTC  
 
Item Group: 0.9.16.001Category: phpgw-FUDForum
Severity: 1 - WishPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: TGZOperating System: GNU/Linux - RedHat/Fedora
Reproducibility: NonePlanned Release: 0.9.16.001+
Fixed Release: 

Fri 25 Mar 2005 12:05:45 AM UTC, comment #3:

It appears that the patch mentioned here, solves the issue, but I dont see it on the 0.9.16 branch in cvs.

It looks to be ok in revision 1.1.1.1, due to default value of get_list(), but not in revision 1.1.1.1.2.1.

Also, does it matter what order the fud accounts gets created in. If not then the simple form of get_list('accounts') should also work, right.

Sonni <sonni>
Sat 31 Jul 2004 09:46:36 PM UTC, comment #2:

Please test the attached patch.

Format: CVS RCS

Affects: fudforum/index.php

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Sat 31 Jul 2004 11:00:17 AM UTC, comment #1:

fudforum/index.php is calling get_list() arguments are five items. But, phpgwapi/inc/class.accounts_sql.inc.php's get_list() arguments are six items.

fudforum/index.php:201
$users = $GLOBALS['phpgw']->accounts->get_list('accounts', -1,'ASC','account_lid', -1);

phpgwapi/inc/class.accounts_sql.inc.php:113
function get_list($_type='both',$start = -1,$sort = '', $order = '', $query = '', $offset = -1)

Please, check it.

Yoshihiro Kamimura <itheart>
Tue 20 Jul 2004 02:37:19 AM UTC, original submission:

I operate item..

1. recreate tables and resetup phpGroupWare.
2. login user.
3. user accounts Permissions this user has fudforum.
4. click save button.
5. logout user and relogin user.
6. click fudforum (menu)
7. show error message

Warning: Invalid argument supplied for foreach() in /home/httpd/html/phpgroupware/fudforum/index.php on line 202

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/html/phpgroupware/fudforum/index.php:202) in /home/httpd/html/phpgroupware/fudforum/index.php on line 219

please, check it.

Yoshihiro Kamimura <itheart>

 

Attached Files
file #1613:  fud-account-fix.diff added by skwashd (409B - text/x-patch)

 

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 31 Jul 2004 11:58:09 PM UTCitheartOpen/ClosedOpen=>Closed
Sat 31 Jul 2004 09:46:36 PM UTCskwashdAttached File-=>Added fud-account-fix.diff, #1548

Back to the top


Powered by Savane 3.1-cleanup1