Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: grvcbs on March 19, 2018, 12:45:29 PM

Title: Can't add domains with international TLD or dash character in User panel
Post by: grvcbs on March 19, 2018, 12:45:29 PM
Hi All! I was trying to add some addon domains through the user panel with international TLDs e.g .hu or .eu or add a domain that has a dash (-) in the domain name (e.g. test-domain.eu) and I either get an error or the blue "Add new domain" button immediately disappears when I start typing the .hu for example. Anything with a .com or .org works fine.
I can add the domain without any problems using the root admin panel and assign it to the user.
The error I get is: "Error..! Incorrect format, remember that you can not have special characters and less than 3 characters..!"

Any ideas on how to fix this? Thank you!
Title: Re: Can't add domains with international TLD or dash character in User panel
Post by: studio4host on March 20, 2018, 12:58:42 AM
try to manually update your cwp and then try again

sh /scripts/update_cwp
Title: Re: Can't add domains with international TLD or dash character in User panel
Post by: grvcbs on March 20, 2018, 06:46:23 AM
Thank you! It seems to work better now, but not always. I noticed that if I type the characters slower, it has a better chance of accepting the entry. Very strange...