'talent_points' at row 1

CharacterProfiler.lua file uploading issues

'talent_points' at row 1

Postby wwickens » Sun Feb 04, 2007 9:49 pm

Hi Guys

Having a problem uploading my 3 Guild Bank chars

Uniuploader doesnt upload anything but if I use the update page on the website all the higher lvl chars upload ok but I get update errors:

Cannot update Character Data
1264: Out of range value adjusted for column 'talent_points' at row 1
Cannot update Character Data
1264: Out of range value adjusted for column 'talent_points' at row 1
Cannot update Character Data
1264: Out of range value adjusted for column 'talent_points' at row 1


which translates to the 3 bank chars which are lvl 1 and as such dont have any talent points and if I search the CP file there is no mention of talent points under these chars. (of course these chars dont have talent point until lvl 10 which they will never be)

I'm running 1.7.2 with all the patchs I can find
the server is http://ffj.wickedit.com.au and although it is a DF site I have the normal roster version in an iframe so I can run any addons as they come out not that it matters here

the server is IIS6 php5 mysql5
CP Ver 2.0.5b
Last edited by wwickens on Sun Feb 04, 2007 10:07 pm, edited 2 times in total.
User avatar
wwickens
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Wed Jul 05, 2006 6:57 am
Location: Melbourne

Re: 'talent_points' at row 1

Postby wwickens » Mon Feb 05, 2007 6:28 pm

no clues at all?
User avatar
wwickens
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Wed Jul 05, 2006 6:57 am
Location: Melbourne

Re: 'talent_points' at row 1

Postby javelonium » Tue Feb 06, 2007 12:32 am

This should fix it wwickens:

Open
lib/wowdb.php

Find


$this->add_value( 'talent_points', $data['TalentPoints'] );


Replace with


if( !empty($data['TalentPoints']) )
$this->add_value( 'talent_points', $data['TalentPoints'] );

Thanks to Zanix for posting this fix.
javelonium
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Fri Jan 12, 2007 10:11 pm

'talent_points' at row 1

Postby wwickens » Tue Feb 06, 2007 1:03 am

thanks that worked

I searched the forums and didnt find that article so thanks again
User avatar
wwickens
WR.net Apprentice
WR.net Apprentice
 
Posts: 25
Joined: Wed Jul 05, 2006 6:57 am
Location: Melbourne


Return to Uploading

Who is online

Users browsing this forum: No registered users and 1 guest

cron