svn[1305] Unable to add custom button

Posts from previous Beta sessions

svn[1305] Unable to add custom button

Postby AxeBane » Thu Sep 06, 2007 3:16 am

svn[1305] Unable to add custom button Graphic attached.

Menu configuration screen. Selected guild. Filled in the blanks:
Title: Back to main site
URL: http://www.thedarkexalted.com
Icon: img/backtosite.gif <-- uploaded and verified graphics present

Hit<go> IE 7.0 report error on page:
**********************************************
Line:440
Char: 4
Error: 'response' is null or not an object
Code: 0
URL: http://www.thedarkexalted.com/roster/in ... tion=guild
******************************************************

Button did not appear with or without graphic


SQL Query
********************************************************
SQL Queries
Line Time Query
lib\roster.php
125 0.0016 SELECT `config_name`, `config_value` FROM `roster_config` ORDER BY `id` ASC;
387 0.0006 SELECT * FROM `roster_addon`;
lib\login.php
70 0.0006 SELECT * FROM `roster_account` ORDER BY `account_id` DESC;
admin\menu_conf.php
57 0.0011 SELECT `mb`.*, `a`.`basename`, `a`.`active`
FROM `roster_menu_button` AS mb
LEFT JOIN `roster_addon` AS a
ON `mb`.`addon_id` = `a`.`addon_id`;
77 0.0006 SELECT * FROM roster_menu WHERE `section` = 'guild'
134 0.0005 SELECT `section` FROM roster_menu;
lib\functions.lib.php
1043 0.0009 SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '1' ORDER BY `id` ASC;
1043 0.0008 SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '2' ORDER BY `id` ASC;
1043 0.0007 SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '3' ORDER BY `id` ASC;
1043 0.0016 SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '4' ORDER BY `id` ASC;
1043 0.0008 SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '5' ORDER BY `id` ASC;
1043 0.0009 SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '6' ORDER BY `id` ASC;
1043 0.0007 SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '7' ORDER BY `id` ASC;
1043 0.0008 SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '8' ORDER BY `id` ASC;
1043 0.0008 SELECT `config_name`, `config_value` FROM `roster_addon_config` WHERE `addon_id` = '9' ORDER BY `id` ASC;
lib\menu.php
374 0.0012 SELECT count(`member_id`) AS `amount`, IF(`guild_rank` LIKE '%5%',1,0) AS 'isalt', `class` AS label FROM `roster_members` WHERE `level` >= 30 GROUP BY isalt, label;
492 0.0005 SELECT `name`, `server`, `region` FROM `roster_upload` WHERE `default` = '1' LIMIT 1;
567 0.0008 SELECT `mb`.*, `a`.`basename` FROM `roster_menu_button` AS mb LEFT JOIN `roster_addon` AS a ON `mb`.`addon_id` = `a`.`addon_id` WHERE `a`.`addon_id` IS NULL OR `a`.`active` = 1;
584 0.0006 SELECT * FROM `roster_menu` WHERE `section` IN ('util','realm','guild') ORDER BY `config_id`;
addons\memberslist\inc\search.inc.php
36 0.0009 SELECT `member_id`, `name` FROM `roster_members` ORDER BY `name`;
addons\questlist\inc\search.inc.php
36 0.0006 SELECT `zone`, `quest_name` FROM `roster_quests` ORDER BY `quest_name`;
**********************************************************
Attachments
addbuttonerror.jpg
IE7 error message
addbuttonerror.jpg (116.89 KiB) Viewed 1030 times
AxeBane
WR.net Apprentice
WR.net Apprentice
 
Posts: 19
Joined: Tue Sep 04, 2007 10:01 am

svn[1305] Unable to add custom button

Postby PleegWat » Thu Sep 06, 2007 5:19 am

The icon was designed to always be an interface icon. It has been recently patched to accept an icon shipped with an addon. I've got no idea how it acts if the user specifies an icon.

The error suggests an error is being caused in the php which is caught by the main framework rather than the ajax framework, so that's probably a db query error.

It's a bit of a hassle to get your hands on the real ajax response, so I won't ask you to but I'll test myself instead. However, I probably won't get around to it till this weekend.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

svn[1305] Unable to add custom button

Postby AxeBane » Fri Sep 07, 2007 5:07 am

Fair enough. Let me know if I can do anything else on my end
AxeBane
WR.net Apprentice
WR.net Apprentice
 
Posts: 19
Joined: Tue Sep 04, 2007 10:01 am

svn[1305] Unable to add custom button

Postby Subxero » Fri Sep 07, 2007 7:49 am

For my roster..
title=name of button
url=scope
icon=URL of button

real icon gets the scope name xD
like /Interface/Icons/util.jpg
Last edited by Subxero on Fri Sep 07, 2007 7:51 am, edited 1 time in total.
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

svn[1305] Unable to add custom button

Postby AxeBane » Sat Sep 08, 2007 6:21 am

Subxero -- Plugged in the exact same as you specified.

title=back to site
url=scope
icon=/Interface/Icons/util.jpg

I get a clear button in the box with the words "back to site" I drag and drop the icon in the guild row above it. It does not drop in like an exisiting button should. And throws a page error.

I don't understand the "scope" but it will not accept a straight url http:// or without http://

Image
AxeBane
WR.net Apprentice
WR.net Apprentice
 
Posts: 19
Joined: Tue Sep 04, 2007 10:01 am

svn[1305] Unable to add custom button

Postby wendelina » Thu Sep 13, 2007 3:01 am

I am seeing something with svn 1314. I admit to being very, very new to roster, so maybe it is user error.

I am trying to create a button that is a link to our forum pages.

title: Forums!
url: http://toourforums.com
icon: Interface/Icons/inv_misc_book_01.jpg

I click "go" and get a blank button in the "Unused Buttons" section. I can drag this into the Utilities menu, above, but:

a) It has no icon (do I need to specify img/ first? I just want to use a stock icon for now)
b) I can't save (if I click the save button, it tells me no changes are saved).
c) If I move this button or click on the page a few times, trying to make this work, IE (6) tells me it is out of memory.

Any help is appreciated, thanks!
wendelina
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Tue Sep 11, 2007 4:39 pm

svn[1305] Unable to add custom button

Postby remnor » Fri Nov 16, 2007 5:20 pm

I am having the same problem as Wendelina.

I have tried a number of different structures for the icon: field, and everytime I click the go button, I get a blank button....the link seems to work, but no image.....

This is a great feature, if you can have the image load.
remnor
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Fri Nov 16, 2007 2:59 pm

svn[1305] Unable to add custom button

Postby hades200082 » Mon Jun 16, 2008 12:35 am

Can anyone help with this, I'm having the same issue
hades200082
WR.net Apprentice
WR.net Apprentice
 
Posts: 31
Joined: Tue Oct 16, 2007 8:00 pm

svn[1305] Unable to add custom button

Postby zanix » Mon Jun 16, 2008 2:41 am

Please do not bring up old topics, especially in the beta forum
The last post was Fri Nov 16, 2007

Locking
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Archived

Who is online

Users browsing this forum: No registered users and 0 guests

cron