Jump to content

postcd

Member
  • Posts

    128
  • Joined

  • Last visited

  • Days Won

    1

postcd last won the day on September 30 2018

postcd had the most liked content!

About postcd

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

postcd's Achievements

Senior Member

Senior Member (3/3)

2

Reputation

  1. Hello, when managing custom DNS records for the domain at /clientarea.php?action=domaindns I create new type A record with "Host Name" set as empty (since that is how that works in Namesilo), then after submitting the records and page reload WHMCS 6.x (see my signature please) wrongly fills the "Host Name" field with domain name. I mean if domain i am editing is domain.com, then it fills "domain" into "Host Name" field, even i have submitted empty value. It is problem, because after i submit next DNS record while not noticing it prefilled wrong value in previous record, it saves non empty value and everyone is confused why DNS is not resolving. The /home/me/public_html/templates/default/clientareadomaindns.tpl contains this code. Can anyone please kindly suggest me what to replace by what so the empty hostname field stays empty?
  2. This does not work for me, it continue saying "Unavailable", WHMCS 6.3.x On my computer when i execute "whois safdsdfsdfsdfsd.ca --verbose" it returns: Using server whois.cira.ca. Query string: "safdsdfsdfsdfsd.ca" Not found: safdsdfsdfsdfsd.ca but in /includes/whoisservers.php when i add one of the following lines: .ca|whois.cira.ca|Not found .ca|whois.cira.ca|Not found: .ca|whois.cira.ca|Not found: none of it works. I have tried to paste including space after colon. Any idea on what may work please or different whois server? Similar topics searched: https://whmcs.community/topic/127833-resolved-cira-and-unavailable-whois/ https://whmcs.community/topic/134637-ca-domains-show-unavailable-when-theyre-actually-available https://whmcs.community/topic/125005-ca-new-registration-system/ https://whmcs.community/topic/219401-verification-of-availability-ca/ https://www.iana.org/domains/root/db/ca.html
  3. Hello, I would like to ask for help. WHMCS 6.3.2 with module DirectAdmin which creates web hosting accounts on a remote server. When invoice is marked Paid, the API command in Utilities / Logs/ModuleLog missing server IP: but when i click Create button manually on that service page, in WHMCS then it works: Response for missing server is: I have even found decoded /modules/servers/directadminmodules/directadmin.php Website is using CloudFlare, pausing it, not made any difference What are Your ideas why it does not supply it in case of automated setup and please what to try to fix it?
  4. Hello, I would like to use https://www.stopforumspam.com/usage to block spammers, current reCaptcha does not seem to be effective for contact form SPAM tickets. So any idea how to implement it, for example to WHMCS 6.x? v6 hcaptcha module? My other idea was firewall and mod security. But that is just a theory.
  5. Hello, it seems that WHMCS is generating too weak password and cPanel server the WHMCS is contacting is refusing to create hosting account. So in Settings, security i have found Required Password Strength parameter being set to 50. Trying to change and submit the form cause 403 Forbidden error. So i ran following SQL query in PHPMyAdmin: UPDATE tblconfiguration SET VALUE='100' WHERE setting='RequiredPWStrength'; It worked to update the value, but my question is, is this password strength applied only on client account password or also to passwords generated for hosting services bought through WHMCS, like cpanel hosting? Thank You
  6. Hello, when i am not active in WHMCS (6.3.2) admin area for some time, maybe 20 minutes? maybe hour? and then try to for example search using the search field in top right corner, then it fails and returns: and i have to load the whole page again in order for it to start working. It is annoying. I am using Firefox beta and also tried Chrome with just 2 addons that should not be related. The site is protected by the Cloudflare. Someone was advising to go to General Settings / Security and disable CSRF there. But i do not know if it is good idea and which option of these to disable. Note that i have additional .htaccess password protection for the admin area so admin area should be decently safe... Thank You in advance.
  7. Thank you for the feedback. In the includes/whoisservers.php i have found TWO lines: .me|whois.nic.me|NOT FOUND .me|whois.meregistry.net|NOT FOUND (in order like i show it) so i commented out second one turning the line into: #.me|whois.meregistry.net|NOT FOUND then the .me whois lookup started working. No timeout and shows the correct domain status (Unavailable) instead of Available. I think that if needed, the alternative whois server can be defined in above mentioned whoisservers.php file and found by running linux whois command on a domain name and it should output the address of the whois server. Thank you for helping to solve this 🙂
  8. Hello, in the WHMCS 6.3.2 the whois configuration file sets the .me domain whois server to whois.nic.me In the WHMCS logs i see " WHOIS Lookup Error for encrypt.me': Error: 110 - Connection timed out " I paused Cloudflare protection for the site and waited 2 minutes, that whois whmcs lookup continue to timeout. The IP shown was my IP. When i do Linux command (whois encrypt.me -h whois.nic.me) from my computer with that public IP, then the WHOIS works, and does not timeout. I asked my hosting provider to do the same command from the hosting server where WHMCS is hosted, it does not timeout either.
  9. Hello, i have found that in WHMCS 6.3.2 in the file templates/orderforms/verticalsteps/adddomain.tpl is line "<h2>{$LANG.choosedomains}</h2>" below which i can insert custom text. I want to insert link to https://www.namecheap.com/domains/registration/results/?domain={$domain} {$domain} being the variable used for the domain name the user submitted for checking its availability. I already tried several variables, but none return the domain name. Please which variable it is? Or can i add any particular debug line into that .tpl file that show me all available variables please? I tried to add {debug} and it found following three variables and its properties: $availabilityresults Smarty_Variable Object (3) ->value = Array (2) 0 => Array (4) domain => "encrypt.me" status => "unknown" ... $domains Smarty_Variable Object (3) ->value = Array (1) 0 => "encrypt.me" ->nocache = false ->scope = "file:/home/me/public_html/templa..." $searchResults Smarty_Variable Object (3) ->value = Array (11) domainName => "encrypt.me" tld => "me" sld => "encrypt" status => "unknown" legacyStatus => "error" score => 1 isRegistered => false isAvailable => false suggestions => Array (1) ...
  10. PHP 5.6 and WHMCS 6.3.2, "default" template (one from WHMCS 5.x possibly), "verticalsteps" orderform template. when i am on an Invoice page as a client and while debugging mode is enabled and while i select only one particular payment gateway, i see: Here is the php file of that payment gateway. password is "whmcs" and here callback php file. This payment gateway worked till the beginning of this month, now it do not mark invoice Paid. Can you please suggest me what to check to find the cause and fix this?
  11. SUCCESS! following is how i converted cpanel products into DirectAdmin products It is a bit tricky but i think i found how to convert cpanel products into directadmin products (it should work also for other kind of hosting account products). on my WHMCS 6.3 and i can say DirectAdmin module works good with current DirectAdmin (09/2019) - i added new Server with DirectAdmin type (Setup -> procuts/Services -> Servers) - i went to Setup -> Products/Services -> Products/Services, then clicked to edit one of the cpanel products (hosting plans) and on the "Module Settings" tab set the Directadmin. - i have open one of the client's cpanel hosting product in WHMCS and changed Server from MyCpanelServerName to MyDirectAdminServerName. At that point it given an impression the Server type was saved for that clients hosting product (page reload shown new server be assigned), but NO. When i clicked to suspend/unsuspend/create, it used my cPanel server hostname (wrongly) instead of DirectAdmin address and in the MySQL database/tblproducts/particular product, the Server ID was cpanel server ID. But when i clicked Save button (in the WHMCS/ some client's hosting products) then it reflected number of used packages next to the server name and changed the ID in mysql database and now API commands works good. So in short: Add DirectAdmin server in WHMCS Edit all cpanel products (hosting packages) and set DirectAdmin in on its "Module Settings" tab List all active or suspended cpanel services and open them one by one and change Server type in them and confirm changes by Save changes button
  12. Hello, on WHMCS 6.3.2 when i want to turn tens of cPanel (WHMCS server module) services into DirectAdmin (WHMCS server module) services/products, how i do it without the need to manually create services and copy paste all the product properties over? On the product/service page of some of the clients i can change "Server:", but unsure if that would be so easy. Also anyone knows if mine mentioned WHMCS version DirectAdmin module is still working? I have not found any changelog on https://docs.whmcs.com/DirectAdmin .
  13. so in short, passwords for server kind of WHMCS products can be generated on order form, but password for WHMCS cpanel products can not? WHMCS does not looking for any user input that can be saved as a password of the ordered cpanel kind of product? Thus it will not help me to try to copy that password text field to various places of the configureproduct.tpl or any other files?
  14. Thank You for your effort @brian!. I have used your code, but i had to also make an adjustment - in order for the orderform to accept the password, i had to replace "output" by "rootpw" in the password text field code and also "output" by "rootpw" in the javascript code. (if anyone interested here i describe changes i made in my templates/orderforms/verticalsteps/configureproduct.tpl based on Brian! file attached above) RESULT: It worked only when i tried to generate password and order server. It generated and saved 12 characters long password. But when i tried to order cpanel hosting account, there was no prompt to generate or enter password and inside admin area i see the password is only 10 characters long, not 12 as set by Brian! javascript. 🤔 Any idea how to generate more complex/longer password for cpanel products or how to show password generating field during its order? UPDATE: i see i editted inside "{if $productinfo.type eq "server"}" section, that is why, but do not see other password field code in the file that would be applicable to non-server products.. Also while researching i found that the password may be also generated using PHP (i think PHP in templates have to be allowed somewhere in WHMCS settings), the php based generator may look like this: <input type="hidden" name="rootpw" size="20" value="{php}$rdmpw = substr(md5(rand().rand()), 0, 15); echo $rdmpw;{/php}" /> 15 = length, i bet it is using only alphanumeric
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated