Bug #8424 [Opn]: Related to debug and logging errors
| From: | lsmith@php.net | Date: | Sun, 13 Aug 2006 13:19:52 +0000 |
| Subject: | Bug #8424 [Opn]: Related to debug and logging errors | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-8288@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=8424&edit=1
ID: 8424
Updated by: lsmith@php.net
Reported By: richard dot udo at gmail dot com
Status: Open
Id: 8424
Type: Bug
Package: Documentation
Operating System: Winxp
PHP Version: 5.1.4
New Comment:
the following diff should probably fix the issue
RCS file: /repository/pear/LiveUser_Admin/Storage/SQL.php,v
retrieving revision 1.60
diff -u -r1.60 SQL.php
--- SQL.php 17 Jul 2006 16:50:21 -0000 1.60
+++ SQL.php 13 Aug 2006 12:41:39 -0000
@@ -779,7 +779,7 @@
// handle single column join
} else {
$filters[] =
$this->prefix.$this->alias[$root_table].'.'.$this->tables[$root_table]['joins'][$table].'
= '.
-
$this->prefix.$this->alias[$table].'.'.$this->tables[$root_table]['joins'][$table];
+
$this->prefix.$this->alias[$table].'.'.$this->tables[$table]['joins'][$root_table];
}
unset($tables[$table]);
}
Previous Comments:
------------------------------------------------------------------------
[2006-08-13 08:48:11] richard dot udo at gmail dot com
Description:
------------
LiveUser_Admin / LiveUser
------------------------------
Couldnt work out a way to join multiple tables when retrieving users.
Initially the user id colum of one table was authuserid liveuser_users
and auth_user_ud in liveuser_perm_users tables. So i tried to a join on
liveuser_users.authuserid and liveuser_perm_users.auth_user_id without
much luck.
From the code i investigated .... Admin/Storage/SQL.php ....
around line 796
>>>>>>>>>>
$filters[] =
$this->prefix.$this->alias[$root_table].'.'.$this->tables[$root_table]['joins'][$table].'
= '.
$this->prefix.$this->alias[$table].'.'.$this->tables[$root_table]['joins'][$table];
<<<<<<<<<<<<<<<<<<<<<
it doesnt look like this is possibe
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=8424&edit=1