whmcs-vultr icon indicating copy to clipboard operation
whmcs-vultr copied to clipboard

[BUG] - Disabled Input Fields

Open BeezyIV opened this issue 5 years ago • 4 comments

Describe the bug OS Type & Auto backups Dropdown Fields Disabled in both Admin & Clientarea.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'My Services' from your WHMCS client area
  2. Click on 'Click on your Active VPS service'
  3. Scroll down to down
  4. See error

Expected behavior

  1. The "OS TYPE" drop-down field should show a list of Operating systems available thus allowing the client to choose their preferred operating system.

  2. 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 - VM Setup Client Area Screenshot of the affected fields in admin back-end - VM Setup Admin Area

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.

Code snippet of vultrOSID

I can provide login details to my fresh install of WHMCS admin dashboard if reproduction of the issue fails on your end.

BeezyIV avatar Nov 04 '19 14:11 BeezyIV

@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 avatar Nov 04 '19 14:11 ddymko

@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.

  1. Is this how it is supposed to be?
  2. 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?
  3. 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.

OS Type on Order form

Client area fields

Admin backend fields

BeezyIV avatar Nov 04 '19 17:11 BeezyIV

hey guys im having this same issue and it looks like there is some error with the module Screen Shot 2020-03-07 at 2 45 13 PM

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

dezzyboy avatar Mar 08 '20 01:03 dezzyboy

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

SaneChoice avatar Apr 27 '20 11:04 SaneChoice