Minor bug fix...

Raid tracking for Guilds For Raids over 10 man

Moderator: Ulminia

Minor bug fix...

Postby Calystos » Wed Feb 10, 2010 7:16 pm

K, in the recent SVN release of Raid Progression (Progress), I found a bug in the SVN which I managed to fix. Here's the info on fixing it if anyone else has such a problem (basically the servers moaned about certain things being "missing" when they weren't/etc).

In the "inc/functions.php" file it was trying to locate several things using \\ or \ when it shoulda been / (a few lines diff) which am guessing may work on a windows server (like who uses those anymore, hehe) but linux ones seem to bitch about it. Anyways change the following lines (1496, 1513, 1531, and 1560) so that instead of "\" for the 3 Snoopy.class.php references it reads "/" and for the "\\" tooltip/cache reference it reads "/" too. And this should fix things, :-)

EG lines 1496/1513 and 1531 should read:
Code: Select all
                require_once($addon['dir'] . 'inc/Snoopy.class.php');


And line 1560 should read:
Code: Select all
          $filename = $addon['dir'] . 'cache/'.$itemid.'-US-tooltip.html';


I tried this on a friends server and it worked great, not a problem after those 4 line changes. :-)

Enjoy, :-)
User avatar
Calystos
UA/UU Developer
UA/UU Developer
 
Posts: 140
Joined: Tue Mar 04, 2008 10:57 am
Location: Earth

Re: Minor bug fix...

Postby PleegWat » Thu Feb 11, 2010 2:46 pm

The DIR_SEP constant should be used. '/' works on apache on windows, but some people use windows servers with IIS, and I don't think that accepts '/'.
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

Re: Minor bug fix...

Postby GemDog » Tue Feb 16, 2010 2:11 am

I changed the code as said above, no love... i still get the error about the [progress]not installed, clicking on the naxx icon and the other modules.
Image
User avatar
GemDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Sat Jan 31, 2009 8:57 am

Re: Minor bug fix...

Postby Calystos » Wed Feb 17, 2010 8:09 pm

Yeah, I remembered that after I'd did the quick hack fix PleegWat, typical ain't it remembering stuff ages later, lol.

As for it not working for you GemDog, have you tried uninstalling, and reinstalling the addon and the modules for it as well as maybe also wiping the cache?
User avatar
Calystos
UA/UU Developer
UA/UU Developer
 
Posts: 140
Joined: Tue Mar 04, 2008 10:57 am
Location: Earth

Re: Minor bug fix...

Postby GemDog » Wed Feb 17, 2010 10:37 pm

yes to the uninstall and install... for the cache :scratch: where do i do that?
Image
User avatar
GemDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Sat Jan 31, 2009 8:57 am

Re: Minor bug fix...

Postby Calystos » Thu Feb 18, 2010 2:03 am

GemDog wrote:yes to the uninstall and install... for the cache :scratch: where do i do that?

Well for starters theres 2 caches, 1 for raid progression and 1 for main roster. Make sure both are set to 0777 to allow full read/write access (some sites can be okay with 0755 but better safe than sorry).

/roster/addons/progress/cache/ <- thats the addons one
/roster/cache/ <- and of course thats the rosters main one

You can try deleting the stuff thats inside both, it won't hurt cos they get automatically re-created on-the-fly anyways.

Hope this helps, :-)
User avatar
Calystos
UA/UU Developer
UA/UU Developer
 
Posts: 140
Joined: Tue Mar 04, 2008 10:57 am
Location: Earth

Re: Minor bug fix...

Postby Ulminia » Thu Feb 18, 2010 6:08 am

once roster goes beta ial rework RP and i wont be using cashing any more...
Ulminia of Zangarmarsh
Zonous of Zangarmarsh
Author of Roster Gallery
WoWRoster-Profiler Redesigner
User avatar
Ulminia
WoWRoster.net Dev Team
WoWRoster.net Dev Team
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 1223
Joined: Tue Jul 04, 2006 4:41 pm
Location: New Brunswick, Canada
Realm: Zangarmarsh (PvE) - US
gmail/gtalk: ulminia@gmail.com

Re: Minor bug fix...

Postby GemDog » Thu Feb 18, 2010 9:35 am

sweet! i cant wait, i just got done with the current install SVN of the new roster !!! i cant wait till its done. posting info elsewhere.

Edit: roster in the SVN WoWRoster v2.0.9.2123 is what i have now, still no fire, same error as before. :scratch:

If i keep :scratch: will i go bald? :P and doing this :shaking2: will i get dizzy?... i ask because this :pirate: has happened from all the reading i have been doing. :rofl:
Image
User avatar
GemDog
WR.net Apprentice
WR.net Apprentice
 
Posts: 37
Joined: Sat Jan 31, 2009 8:57 am


Return to Raid Progression

Who is online

Users browsing this forum: No registered users and 1 guest

cron