svn[1267] bug when changing icon order

Posts from previous Beta sessions

svn[1267] bug when changing icon order

Postby SethDeBlade » Thu Aug 23, 2007 6:26 am

I updated to 1267 and had an errormessages in memberlist view. so i uninstalled and installed the memberlist addon. ok, error gone.

then i tried to rearange the guilt addon icons using the menu config screen. by default util is shown. everytime i switch to a different selection in the small menu left like e.g. guilt i dont get the addon buttons shown for guilt but i am directed out of the roster cp to the memberlist view.
Last edited by SethDeBlade on Thu Aug 23, 2007 3:20 pm, edited 1 time in total.
Mysql: 4.1.21
php: 5.2.0
User avatar
SethDeBlade
WR.net Expert
WR.net Expert
 
Posts: 192
Joined: Thu Jul 06, 2006 1:02 am
Location: Germany

svn[1267] bug when changing icon order

Postby zanix » Thu Aug 23, 2007 8:59 am

Hmm, I don't have this error on my install
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

svn[1267] bug when changing icon order

Postby SethDeBlade » Thu Aug 23, 2007 2:22 pm

i uninstalled all addons and reinstalled just the firt two (guiltbank and guiltinfo). when i try to rearange the icon and i select guilt-option in the selection menu it says "The addon [memberslist] has not been installed yet".

if you want to test youself it, feel free. the adminpw is changed to "testtest"

edit: yippie, now i am an expert ;) :) Do i get a candy now?? 8) :P
Mysql: 4.1.21
php: 5.2.0
User avatar
SethDeBlade
WR.net Expert
WR.net Expert
 
Posts: 192
Joined: Thu Jul 06, 2006 1:02 am
Location: Germany

Re: svn[1267] bug when changing icon order

Postby Byrillicus » Thu Aug 23, 2007 3:19 pm

When I go to the Menu Configuration, it defaults to the util buttons. I want to get to the guild buttons to rearrange those. So, I click over there on the little box on the left, select guild, and then click go. Surprise! I'm at the memberlist (my default page). Seems to default to whatever you have set as the default page when you put bad variables in the url.

Here's what the url has.
Code: Select all
http://test.darkdestruction.com/roster/index.php?ndex.php%3Fp=rostercp-menu§ion=guild


Obviously, it should be
Code: Select all
http://test.darkdestruction.com/roster/index.php?p=rostercp-menu§ion=guild


Function linkform() seems to be outputting
Code: Select all
<input type="hidden" name="ndex.php?p" value="rostercp-menu" />


So... it's trimming the i from index.php and index.php? is still getting added to the front of that. Hrmm.. what's up with the %3F.. Is the ? getting changed to that? Eh.. i'm tired.. Have fun! :P
Byrillicus
WR.net Apprentice
WR.net Apprentice
 
Posts: 32
Joined: Wed Jul 26, 2006 12:36 am
Location: Atlanta, GA

svn[1267] bug when changing icon order

Postby zanix » Thu Aug 23, 2007 3:20 pm

Fixed svn[1269]

And here is the fix for you, open lib/cmslink.lib.php
Find
Code: Select all
$url = substr($url,1);


Replace with
Code: Select all
   if( strpos($url,'?') !==false )
   {
      $url = substr($url,strpos($url,'?')+1);
   }
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: svn[1267] bug when changing icon order

Postby Byrillicus » Thu Aug 23, 2007 3:25 pm

Yep.. That was a perfect fix as they always are! :D Great job!
Byrillicus
WR.net Apprentice
WR.net Apprentice
 
Posts: 32
Joined: Wed Jul 26, 2006 12:36 am
Location: Atlanta, GA

Re: svn[1267] bug when changing icon order

Postby ds » Fri Aug 24, 2007 2:33 am

SethDeBlade wrote:edit: yippie, now i am an expert ;) :) Do i get a candy now?? 8) :P


Grats! No candy.. but how about a Golden Star for the day? :twisted: :twisted:

-ds
Image
ds
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 297
Joined: Sat Jul 08, 2006 9:58 am

svn[1267] bug when changing icon order

Postby SethDeBlade » Fri Aug 24, 2007 2:46 am

you are too kind. thank you very much 8) :lol:
Mysql: 4.1.21
php: 5.2.0
User avatar
SethDeBlade
WR.net Expert
WR.net Expert
 
Posts: 192
Joined: Thu Jul 06, 2006 1:02 am
Location: Germany


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron