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

Submitter:  Kai Hofmann <powerstat>
Submitted:  Fri 23 Apr 2004 01:39:54 PM UTC
   
 
Category:  API - phpGroupware API Item Group:  0.9.16.000 release
Severity:  6 - Security Priority:  9 - Immediate
Status:  Works For Me Privacy:  Public
Assigned to:  jarg Open/Closed:  Closed
Component Version:  SVN Operating System:  GNU/Linux - Debian
Reproducibility:  None Planned Release:  None
Fixed Release: 

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>
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>
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>
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>
Group 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>

 

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

Date Changed by Updated Field Previous Value => Replaced by
2004-05-06 jarg Open/ClosedOpen Closed
2004-05-01 jarg StatusNone Works For Me
2004-04-23 alexbsa Assigned toalexbsa jarg
2004-04-23 skwashd Assigned toskwashd alexbsa

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code