Problem with " Server status "

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

Problem with " Server status "

Postby Strear » Wed Nov 19, 2008 8:14 pm

Hi !

I installed Wowroster yesterday, and realized that the " server status " doesn't seem to work.
I thought it came from some kind of configuration, but was unable to find any place where i could find a way to indicate my realm.

I've checked the documentation and upgraded the realmstatus.php today as mentioned in the hotfixes. Its still doesn't work.

One thing seems weird :
In the doc, you've got this :
[imgurl url=http://]http://www.wowroster.net/uploads/wiki/a/ab/Roster_diag_config.png[/imgurl][imgurl url=http://www.wowroster.net/uploads/wiki/a/ab/Roster_diag_config.png]http://www.wowroster.net/uploads/wiki/a/ab/Roster_diag_config.png[/imgurl]

And i've got that :

version 2.0.1
db_version 6
db_prefix roster_
debug_mode Off
roster_lang frFR
img_url img/
interface_url img/
img_suffix jpg
use_update_triggers On
rs_mode On

and ... that's all :
http://s147361992.onlinehome.fr/roster/ ... diag&a=g:1

Can you be of any help ?

Thanks in advance !
Strear
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Wed Nov 19, 2008 8:06 pm
Location: France

Re: Problem with " Server status "

Postby Borsti » Wed Nov 19, 2008 8:19 pm

Please check serverstatus on wow-europe.com, the europe blizzard side gives wrong status.
German serverstus the same problem.
User avatar
Borsti
WR.net Journeyman
WR.net Journeyman
 
Posts: 87
Joined: Sat Jul 08, 2006 11:37 am
Location: Hamburg/Germany

Problem with " Server status "

Postby Armenør » Wed Nov 19, 2008 8:42 pm

Salut,

J'ai eu le même problème. Cela vient du fait que le champ qui accueille le nom du serveur est trop petit dans MYSQL (20 caractères au lieu de 22 nécessaires).

Il suffit d'aller dans PHPMyadmin, dans la base de ton Roster (roster normalement) puis dans la table "NOMBASE_realmstatus"

Il suffit de modifier le champ "server_name" et de changer la taille : passer de 20 à 22 ou +.

Tu valides et tu rafraîchis la page de ton roster, ça devrait être bon.

Bonne chance
----------------------------------------------------------------

see also here : http://www.wowroster.net/Forums/viewtop ... rt=15.html
Armenør
WR.net Apprentice
WR.net Apprentice
 
Posts: 9
Joined: Mon Mar 31, 2008 6:58 pm

Re: Problem with " Server status "

Postby Strear » Wed Nov 19, 2008 10:52 pm

Merci !
Strear
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Wed Nov 19, 2008 8:06 pm
Location: France

Re: Problem with " Server status "

Postby Calys » Mon Dec 01, 2008 8:47 am

Bonjour, voilà je rencontre le même problème, j'ai pourtant fait ce que Armenør à conseiller, mais rien y fait, toujours pas de statut du serveur. Au niveau du chmod du fichier, je l'ai actuellement mis en, 755. Et j'ai essayer plusieur possibilitées, à savoir 644, 666 mais rien ne change. Pourriez-vous m'aider svp? Je vous remercie par avance

PS : voici le lien du roster que je met en place : http://mgt2007.fr/rcb
Calys
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Thu Nov 06, 2008 4:51 pm

Re: Problem with " Server status "

Postby tuigii » Tue Dec 02, 2008 2:59 am

English will follow.

Calys wrote:Bonjour, voilà je rencontre le même problème, j'ai pourtant fait ce que Armenør à conseiller, mais rien y fait, toujours pas de statut du serveur. ....



Hummmmm,

Ton realmstatus.php est appelé avec la variable $realmstatus set à
EU-Marcage de Zangar

Note le petit carré rouge, Ca doit être un é car ton realmname doit être "Marécage de Zangar".

J'ai la même résultat ici.

Solution "Qiuck and dirty" :
Open realmststatus.php

Ajout à ligne 54 (il est vide) ceci :
Code: Select all
$realmname utf8_encode($realmname); 
Sauvegarde.


English :
The server status image won't show up.
The server name is ok in the prefix_guild table.
The server name is : "Marécage de Zangar".

When I echo the $realmname var in realstatus.php, it prints
EU-Marcage de Zangar
Adding this on line 54 :
Code: Select all
$realmname utf8_encode($realmname); 

made it work.
Some thoughts about this - what changed here ?

It looks to me that any accented letter $realmname compare bails out now.

For ref, the xmlsource is this : http://www.worldofwarcraft.com/realmstatus/status.xml which is ok.

On line 509in menu.php, $realmname is build like this :
Code: Select all
$realmname $roster->data['region'] . '-' utf8_decode($roster->data['server']); 

The databse is already utf.
Is the utf8_decode(...) needed here ?
Last edited by tuigii on Tue Dec 02, 2008 6:59 am, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Problem with " Server status "

Postby PleegWat » Tue Dec 02, 2008 4:55 pm

Don't think so.

Maybe the original (html) EU status page was latin-1?
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

Re: Problem with " Server status "

Postby Calys » Tue Dec 02, 2008 6:11 pm

Parfait merci beaucoup, sa fonctionne niquel à présent.
Calys
WR.net Apprentice
WR.net Apprentice
 
Posts: 2
Joined: Thu Nov 06, 2008 4:51 pm

Re: Problem with " Server status "

Postby sharky1231 » Wed Dec 24, 2008 7:40 pm

Hello,

i am playing on oficial server.

Realm> Drak'thul
Guild> Runaway
Faction> Alliance
Version> EU

I filled it like this:

Image

When I try first or second the picture is same:

Image

Thank you for asnwer :)
Last edited by sharky1231 on Wed Dec 24, 2008 7:41 pm, edited 1 time in total.
sharky1231
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Wed Dec 24, 2008 7:14 pm

