From: shoogun <pi...@go...> - 2007-07-21 10:09:31
|
Hi, I had a similar problem with tracker on php 4.3.11. PHP Warning: Illegal offset type in /home/www/eg/tracker/inc/class.botracker.inc.php... In function get_stuff I changed this lines: // some caching if (isset($staff_cache[$tracker]) && isset($staff_cache[$tracker][$return_groups]) && isset($staff_cache[$tracker][$return_groups][(int)$technicians])) { //echo "from cache"; _debug_array($staff_cache[$tracker][$return_groups][(int)$technicians]); return $staff_cache[$tracker][$return_groups][(int)$technicians]; } on this: $technicians_no=(int)$technicians; $tracker_no=(int)$tracker; // some caching // if (isset($staff_cache[$tracker]) && isset($staff_cache[$tracker][$return_groups]) && // isset($staff_cache[$tracker][$return_groups][(int)$technicians])) if (isset($staff_cache[$tracker_no][$return_groups][$technicians_no])) { //echo "from cache"; _debug_array($staff_cache[$tracker][$return_groups][(int)$technicians]); return $staff_cache[$tracker][$return_groups][$technicians_no]; } and now it seems to work fine. ---- Best regards, Shoogun clorenzo wrote: > > Hi Again. > > I have more information on this. > > it seems to work better now > > I have deactivete the vote and the assign to groups and now the list of > items is retrieved. > > I now notice that the problem cames after i allowed all possible kinds of > people to vote and to add items and add comments > > if i deactivate the vote or limit the vote option for kind of users All, > then it displays the list. > > I also are having erros in the add item, > > Fatal error: zval::refcount integer overflow detected in > /srv/www/htdocs/egroupware/phpgwapi/inc/class.common.inc.php on line 470 > > Warning: Cannot use a scalar value as an array in > /srv/www/htdocs/egroupware/phpgwapi/inc/class.common.inc.php on line 339 > > Fatal error: Call to a member function on a non-object in > /srv/www/htdocs/egroupware/phpgwapi/inc/class.common.inc.php on line 339 > > I im trying to rever the permissions to defaults, im making a little table > with the permissions and ask for the meaning and inform the error i get on > any change. > > Many Thanks > > -- View this message in context: http://www.nabble.com/Tracker-Error%2C-36-items-added%2C-and-now-cannot-access-tracker-tf3913961s3741.html#a11721137 Sent from the egroupware-users mailing list archive at Nabble.com. |