[Solved] SQL errors when visualising priests sorts ...

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

[Solved] SQL errors when visualising priests sorts ...

Postby Elunarya » Fri Aug 18, 2006 1:08 pm

The WoWroster version used is the 1.7.0 with french translation. It works perfectly, but visualising priests sorts (book of sorts) causing theses SQL warnings :

Examples : http://lesloupsargentes.be/WowRoster/ch ... =spellbook
Code: Select all
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home.2/l/e/s/lesloups/www/WowRoster/lib/wowdb.php on line 153

Warning: Invalid argument supplied for foreach() in /home.2/l/e/s/lesloups/www/WowRoster/lib/char.php on line 649

This priest has "priest of healing rank 5 and renew rank 10. It dosen't appear on the roster. And, shadow sorts can't visualised.

Another example : http://lesloupsargentes.be/WowRoster/ch ... =spellbook
The SQL warning and PHP errors are same as above. Can you help us to fix the problem ?

The problem sudently appear when our priest aqquier new rank sorts on AQ20 instance ...
Last edited by Elunarya on Thu Aug 24, 2006 2:44 pm, edited 1 time in total.
Elunarya
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Sun Jul 23, 2006 11:23 pm

Re: SQL errors when visualising priests sorts ...

Postby lesablier » Fri Aug 18, 2006 11:08 pm

Hello.

Same Problem with a french roster and Priest
http://guilde.les.sabliers.free.fr/rost ... =spellbook


Code: Select all
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/135/sdb/4/2/guilde.les.sabliers/roster/lib/wowdb.php on line 153

Warning: Invalid argument supplied for foreach() in /mnt/135/sdb/4/2/guilde.les.sabliers/roster/lib/char.php on line 649


This is a fresh installation of wowroster.
Last edited by lesablier on Sun Aug 20, 2006 1:54 pm, edited 1 time in total.
lesablier
WR.net Journeyman
WR.net Journeyman
 
Posts: 77
Joined: Sat Jul 15, 2006 4:01 pm

Re: SQL errors when visualising priests sorts ...

Postby lesablier » Sun Aug 20, 2006 2:02 pm

Bump.

The skills in shadow link are empty and the description whith the mouse on
icon skull is missing, in french it's :
Code: Select all
Magie de l'ombre


http://guilde.les.sabliers.free.fr/rost ... =spellbook

Here an example
Image
Last edited by lesablier on Sun Aug 20, 2006 3:14 pm, edited 1 time in total.
lesablier
WR.net Journeyman
WR.net Journeyman
 
Posts: 77
Joined: Sat Jul 15, 2006 4:01 pm

SQL errors when visualising priests sorts ...

Postby zanix » Sun Aug 20, 2006 5:09 pm

I honestly don't know what causing this...
Any chance that I can get a copy of the priest's CP.lua file?
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

Re: SQL errors when visualising priests sorts ...

Postby lesablier » Mon Aug 21, 2006 3:39 am

Link in your PM
lesablier
WR.net Journeyman
WR.net Journeyman
 
Posts: 77
Joined: Sat Jul 15, 2006 4:01 pm

SQL errors when visualising priests sorts ...

Postby zanix » Mon Aug 21, 2006 3:57 am

I didn't get a PM
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

Re: SQL errors when visualising priests sorts ...

Postby Exerladan » Mon Aug 21, 2006 6:10 pm

Hi,

It's a little quote problem.

Use the file below instead.
Attachments
char.zip
char.php v1.7.0
(14.86 KiB) Downloaded 181 times
Exerladan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 101
Joined: Tue Jul 25, 2006 2:47 pm

SQL errors when visualising priests sorts ...

Postby zanix » Tue Aug 22, 2006 6:20 am

Really, is that it?
Found the line and changed it

Can we get a confirmation if this works from the others with this problem?
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

Re: SQL errors when visualising priests sorts ...

Postby Exerladan » Tue Aug 22, 2006 1:00 pm

Exerladan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 101
Joined: Tue Jul 25, 2006 2:47 pm

SQL errors when visualising priests sorts ...

Postby Moodj » Tue Aug 22, 2006 2:22 pm

Thaznks a lot, I'll try to apply it at noon !

Exerladan, you have a PM about a bug on instance key on your roster ;)
Image
User avatar
Moodj
WR.net Apprentice
WR.net Apprentice
 
Posts: 1
Joined: Thu Aug 03, 2006 2:51 pm

Re: SQL errors when visualising priests sorts ...

Postby lesablier » Wed Aug 23, 2006 3:28 am

It's work :thumleft:

Thanks Exerladen.

However here is stil a little litte little bug:
When you pass the mouse over the Skil name

General =>Général (in french) ok

For Shadow it must be : Magie de l'ombre " but no display when you
pass the mousse.

Any idee ?
Last edited by lesablier on Wed Aug 23, 2006 3:37 am, edited 1 time in total.
lesablier
WR.net Journeyman
WR.net Journeyman
 
Posts: 77
Joined: Sat Jul 15, 2006 4:01 pm

SQL errors when visualising priests sorts ...

Postby zanix » Wed Aug 23, 2006 5:39 am

lib/char.php
Find
Code: Select all
<img class="spell_skill_tab_icon" src="'.$roster_conf['interface_url'].$tree['icon'].'.'.$roster_conf['img_suffix'].'" onmouseover="overlib(\''.$tree['name'].'\',WRAP,RIGHT);" onmouseout="return nd();" alt="" onclick="showSpellTree(\'spelltree_'.$tree['id'].'\');" /> 

Replace with
Code: Select all
<img class="spell_skill_tab_icon" src="'.$roster_conf['interface_url'].$tree['icon'].'.'.$roster_conf['img_suffix'].'" onmouseover="overlib(\''.addslashes($tree['name']).'\',WRAP,RIGHT);" onmouseout="return nd();" alt="" onclick="showSpellTree(\'spelltree_'.$tree['id'].'\');" /> 
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

Re: SQL errors when visualising priests sorts ...

Postby Exerladan » Wed Aug 23, 2006 2:03 pm

As Zanix wrote it, an other quote problem :)
Exerladan
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 101
Joined: Tue Jul 25, 2006 2:47 pm

Re: SQL errors when visualising priests sorts ...

Postby lesablier » Wed Aug 23, 2006 10:35 pm

ok it works.

Thank you every one !!!!

Ps: Elunarya could change the topic subjetc to [Solved]
lesablier
WR.net Journeyman
WR.net Journeyman
 
Posts: 77
Joined: Sat Jul 15, 2006 4:01 pm

SQL errors when visualising priests sorts ...

Postby Elunarya » Thu Aug 24, 2006 2:43 pm

I'll do that thanks :).
Elunarya
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Sun Jul 23, 2006 11:23 pm

Next

Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron