bugphpGroupWare - Bugs: bug #8668, API bug with contacts backend found

 
 

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

bug #8668: API bug with contacts backend found

Submitted by:  Kai Hofmann <powerstat>
Submitted on:  Fri 23 Apr 2004 01:39:54 PM UTC  
 
Item Group: 0.9.16.000 releaseCategory: API - phpGroupware API
Severity: 6 - SecurityPriority: 9 - Immediate
Status: Works For MePrivacy: Public
Assigned to: Jonathan Rivera <jarg>Open/Closed: Closed
Component Version: SVNOperating System: GNU/Linux - Debian
Reproducibility: NonePlanned Release: None
Fixed Release: 

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

Wed 05 May 2004 06:26:24 AM UTC, comment #9:

I will look into this myself with zend studions debugger - later on, because I have to do other things first.

Kai Hofmann <powerstat>
Tue 04 May 2004 07:03:18 PM UTC, comment #8:

dum da da dum, ok i do a grep -srne "ob_\w()"

the files with ob_* functions are:

calendar/inc/class.bocalendar.inc.php
doc/inlinedocparser.php
email/inc/class.svc_debug.inc.php
phpgwapi/inc/class.setup_detection.inc.php
phpgwapi/inc/common_functions.inc.php
setup/index.php
setup/bulk.php
todo/inc/class.so.inc.php

i don't undesrstand how the code in this files hide the erros from the addressbook, but anyway i comment this, i try to reproduce the error, but i can't.

do you have any special configuration?, please tell me more details.

Jonathan Rivera <jarg>In charge of this item.
Tue 04 May 2004 05:40:09 AM UTC, comment #7:

The ob_* functions are used inside of phpgw to hide errors like this one from the end-user.
Best do a search for them and comment them out.

Kai Hofmann <powerstat>
Mon 03 May 2004 08:15:18 PM UTC, comment #6:

mm, i don't understand, i don't use ob_* functions in contacts or addressbook code. and i can;t reproduce the error.

:/?

Jonathan Rivera <jarg>In charge of this item.
Sat 01 May 2004 08:13:07 AM UTC, comment #5:

removing the output buffering code means that you have to comment out the "ob_*" functions that prevent you from seeing errors.
For more see: http://de.php.net/out-control

They eat up error messages fo the end user, but also prevent us from debugging phpgw :(

Kai Hofmann <powerstat>
Sat 01 May 2004 05:28:56 AM UTC, comment #4:

mm, i haven't this problem, i can't reproduce this, please check again, if you really have this problem, please send me more details, so a special configuration or something like this.

thanks.

ah, what do you want to say with "emoving the output buffer code"?

:P

Jonathan Rivera <jarg>In charge of this item.
Fri 23 Apr 2004 10:56:10 PM UTC, comment #3:

tx children.
Will be looked at.... by jarg!

:)

Alejandro Borges (lex) <alexbsa>
Fri 23 Apr 2004 10:38:36 PM UTC, comment #2:

Hi Kai,

Are you trying to sh1t me, or are you just oblivious to the consequences of your own actions?

Contacts is lex - please assign contacts bugs to him next time.

Cheers

Dave

Dave Hall <skwashd>
Project Administrator
Fri 23 Apr 2004 01:44:10 PM UTC, comment #1:

The value of $false_field is 'access'

Kai Hofmann <powerstat>
Fri 23 Apr 2004 01:39:54 PM UTC, original submission:

After setting up a fresh phpgw (0.9.16 cvs) and removing the output buffer code I found the following when clicking on the addressbook page:

Fatal error: Call to undefined function: () in phpgwapi\inc\class.sql_entity.inc.php on line 571

the code line is:

return ($data == sql::null()) ? sql::null() : sql::$type($data);

where $zype is empty and $data = 'public'

Kai Hofmann <powerstat>

 

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

Date Changed By Updated Field Previous Value => Replaced By
Thu 06 May 2004 05:30:40 PM UTCjargOpen/ClosedOpen=>Closed
Sat 01 May 2004 05:28:56 AM UTCjargStatusNone=>Works For Me
Fri 23 Apr 2004 10:56:10 PM UTCalexbsaAssigned toalexbsa=>jarg
Fri 23 Apr 2004 10:38:36 PM UTCskwashdAssigned toskwashd=>alexbsa

Back to the top


Powered by Savane 3.1-cleanup1