Hi - we have an issue where when deploying to our production environment, rarely, the licence.sfl will get clobbered and push SFS back into demo mode. This makes everybody unhappy when the demo player limit is reached and people start getting disconnected for no obvious reason (to the player).
Is there a way, server-side, to verify that SFS 1.6.8 is indeed using a pro licence or to warn otherwise? I checked the server api's but could not find anything that looked promising.
Thanks!
Verify Smartfox Licence from within extension?
-
VeritasEtUltio
- Posts: 6
- Joined: 25 Jan 2011, 17:09
- Location: Seattle, WA
- Contact:
I have never heard anything like this before. Are you using clustering? Can this problem be reproducible? Did you get any errors/warnings in your log files when the problem happens?Hi - we have an issue where when deploying to our production environment, rarely, the licence.sfl will get clobbered and push SFS back into demo mode.
Smartfox's forum is my daily newspaper.
-
VeritasEtUltio
- Posts: 6
- Joined: 25 Jan 2011, 17:09
- Location: Seattle, WA
- Contact:
The problem is more of a "we copied the files over incorrectly" sort of thing than something intrinsic to Smartfox itself.
The warning in the log will be when smartfox starts up and announces that it is using a demo licence, but I'd rather be able to check for this condition within code rather than trying to scrape the log file - so looking for some extension code that will tell me what the current license looks like (even something like "getDemoMode() == false" would be sufficient).
The warning in the log will be when smartfox starts up and announces that it is using a demo licence, but I'd rather be able to check for this condition within code rather than trying to scrape the log file - so looking for some extension code that will tell me what the current license looks like (even something like "getDemoMode() == false" would be sufficient).