Re: Problem with " Server status "

Postby tuigii » Wed Dec 24, 2008 8:44 pm

Take your post, go up 2 - find mine.

Try it out - you'll see it will work afterwards.

Btw : which roster version do you use, 2.0.1 or 2.0.2 ?
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Problem with " Server status "

Postby sharky1231 » Wed Dec 24, 2008 10:16 pm

WoWRoster v2.0.2.

I tried it.

I rewrite it but nothing. The picture is same :(

http://runaway.unas.cz/roster/index.php
Last edited by sharky1231 on Wed Dec 24, 2008 10:24 pm, edited 2 times in total.
sharky1231
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Wed Dec 24, 2008 7:14 pm

Re: Problem with " Server status "

Postby tuigii » Thu Dec 25, 2008 12:03 am

Humm, I think you have a nasty one then.

I did this:
I downloaded a clean fresh 2.0.2 from the source.
I upped all the files to a /roster2 directory.
I init the roster (hey, I saw the new init procedure - Nice, GG, guys, perfect - finger in the noze procedure !!) with YOUR initials :
Guild> Runaway - Realm> Drak'thul - > Region -> EU

I even took MY CharcacterProfiler file, did a global search and replace for my Guild name for yours, and my server/realm name for yours.
But this wasn't needed, I never upped my modified CP.lua : the realm image already showed up ^^

See here : Image

Link used, as always : http://www.papy-team.fr/roster2/realmst ... -Drak'thul - copie it in a browser to see.
This works because Drak'thul is inited in the /roster2, site www.papy-team.fr

This is what I have : http://www.papy-team.fr/roster2/index.php?p=rostercp

Please ignore my first advise, the accent problem is solved.

It should work from out of the box ! Just proved it.

My final advise is : undo all your edits.

PS : your site must support curl or fsockopen (PHP functions) - check this.
Last edited by tuigii on Thu Dec 25, 2008 12:05 am, edited 1 time in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Problem with " Server status "

Postby sharky1231 » Thu Dec 25, 2008 1:28 am

I think i see problem.

My link of status is:

Code: Select all
http://runaway.unas.cz/roster/realmstatus.php?r=EU-Drak%27thul


And your:

Code: Select all
http://www.papy-team.fr/roster2/realmstatus.php?r=EU-Drak'thul


Why i have in link this??

http://runaway.unas.cz/roster/realmstatus.php?r=EU-Drak%27thul

i have EU-Drak%27thul

Do you understand me ? (i have bad english srry :) )

your: EU-Drak'thul
my: EU-Drak%27thul
Last edited by sharky1231 on Thu Dec 25, 2008 1:29 am, edited 1 time in total.
sharky1231
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Wed Dec 24, 2008 7:14 pm

Re: Problem with " Server status "

Postby tuigii » Thu Dec 25, 2008 1:48 am

Don't worry, http://runaway.unas.cz/roster/realmstat ... rak%27thul is ok, the %27 is just an encoding of the ' (single quote).

So, your link works.

Note that in the roster config menu => realm status you can set the refresh time, realmstatus.php doesn't ask Blizzard every time the status when it's called/used.

Put this timer to 1 to maximize the refresh rate - it will ask Blizzard every time when you test. Put it back to the old value when all is ok.

Does your host support the curl and/or fsockopen() php function ?

Saw case where it doesn't, because they are potential trouble makers... cheap hosts disable them often.

You're NOT English : doesn't matter, you think I was ? :grin:

Btw : the actual scanning is done in lib/functions.lib.php, line 1069 - if you feel up to it.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: Problem with " Server status "

Postby sharky1231 » Thu Dec 25, 2008 2:22 am

I set refresh time from 10 to 1 but nothing.

Can you upload all your files from folder roster2/ ?
I would like t download it and upload to my site and test it. :)
Beacause i dont know where is problem :(
sharky1231
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Wed Dec 24, 2008 7:14 pm

Next

Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron