Fatal error: Call to undefined function:

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

Moderators: PoloDude, Gaxme

Fatal error: Call to undefined function:

Postby pappadee » Wed Aug 01, 2007 8:37 am

Hey Guys,

I hope someone can help. I have installed RaidTracker and i have itemstats installed and working fine. All stats appear on both News Pages and in forums with no issues at all.

Raid Tracker has the raid *.lua files uploaded fine and all seems to be going well until when I click on a raid or select loot for the menu for exmaple i get the following errors.

This When Loot History is clicked:
Code: Select all
Fatal error: Call to undefined function: itemstats_parse() in /home/aeternum/public_html/roster/addons/RaidTracker/functions.php on line 309
 
 


And this when a raid is selected to view:
Code: Select all
Fatal error: Call to undefined function: itemstats_parse() in /home/aeternum/public_html/roster/addons/RaidTracker/functions.php on line 129


If anyone can help me out here i would really appreciate it.

Cheers.
pappadee
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon May 14, 2007 1:43 am

Fatal error: Call to undefined function:

Postby niavlys » Wed Aug 01, 2007 2:43 pm

you must edit the folowinf line in Raidtracker conf
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";
 
User avatar
niavlys
WR.net Apprentice
WR.net Apprentice
 
Posts: 58
Joined: Thu Aug 24, 2006 8:32 pm
Location: Bretagne, France

Fatal error: Call to undefined function:

Postby pappadee » Wed Aug 01, 2007 5:08 pm

I have, so maybe I dont have the correct path set for this.

I have a stand alone version of Roster installed into the root of my DF site and a Itemstats module installed into my DF site under the modules folder.

Is this an issue.? Or should this be ok to work with.?

So the folder strucure looks liike this,

Code: Select all
|-root
    |-roster
           |-addons
                 |-RaidTracker
    |-modules
           |-Item_stats


Again any help much appreciated.
pappadee
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon May 14, 2007 1:43 am

Fatal error: Call to undefined function:

Postby zanix » Thu Aug 02, 2007 2:51 am

Code: Select all
$addon_conf['RaidTracker']['itemstatsLib'] = "../../../modules/Item_stats";

Add or remove a ../ if it isn't right
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

Fatal error: Call to undefined function:

Postby pappadee » Thu Aug 02, 2007 6:52 am

Zanix

I tried a number of variations on your suggestion taking some of the "../" out and adding etc. But they give me errors worse than the current orignal posted one.

For example using your suggestion above i get the following errors shown once you select the "raid tracker" button on the roster home page, this is without even clicking on a raid or loot history for example.

Code: Select all
Warning: main(../../../modules/item_stats/itemstats.php) [function.main]: failed to open stream: No such file or directory in /home/aeternum/public_html/roster/addons/RaidTracker/index.php on line 61

Warning: main() [function.include]: Failed opening '../../../modules/item_stats/itemstats.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aeternum/public_html/roster/addons/RaidTracker/index.php on line 61
pappadee
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon May 14, 2007 1:43 am

Fatal error: Call to undefined function:

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

Remember that it the path is cAse sensative
Code: Select all
../../../modules/item_stats

Is not the same as
Code: Select all
../../../modules/Item_stats
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

Fatal error: Call to undefined function:

Postby niavlys » Thu Aug 02, 2007 4:00 pm

wich version of itemstat do you use ?
User avatar
niavlys
WR.net Apprentice
WR.net Apprentice
 
Posts: 58
Joined: Thu Aug 24, 2006 8:32 pm
Location: Bretagne, France

Re: Fatal error: Call to undefined function:

Postby pappadee » Thu Aug 02, 2007 6:01 pm

zanix wrote:Remember that it the path is cAse sensative
Code: Select all
../../../modules/item_stats

Is not the same as
Code: Select all
../../../modules/Item_stats


