sparky81 Posted July 13, 2015 Share Posted July 13, 2015 I GET THIS ERROR AND NEVER HAD IT BE4 PLEASE HELP ? System.ArgumentOutOfRangeException: Value 'UK' for voice_datacenter is not valid. It must be numeric. Parameter name: voice_datacenter at Web.GameHosting.billingapi.xc9f5c0c708acbff6() at Web.GameHosting.billingapi.Page_Load(Object sender, EventArgs e) Link to comment Share on other sites More sharing options...
marcelokruk Posted July 13, 2015 Share Posted July 13, 2015 It's look like an error with the datacenter parameter in your whmcs product configuration. Here is an example: http://goo.gl/MMuwfk. Link to comment Share on other sites More sharing options...
sparky81 Posted July 13, 2015 Author Share Posted July 13, 2015 nope it down to whmcs v6 . Tcadmin have a ticket open with them but they said its a error and they will fix it at some point. here is what my ticket with tcadmin said..... It's a bug in WHMCS. The instructions under "Friendly Display Names" don't work anymore for new orders: http://docs.whmcs.com/Addons_and_Configurable_Options#Friendly_Display_Names Instead of sending the value to the left of | it's sending value on the right. I have been trying to get them to fix it but they say "this is expected behavior". My ticket with them is #xxx-xxxxxx in case you want to put pressure on them to fix it. The workaround for now is to go to the client's service in WHMCS. Click on save. Then click on create. If that works then we know WHMCS is saving incorrect values for new orders so you have to update it manually to fix it. I did this and it was a fix. Link to comment Share on other sites More sharing options...
marcelokruk Posted July 14, 2015 Share Posted July 14, 2015 Your best solution it will be to downgrade to 5.3.14 and wait for a solution Link to comment Share on other sites More sharing options...
sparky81 Posted July 14, 2015 Author Share Posted July 14, 2015 yeh im thinking that to Link to comment Share on other sites More sharing options...
Dennis Posted July 14, 2015 Share Posted July 14, 2015 You can't downgrade. That was what I was told when we upgraded to v5. Link to comment Share on other sites More sharing options...
DougK94 Posted July 14, 2015 Share Posted July 14, 2015 That is why you test thoroughly on a development site all your mods/templates before making a version number upgrade. WHMCS version number upgrades have always wreaked havoc and I usually wait until at least the first patch. (this will be my 3rd version upgrade with them). I even tested TCAdmin v1 for quite a while before I upgraded to it from Luis' original control panel and again for V2. And also back up everything before you upgrade your live site. Link to comment Share on other sites More sharing options...
Dennis Posted July 14, 2015 Share Posted July 14, 2015 (edited) Exactly. WHMCS even allows you to have a test site without charging you extra, so why not use the opportunity? Edited July 14, 2015 by DennisMidjord Link to comment Share on other sites More sharing options...
Raizio Posted July 14, 2015 Share Posted July 14, 2015 Exactly. WHMCS even allow you to have a test site charging you extra, so why not use the opportunity? Let's all ignore the typo and assume Dennis meant it doesn't charge you extra. Link to comment Share on other sites More sharing options...
Dennis Posted July 14, 2015 Share Posted July 14, 2015 (edited) What typo? Edited July 14, 2015 by DennisMidjord Link to comment Share on other sites More sharing options...
BrendanTA Posted July 16, 2015 Share Posted July 16, 2015 Hi, I ran into the same issue, I ended up fixing it by using a custom config file for each of the games containing the following code (location.php is what I called the custom config file): <?php include('default_values.php'); switch ($params["customfields"]["Location"]) { case "Dallas": $billing_api_values["game_datacenter"] = 1; break; } ?> So with that, if your custom field name is Location It takes the value from it and looks for a case then turns that into a game_datacenter id that TCAdmin 2 can use. So Dallas, is received then turns that into game_datacenter 1 so that TCAdmin knows where to install the server. Link to comment Share on other sites More sharing options...
Raizio Posted July 16, 2015 Share Posted July 16, 2015 Hi, I ran into the same issue, I ended up fixing it by using a custom config file for each of the games containing the following code (location.php is what I called the custom config file): So with that, if your custom field name is Location It takes the value from it and looks for a case then turns that into a game_datacenter id that TCAdmin 2 can use. So Dallas, is received then turns that into game_datacenter 1 so that TCAdmin knows where to install the server. That is some clever thinking right there. Well done mate! Link to comment Share on other sites More sharing options...
Dennis Posted July 16, 2015 Share Posted July 16, 2015 I know I hinted on Skype that this would probably only work as a temporary solution, but I hadn't really looked at it at that time. Great way to fix the problem, and you don't have to change anything after WHMCS patches the bug. Link to comment Share on other sites More sharing options...
ECF Posted July 16, 2015 Share Posted July 16, 2015 Thank you for sharing BrendanTA! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now