sysnop
06-10-2011, 09:36 PM
I'm using an old script that used to work well with the Interworx API for creating Siteworx accounts. Now, a few years later, the script is unable to create accounts during the iworx.createaccount portion of the API calls. No doubt the API has changed a lot since I last used it with easy success. I'm just hoping there's something I can try on the Interworx or PHP side of things to get it working like before (like I was able to do when XMLRPC errors prevented the script from connecting at all during the iworx.getip portion).
Here's a clipping from the log during the iworx.createaccount process that seems to indicate a problem with how the hosting package is handled (by newer API requirements?):
[string] => There was a problem validating the form. Please see details below.
packagetemplate: "test" This is not a valid option
OPT_STORAGE: This input is required
OPT_BANDWIDTH: This input is required
OPT_EMAIL_ALIASES: This input is required
OPT_EMAIL_AUTORESPONDERS: This input is required
OPT_EMAIL_BOXES: This input is required
OPT_EMAIL_GROUPS: This input is required
OPT_FTP_ACCOUNTS: This input is required
OPT_MYSQL_DBS: This input is required
OPT_MYSQL_DB_USERS: This input is required
OPT_POINTER_DOMAINS: This input is required
OPT_SLAVE_DOMAINS: This input is required
OPT_SUBDOMAINS: This input is required
Everything else in the log looks relatively clean. Suggestions are much appreciated.
Here's a clipping from the log during the iworx.createaccount process that seems to indicate a problem with how the hosting package is handled (by newer API requirements?):
[string] => There was a problem validating the form. Please see details below.
packagetemplate: "test" This is not a valid option
OPT_STORAGE: This input is required
OPT_BANDWIDTH: This input is required
OPT_EMAIL_ALIASES: This input is required
OPT_EMAIL_AUTORESPONDERS: This input is required
OPT_EMAIL_BOXES: This input is required
OPT_EMAIL_GROUPS: This input is required
OPT_FTP_ACCOUNTS: This input is required
OPT_MYSQL_DBS: This input is required
OPT_MYSQL_DB_USERS: This input is required
OPT_POINTER_DOMAINS: This input is required
OPT_SLAVE_DOMAINS: This input is required
OPT_SUBDOMAINS: This input is required
Everything else in the log looks relatively clean. Suggestions are much appreciated.