The folder on the ftp space is actually "item_stats" and not "Item_stats" should/does it need to be "Item_stats" .? i.e caps specific or only refelct whatever is created in the conf.php file.
pappadee
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon May 14, 2007 1:43 am

Re: Fatal error: Call to undefined function:

Postby pappadee » Thu Aug 02, 2007 6:03 pm

niavlys wrote:wich version of itemstat do you use ?


It was downloaded form the site within the last 3 weeks. How do I find out the actual version number.? Is there an easy way for me to get this.?
pappadee
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon May 14, 2007 1:43 am

Fatal error: Call to undefined function:

Postby niavlys » Thu Aug 02, 2007 10:14 pm

itemstat is on old since 2 mounth you've got the latest version from http://itemstats.free.fr/
User avatar
niavlys
WR.net Apprentice
WR.net Apprentice
 
Posts: 58
Joined: Thu Aug 24, 2006 8:32 pm
Location: Bretagne, France

Fatal error: Call to undefined function:

Postby pappadee » Fri Aug 03, 2007 9:39 pm

anyone able to comment/help me with this any further please.?
pappadee
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon May 14, 2007 1:43 am

Fatal error: Call to undefined function:

Postby pappadee » Sun Aug 05, 2007 12:30 am

Ok guys I have an update for you and I would be most grateful if you could let me know anything else worth trying.

Here are the contents of my conf.php file,
Code: Select all
//where is the itemstats lib
   $addon_conf['RaidTracker']['itemstatsLib'] = "../modules/item_stats";
   $addon_conf['RaidTracker']['itemstatsCSS'] = "itemstats.css";
   $addon_conf['RaidTracker']['itemstatsLibFile'] = "itemstats.php";


Now all appears to be working ok except the "loot history" link, which when selected I get the following error msg,
Code: Select all
Fatal error: Call to undefined function: itemstats_parse() in /home/aeternum/public_html/roster/addons/RaidTracker/functions.php on line 309
 
 


All the other options work fine. So does anyone have a clue as to what is going wrong with the loot history link.?

You can see for yourself Here

Cheers.
Last edited by pappadee on Sun Aug 05, 2007 1:54 am, edited 2 times in total.
pappadee
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon May 14, 2007 1:43 am

Fatal error: Call to undefined function:

Postby niavlys » Mon Aug 06, 2007 2:33 pm

I found the answer
replace
Code: Select all
$addon_conf['RaidTracker']['itemstatsLibFile'] = "itemstats.php"

by
Code: Select all
$addon_conf['RaidTracker']['itemstatsLibFile'] = "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

Fatal error: Call to undefined function:

Postby pappadee » Mon Aug 06, 2007 6:38 pm

hmm nice will try now and let you know what i find. :) ty.
pappadee
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon May 14, 2007 1:43 am

Re: Fatal error: Call to undefined function:

Postby pappadee » Mon Aug 06, 2007 6:47 pm

Naivlys m8 thanks for your suggestion but,

Tried your suggestion and got addtional errors displayed when I just click on Raid Tracker, which were not showing before see below.
Code: Select all
Warning: main(../modules/item_stats/wowroster_itemstats.php) [function.main]: failed to open stream: No such file or directory in /home/aeternum/public_html/roster/addons/RaidTracker/index.php on line 61

Warning: main() [function.include]: Failed opening '../modules/item_stats/wowroster_itemstats.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aeternum/public_html/roster/addons/RaidTracker/index.php on line 61


And the "loot history" button still shows an error.

I looked for a "wowroster_itemstats.php" file and couldnt find one in the "item_stats" folder. I dont think I have a file called "wowroster_itemstats.php" anywhere on my site. Where should this file be located.?

Any further suggestions.? From anybody.! I cant believe Im having so much of an issue. :(
pappadee
WR.net Apprentice
WR.net Apprentice
 
Posts: 15
Joined: Mon May 14, 2007 1:43 am

Next

Return to RaidTracker

Who is online

Users browsing this forum: No registered users and 1 guest