Hello,
do someone know the reason of this fealure ?
--> Undefined offset:
Please look here and help me:
http://wow-bonfire.de/roster/addon.php? ... =guildbank
Thank a lot !
Greetings Peter
Moderator: Mathos
Notice: Undefined offset: 1 in /home/hbwow/public_html/roster/addons/guildbank/gbank.php on line 247
Notice: Undefined offset: 2 in /home/hbwow/public_html/roster/addons/guildbank/gbank.php on line 247
$real_itemid = $itemid_array[0].':'.$itemid_array[1].':'.$itemid_array[2];
DELETE FROM roster_items
WHERE item_id NOT LIKE '%:%:%'
;
Fangorn wrote:
- Code: Select all
DELETE FROM roster_items
WHERE item_id NOT LIKE '%:%:%'
;
Does it fix your issue?
- Fang
Skeeziks wrote:Fangorn wrote:
- Code: Select all
DELETE FROM roster_items
WHERE item_id NOT LIKE '%:%:%'
;
Does it fix your issue?
- Fang
I was having the same exact problem and doing this query fixed it. Thanks Fang. =)
Thorstone wrote:Skeeziks wrote:Fangorn wrote:
- Code: Select all
DELETE FROM roster_items
WHERE item_id NOT LIKE '%:%:%'
;
Does it fix your issue?
- Fang
I was having the same exact problem and doing this query fixed it. Thanks Fang. =)
Well the problem is just fixed one time.
After another uniuploader run. the problem comes back ..
Might be something in character profiler ?
while($itemArrayRow = $wowdb->getrow($DBitemArray))^M
{
if ($itemArrayRow['item_id']!='') {
$itemsarray[$category][$real_itemid]['banker'][$itemArrayRow['member_id']] += $itemArrayRow['item_quantity'];^M
}
}
// Process the results of the item-query on the database
$itemsarray = array();
while($itemArrayRow = $wowdb->getrow($DBitemArray))
{
if ($itemArrayRow['item_id']!='') {
if ($category = CheckCategory2($itemArrayRow['item_tooltip'], $itemArrayRow['item_id']))
{
// The CategoryID check succeeded so this is a Wanted item (probably :)
// Let's shove it in the array using the following array schema:
// $items[$catagory][$realitemid] = Array with a Per Banker quantity as well
// From the Query we get the following:
// member_name, member_id, item_name, item_parent, item_slot, item_color, item_id, item_texture, item_quantity, item_tooltip, item_id, real_itemid, total_quantity
// $real_itemid = $itemArrayRow['real_itemid']; // Changed to item_id to solve duplicate real_itemid numbers for different items
$itemid_array = explode(':', $itemArrayRow['item_id']);
$real_itemid = $itemid_array[0].':'.$itemid_array[1].':'.$itemid_array[2];
$itemsarray[$category][$real_itemid]['item_name'] = $itemArrayRow['item_name'];
$itemsarray[$category][$real_itemid]['item_color'] = $itemArrayRow['item_color'];
$itemsarray[$category][$real_itemid]['item_id'] = $itemArrayRow['item_id'];
$itemsarray[$category][$real_itemid]['item_texture'] = $itemArrayRow['item_texture'];
$itemsarray[$category][$real_itemid]['item_tooltip'] = $itemArrayRow['item_tooltip'];
$itemsarray[$category][$real_itemid]['item_parent'] = $itemArrayRow['item_parent'];
if (!isset($itemsarray[$category][$real_itemid]['quantity']))
{
$itemsarray[$category][$real_itemid]['quantity'] = 0;
}
$itemsarray[$category][$real_itemid]['quantity'] += $itemArrayRow['item_quantity'];
// Adding the Per Banker quantity inside the array
if (!isset($itemsarray[$category][$real_itemid]['banker'][$itemArrayRow['member_id']]))
{
$itemsarray[$category][$real_itemid]['banker'][$itemArrayRow['member_id']] = 0;
}
$itemsarray[$category][$real_itemid]['banker'][$itemArrayRow['member_id']] += $itemArrayRow['item_quantity'];
}
}
}
"// Set the color of the Filter and Result table border"
Return to Categorized Guild Bank
Users browsing this forum: No registered users and 1 guest