RaidTracker can't locate wowroster_itemstats.php

Track raids, bosskills, loot with the ct_raidtracker enhanced WoW Addon

Moderators: PoloDude, Gaxme

RaidTracker can't locate wowroster_itemstats.php

Postby brienprime » Wed Sep 12, 2007 10:50 pm

I get this error whenever i try to open a bosses loot entry (currently only Attumen from Karazhan is listed)

"Warning: main(./itemstats/wowroster_itemstats.php): failed to open stream: No such file or directory in /home/chaosb5/public_html/roster/addons/RaidTracker/index.php on line 61"

Warning: main(): Failed opening './itemstats/wowroster_itemstats.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chaosb5/public_html/roster/addons/RaidTracker/index.php on line 61


I do have itemstats installed and that's working great.

I'm sure i just need to edit my Raidtracker conf.php somehow, but I'm not sure what it's supposed to say. it currently looks like this:

Code: Select all
//where is the itemstats lib
   $addon_conf['RaidTracker']['itemstatsLib'] = "./itemstats";
   $addon_conf['RaidTracker']['itemstatsCSS'] = "itemstats.css";
   $addon_conf['RaidTracker']['itemstatsLibFile'] = "wowroster_itemstats.php";


I have itemstats installed in the root of my phpbb dir and raidtracker in my roster/addons directory, so the directory paths looks like this:

public_html/phpBB2/itemstats
public_html/roster/addons/raidtracker

I've been trying different paths in the raidtracker conf.php but haven't hit the correct one yet it seems. So what should my raidtracker conf.php look like?

My site if anyone needs more info
Chaos Bleeds

Thanks in advance,
Brienprime
Last edited by brienprime on Thu Sep 13, 2007 10:37 pm, edited 4 times in total.
brienprime
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jul 05, 2006 7:09 am

Re: RaidTracker can't locate wowroster_itemstats.php

Postby brienprime » Sat Sep 15, 2007 12:44 am

Any ideas anyone?

Thanks,
Brienprime
Last edited by brienprime on Sat Sep 15, 2007 12:44 am, edited 1 time in total.
brienprime
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jul 05, 2006 7:09 am

Re: RaidTracker can't locate wowroster_itemstats.php

Postby Adric » Sat Sep 15, 2007 8:26 pm

try this

Code: Select all
//where is the itemstats lib
   $addon_conf['RaidTracker']['itemstatsLib'] = "../../../phpbb2/itemstats";
   $addon_conf['RaidTracker']['itemstatsCSS'] = "itemstats.css";
   $addon_conf['RaidTracker']['itemstatsLibFile'] = "wowroster_itemstats.php";
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

Re: RaidTracker can't locate wowroster_itemstats.php

Postby brienprime » Tue Sep 18, 2007 2:28 am

No Luck, it returned this error:

Warning: main(): open_basedir restriction in effect. File(../../../phpbb2/itemstats/wowroster_itemstats.php) is not within the allowed path(s): (/home/chaosb5:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/chaosb5/public_html/roster/addons/RaidTracker/index.php on line 61

Warning: main(../../../phpbb2/itemstats/wowroster_itemstats.php): failed to open stream: Operation not permitted in /home/chaosb5/public_html/roster/addons/RaidTracker/index.php on line 61

Warning: main(): Failed opening '../../../phpbb2/itemstats/wowroster_itemstats.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/chaosb5/public_html/roster/addons/RaidTracker/index.php on line 61


Thanks for the suggestion.

If you think it is just a path problem I'll just keep fiddling with the path until I give up in defeat or it works :)
Last edited by brienprime on Tue Sep 18, 2007 3:37 am, edited 1 time in total.
brienprime
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jul 05, 2006 7:09 am

Re: RaidTracker can't locate wowroster_itemstats.php

Postby Adric » Tue Sep 18, 2007 5:35 am

then i think we went back too far in the directory...

replace {website} with your website address - ex. ->
Code: Select all
http://www.midnightcartel.com


Code: Select all
//where is the itemstats lib
   $addon_conf['RaidTracker']['itemstatsLib'] = "{website}/phpbb2/itemstats";
   $addon_conf['RaidTracker']['itemstatsCSS'] = "itemstats.css";
   $addon_conf['RaidTracker']['itemstatsLibFile'] = "wowroster_itemstats.php";
Last edited by Adric on Tue Sep 18, 2007 5:35 am, edited 1 time in total.
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

RaidTracker can't locate wowroster_itemstats.php

Postby niavlys » Tue Sep 18, 2007 3:33 pm

maybe you don't have the file "wowroster_itemstats.php" ?
User avatar
niavlys
WR.net Apprentice
WR.net Apprentice
 
Posts: 58
Joined: Thu Aug 24, 2006 8:32 pm
Location: Bretagne, France

Re: RaidTracker can't locate wowroster_itemstats.php

Postby brienprime » Wed Sep 19, 2007 4:08 am

I do have the itemstats file, I can see it, the Tracker cant. I made sure I had that, I had seen someone else was having a similar problem and that was suggested. :)

After talking to someone at my office here he suggested I change the config to read;

Code: Select all
//where is the itemstats lib
   $addon_conf['RaidTracker']['itemstatsLib'] = "/home/chaosb5/public_html/phpBB2/itemstats";
   $addon_conf['RaidTracker']['itemstatsCSS'] = "itemstats.css";
   $addon_conf['RaidTracker']['itemstatsLibFile'] = "wowroster_itemstats.php";


And it seems to be working (mostly). Now when I click on loot I get an error, I can see why though (more directory path problems it seems) :(

Thanks for the help!

- Brienprime
Last edited by brienprime on Wed Sep 19, 2007 4:15 am, edited 2 times in total.
brienprime
WR.net Apprentice
WR.net Apprentice
 
Posts: 12
Joined: Wed Jul 05, 2006 7:09 am


Return to RaidTracker

Who is online

Users browsing this forum: No registered users and 1 guest

cron