whmcs-vultr
whmcs-vultr copied to clipboard
[BUG] - Disabled Input Fields
Describe the bug OS Type & Auto backups Dropdown Fields Disabled in both Admin & Clientarea.
To Reproduce Steps to reproduce the behavior:
- Go to 'My Services' from your WHMCS client area
- Click on 'Click on your Active VPS service'
- Scroll down to down
- See error
Expected behavior
-
The "OS TYPE" drop-down field should show a list of Operating systems available thus allowing the client to choose their preferred operating system.
-
The "AUTO BACKUPS" field should show the options "YES/NO" when clicked on providing the user to choose whether to enable or disable auto backups.
Screenshots
Screenshot of the issue in the client area -
Screenshot of the affected fields in admin back-end -
Desktop (please complete the following information where applicable:
- CentOS 7.7
- PHP7.3, MySQL 5.6 & 5.7
- Google Chrome & Mozilla Firefox
- WHMCS Version 7.8.3
- Vultr WHMCS module v2.0.4
Additional context I also fount this piece of code in public_html/whmcs/modules/servers/vultr/template/controller/main/create.tpl . Could this have anything to do with my issue? See screenshot.
I can provide login details to my fresh install of WHMCS admin dashboard if reproduction of the issue fails on your end.
@BeezyIV
For the OS type did you generate your default values for these?
https://github.com/vultr/whmcs-vultr/issues/21#issuecomment-509215907 https://github.com/vultr/whmcs-vultr/issues/25#issuecomment-515057865
Setup -> Addon Modules -> Vultr Module -> Configure
As for the autobacks this may be we will look into this if it is not resolved by the generating your default values
@ddymko Yes I had the default values generated. But by creating a new product and generating the default values, I've had the OS and application drop down to work. Thanks. However, the OS Type drop down is only enabled in the admin back-end and on the order form. It still remains disabled in the client area.
- Is this how it is supposed to be?
- When a client successfully deploys a server, the server info shown is from vultr. Is it supposed to be like this or is there a way to change this?
- Backup field is still disabled and leaving selecting NO on order form doesn't change anything.
Once again thanks for your response. Please refer to the following screenshots for further details.
hey guys im having this same issue and it looks like there is some error with the module
Correction so the error above is irrelevant , however there are a few steps that needs to be done in order to get this module setup and os type and application to populate.. i will add a screen shot for a step by step guide to help anyone else that faces this issue
Hi All,
For the OS Type please see my post below. I had to do a few things to make the values show in the order process and also the client configuration.
https://github.com/vultr/whmcs-vultr/issues/77