No instance called 'traffic' is defined

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

wajitarar
Posts: 13
Joined: 12 Aug 2012, 10:28

No instance called 'traffic' is defined

Postby wajitarar » 28 Aug 2012, 12:15

When I go to zone monitor, and click my zone with users; and then click Monitor zone.
I get prompted with "No instance called 'trafic' is defined"

Please NOTE that i'm click on zone which has usesr; meaning i can see number in parenthesis after zone name. For example: ZoneName(n): Where n is greater than 1

I cannot get it to work easily.
Sometimes, I never get prompted; however, most of the time, Neither i can do my live testing because of this issue. Nor can manually load the extension.
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: No instance called 'traffic' is defined

Postby Bax » 29 Aug 2012, 07:47

Can you please report the SFS2X version you are using?
Paolo Bax
The SmartFoxServer Team
kfblake
Posts: 17
Joined: 27 Feb 2008, 20:28
Location: Seattle, WA, USA

Re: No instance called 'traffic' is defined

Postby kfblake » 20 Aug 2013, 18:02

Old post, but the same exact problem. I'm using SFS2X v2.7. I just removed a zone because I'm having issues getting it to recognize the extension jar update and when I added it back in and try to monitor it, I get this same error. The zone is working, I'm able to connect to it, use it and I can see it being used in the logs, but the admin tool triggers this error when I try to monitor it.

Also, I am able to modify it via the Zone Configurator.
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: No instance called 'traffic' is defined

Postby Lapo » 20 Aug 2013, 19:00

Try fully clearing the browser's cache and retry. Chances are your browser is not loading the new AdminTool and instead it is using the old one from its cache.
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
kfblake
Posts: 17
Joined: 27 Feb 2008, 20:28
Location: Seattle, WA, USA

Re: No instance called 'traffic' is defined

Postby kfblake » 20 Aug 2013, 19:13

No go. Even tried Google Chrome Incognito mode (no cache), still getting the same error. Now on both zones, since I had to re-activate another zone just now.
kfblake
Posts: 17
Joined: 27 Feb 2008, 20:28
Location: Seattle, WA, USA

Re: No instance called 'traffic' is defined

Postby kfblake » 20 Aug 2013, 19:19

It definitely seems to be tied to reactivated/adding zones. I'm able to monitor the rooms in the zone successfully, just not the zone itself. Seems like it's outside the AdminTool, perhaps a config setting in the zone someplace?
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: No instance called 'traffic' is defined

Postby Lapo » 21 Aug 2013, 08:58

It shouldn't really.

My suggestion is to try installing another copy of the server anew and test it. It should work without problems. If so you might want to migrate your settings and extensions to the new installation and get rid of the old one.
Lapo

--

gotoAndPlay()

...addicted to flash games
mstram
Posts: 17
Joined: 06 Jun 2014, 23:46

Re: No instance called 'traffic' is defined

Postby mstram » 11 Jun 2014, 12:26

I'm getting the same error, after just installing / running the latest SFS2x

What does that message mean ?

.. Or what does the server "think" it means ? :)

Mike
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: No instance called 'traffic' is defined

Postby Bax » 11 Jun 2014, 13:04

mstram wrote:I'm getting the same error, after just installing / running the latest SFS2x

What does that message mean ?

.. Or what does the server "think" it means ? :)

Mike

Did you migrate an existing server or zone configuration?
Paolo Bax
The SmartFoxServer Team
mstram
Posts: 17
Joined: 06 Jun 2014, 23:46

Re: No instance called 'traffic' is defined

Postby mstram » 11 Jun 2014, 16:38

I've fixed the problem.

It seems it is caused by incorrect zone configuration data / real file system path mismatches.

I was creating / deleting zones, moving / deleting directories, in a somewhat 'un-organized' fashion 8)

When I got everything sync'd up, the message disapeared, and the zone monitor now works.

I guess ?? multiple things might possibly cause the 'No traffic ....' msg to fire, but it is not a very user friendly / helpful msg.

Heh, at least it's in english, unlike IBM's mainframe msgs which are just numeric :mrgreen:

Mike
nino
Posts: 13
Joined: 13 Aug 2014, 11:16

Re: No instance called 'traffic' is defined

Postby nino » 28 Oct 2014, 03:44

what is step to fix? i'm getting same error too. (use version 2.8.2)
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: No instance called 'traffic' is defined

Postby Bax » 28 Oct 2014, 09:51

nino wrote:what is step to fix? i'm getting same error too. (use version 2.8.2)

Did you move the server configuration from a previous SFS2X installation? This could be the cause.
Don't do it. Just use the default configuration and make changes to it using the Admin Tool.
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Alexwek, Edithgal and 73 guests