Error since NEW character Profiler. 1.6.3

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Error since NEW character Profiler. 1.6.3

Postby joehail » Fri Sep 29, 2006 9:19 am

Ever since I have upgraded to the new version fo the Character Profiler, I am receiving this error when updating.


Code: Select all
Warning: array_keys(): The first argument should be an array in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 872

Warning: Invalid argument supplied for foreach() in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 872

Warning: array_keys(): The first argument should be an array in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 872

Warning: Invalid argument supplied for foreach() in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 872

Warning: array_keys(): The first argument should be an array in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 872

Warning: Invalid argument supplied for foreach() in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 872

Warning: array_keys(): The first argument should be an array in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 964

Warning: Invalid argument supplied for foreach() in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 964

Warning: array_keys(): The first argument should be an array in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 964

Warning: Invalid argument supplied for foreach() in /home/www/smokin-joe.net/roster/lib/wowdb.php on line 964


any help would be appreciated.
the site is at www.smokin-joe.net/roster
Image
User avatar
joehail
WR.net Journeyman
WR.net Journeyman
 
Posts: 103
Joined: Tue Jul 04, 2006 4:54 pm
Location: Cincinnati, Ohio USA

Error since NEW character Profiler. 1.6.3

Postby slidic » Fri Sep 29, 2006 9:28 am

im getting those same kind of erros
slidic
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Fri Sep 29, 2006 8:34 am

Re: Error since NEW character Profiler. 1.6.3

Postby Eschbert » Fri Sep 29, 2006 11:05 am

I got same errors.
The only way to solve it, was to delete the character_profiler.lua and resave all data.

But I am not sure whether it may occur again after that.
Eschbert
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Wed Jul 26, 2006 4:54 pm

Error since NEW character Profiler. 1.6.3

Postby sturmy » Fri Sep 29, 2006 11:27 am

It might be the solution that pleegwat provided about bags being empty.
Requires modifying wowdb.php

No time to cross link, go for a search. ;-)
sturmy
WR.net Expert
WR.net Expert
 
Posts: 160
Joined: Wed Aug 16, 2006 9:07 pm

Error since NEW character Profiler. 1.6.3

Postby zanix » Fri Sep 29, 2006 2:38 pm

I wonder what calvin changed in CP ....
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

Error since NEW character Profiler. 1.6.3

Postby PleegWat » Fri Sep 29, 2006 2:42 pm

Yeah, I put in a fix for empty bags around those same lines, so that's probably it.
Guess Calvin didn't catch empty bags before? I was already surprised this bug didn't show up earlier, since empty bags can't be that uncommon.
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

Error since NEW character Profiler. 1.6.3

Postby joehail » Sat Sep 30, 2006 12:33 am

the problem with the fix for the empty bags is that it kills the bank deletions. as stated further in the thread. What I need to try to figure out is if the updates are still happening with the errors on the top of the page. If so I can live (however temporarily) with the cosmetic issue on one page.
Image
User avatar
joehail
WR.net Journeyman
WR.net Journeyman
 
Posts: 103
Joined: Tue Jul 04, 2006 4:54 pm
Location: Cincinnati, Ohio USA

Error since NEW character Profiler. 1.6.3

Postby vgjunkie » Mon Oct 02, 2006 8:06 pm

If you hate errors and warnings and can live without them. In your settings.php file turn error reporting off:

Code: Select all
/**
 * Set PHP error reporting
 */
//error_reporting(E_ALL ^ E_NOTICE);
error_reporting(0);



I'm not sure if this will break how roster's debugging works or not, so one of the guys might have to say so or not. Just make sure that if you feel you are having problems with Roster, to swap the error_reporting back to the way it was before coming to the forums with any issues.
User avatar
vgjunkie
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 30
Joined: Wed Aug 09, 2006 11:58 pm
Location: Brooklyn NY

Error since NEW character Profiler. 1.6.3

Postby PleegWat » Mon Oct 02, 2006 8:34 pm

I'd personally advise against it. If you are running your own server, or have access to the php.ini file, I'd recommend turning the errors off from there (have them logged in the server log instead). Hiding the errors will make it harder for us to troubleshoot future issues.
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

Error since NEW character Profiler. 1.6.3

Postby vgjunkie » Mon Oct 02, 2006 8:45 pm

Definately understandable. That's why I mentioned making sure you put it back the way it was if you are having problems :). My suggestion was mainly for the impatient and/or those who have modified roster and won't be updating any time soon.
User avatar
vgjunkie
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 30
Joined: Wed Aug 09, 2006 11:58 pm
Location: Brooklyn NY

Re: Error since NEW character Profiler. 1.6.3

Postby Carissma » Thu Oct 05, 2006 2:33 am

Any fix for this yet? I'm getting the same errors.
Carissma
WR.net Apprentice
WR.net Apprentice
 
Posts: 23
Joined: Tue Jul 11, 2006 9:03 pm


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron