PDA

View Full Version : WHMCS - The 'OS template' field has invalid value.


FireWalkerX
05-22-2018, 09:15 PM
Hi, working on setting up WHMCS with VMmanager, so ive downloaded the OS templates that i need, tested setting up nodes directly on VMmanager (cloud) and that works fine.

when setting up in WHMCS i get the above error, below you can see from the modules log:
<?xml version="1.0" encoding="UTF-8"?>
<doc><error type="value" object="vmi" lang="en" code="1"><param name="object" type="msg" msg="OS template">vmi</param><param name="value">CentOS-6-amd64</param><param name="desc" type="msg">desk_empty</param><stack><action level="29" user="whmcs">vm.edit</action></stack><group>The '__object__' field has invalid value. __desc__</group><msg>The 'OS template' field has invalid value. </msg></error></doc>

so, im wondering precisely what am i supposed to call the OS templates, i tried a simple "copy name from "OS templates management"

but as you can see above, it errors out, so what is expected in that field?

ksenya
05-24-2018, 07:45 AM
Hello

CentOS-6-amd64 is the name of the template, you should use the ID. You can see IDs in xml output, if you go to http://<your VMmanager>/vmmgr?func=osmgr&out=xml
For example, for CentOS-6-amd64 ID is ISPsystem__CentOS-6-amd64