Search the Community
Showing results for tags 'module command'.
-
Hi All, We've had a couple of occasions where hosting accounts have been accidentally terminated using the terminate module command in WHMCS, and I want to stop this. I can see that it's possible to enable/disable *all* modules commands ("Perform Module Command Operations") per admin role, but I want to see if I can disable *only* the terminate command. WHMCS documentation doesn't appear to be coughing up the answer. Thanks for your help, Ross
-
Hello, I can't access to the page 'Servers' under Setup > Product/Services > Servers. The file 'configservers.php' systematically produces a 500 Internal Server Error. The issue started right after a server migration to a new IP address. All is working perfectly fine after the migration, except for this particular issue. I need to replace the old IP with the new one under 'Servers' configuration, otherwise the 'Module Settings' and the Auto-Setup feature will not run. Has anyone run into the same problem? Any ideas on how to solve this issue? Thanks. alessandro
-
I'm working on a module, and I need to do an SELECT QUERY with an INNER JOIN. Here is what I have: $table = "tblcustomfieldsvalues"; $fields = "fieldid,fieldname"; $where = array( "relid"=>array("sqltype"=>"LIKE","value"=>$params['serviceid']), ); $sort = "fieldid"; $sortorder = "ASC"; $limits = "0,2"; $join = "tblcustomfields ON tblcustomfields.id=tblcustomfieldsvalues.fieldid"; $result = select_query($table,$fields,$where,$sort,$sortorder,$limits,$join); There are two custom fields for this product, and their values occupy two rows in the tblcustomfieldsvalues table. This query should result in two records, with fieldid (from tblcustomfieldvalues) and fieldname (from tblcustomfields) for each. However, $result always comes up null. Anyone out there have any ideas?
