Jump to content


  • Content count

  • Joined

  • Last visited

Community Reputation

10 Good

About markc

  • Rank
  1. Doh, apologies for the noise. I just found the problem of the old IP in my nginx config as a location block with a deny all and allow old IP. Fixed.
  2. I locked down my admin access by providing my source IP. Unfortunately due to circumstances beyond my control my local workstations IP has changed and now I can't login to my admin area to allow access from my new IP! I've gone through my whmcs database looking for likely entries and the most obvious were tblconfiguration setting = WhitelistedIPs and APIAllowedIPs both of which I have changed values to my new IP but I am still locked out with a "403 Forbidden". Is there another entry I need to change somewhere in the database? Is the procedure to fix a mistake like this documented somewhere (google didn't find anything useful)?
  3. It's hard to find a definitive answer but some google results seem to indicate that PHP 7.1 with the latest Ioncube 10 loader may work with the latest versions of WHMCS. My ubuntu /etc/php/7.1/cli/php.ini has... [PHP] zend_extension = /usr/lib/php/20160303/ioncube_loader_lin_7.1.so and that 10.0.4 loader is definitely there... ~ ll /usr/lib/php/20160303/ioncube_loader_lin_7.1.so -rw-r--r-- 1 root root 1331112 Nov 2 12:04 /usr/lib/php/20160303/ioncube_loader_lin_7.1.so but I get this when I test cron.php and the website has a similar error under fpm... ~ php /home/u/my.domain/var/www/crons/cron.php PHP Fatal error: The file /home/u/my.domain/var/www/crons/cron.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0 So is it possible to run these versions together? Do I have to tweak something, maybe reinstall WHMCS? Or is it simply not possible and if so when will it be? I'm using the latest version of Ubuntu Artful and one of the php modules I rely on (php-ssh2) no longer provides a module in /usr/lib/php/20151012/ but provides one for /usr/lib/php/20160303/ so I would prefer to move on and standardise on using php 7.1 across all servers as it was released a ~year ago.
  4. Reseller clients

    @brian! Thanks so much for your feedback, really appreciated. After a week to think about things I lean towards paying for the Resellers Center module if I really want to get serious about multi-level admin support.
  5. Can't get to admin/setup/authn/view

    Thanks for the tip. I tried that, and flushing my template cache, but it turns out I did not update my customised six theme along with the recent 7.3 update! It's a pity WHMCS does not adopt the Wordpress child-theme strategy because my only modifications are in css/custom.css. And for anyone using nginx I find this extra rule allows me to go back to "Full Friendly Rewrite" and now /admin/setup/authn/view works... rewrite ^/admin/setup/(.*)$ /admin/index.php?rp=/admin/setup/$1 last;
  6. Reseller clients

    "they've just bought a reseller hosting product for them to manage" I can understand that there is no extra functionality like what the Resellers Center module has to offer otherwise there would be no reason for that module to exist. I guess I simply do not understand the functionality of "Product Type" and how those 4 settings affect interaction between clients and their products. My feeling is that they are almost arbitrary labels or tags to distinguish a few common products types with Other Product/Service being a kind of wildcard for anything other than the first 3. A set of categories without any extra real functionality. I did read this in the docs but that one sentence description does not give me any idea how to use or take advantage of that setting -> Reseller Hosting - for web hosting reseller accounts I guess it means that if one has a module and/or provisioning software that is "reseller" aware then the category/label to distinguish those products is already there as a fundamental part of the WHMCS core code to support any extra reseller modules. I do have a dev setup so I should investigate roles and groups to see if there is anything I can squeeze out of them but, again, the documentation is so brief I might be wasting my time. Thanks for your input.
  7. Reseller clients

    @brian! thanks for confirming what that reseller module offers is kind of what I was hoping WHMCS might do out of the box. Not so. That dedicated reseller module is quite expensive but it's cheaper than the annual lease of a separate WHMCS license and has the advantage that all information is in the same database with the same frontend interface so that point is a major win vs separate leases of WHMCS itself. Just in case I can manually emulate part of what I want to do with admin roles and groups, could you or anyone explain what the meaning of this "Reseller Account" option under Setup -> Products/Services actually means and does (see attachment) and/or exactly where the documentation for this option might be?
  8. Can't get to admin/setup/authn/view

    I've added Twitter and G+ API authentication but nothing is showing up on my Signin page. How would I go about debugging this and trying to figure out why these 2 extra buttons are not showing up?
  9. Reseller clients

    Is it possible to setup a client as a "reseller" within a single instance of WHMCS? If so then any pointers to documentation would be appreciated. I thought it was possible to have a separate admin client that would have their own set of clients to bill and manage and some kind of reseller branding for that admin client but now when I google for any related documentation the only sense of "whmcs client reseller" I can find is for either reselling WHMCS itself or companies using cPanel with it's built in reseller abilities. I do not use WHM/cPanel so I have to build that provisioning side of things myself but I still need to know if it's possible to fully or partially emulate a reseller within WHMCS.
  10. Can't get to admin/setup/authn/view

    Ah, thanks for the reminder about the "Friendly URLs" section. I set it to basic and now I can at least get to the Sign-In Integrations page using this URL... /admin/index.php?rp=/admin/setup/authn/view So now I just have to figure out the nginx equivalent for these 2 lines below (I presume) and I then can go back to using Full Friendly Rewrite. Thank you WHMCS Andrew RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$ RewriteRule ^.*$ %2index.php [QSA,L] If anyone has already worked out the nginx equivalent to the above then a hint would be appreciated.
  11. The link I have for Setup > Sign-In Integrations is admin/setup/authn/view but I get a 404 Not Found. I use nginx but it wouldn't matter if I were using apache because without the appropriate rewrite rule it will never work. Would anyone have a suggestion as to the correct rewrite rule? I understand nginx is supported so an apache .htaccess rule would be fine and I'll manually convert it.
  12. Sorry about the double attachments. I thought I removed the large one before uploading a resized smaller one but the first large one is still there, obviously. I couldn't find anyway to edit the post after posting either. 1. I have just done a fresh reinstall and using the standard_cart. The only thing I did, so far, is copy templates/six to another name and now using that theme. I noticed just now I had not edited the theme.yaml file so not sure if that had anything to do with it. 2. Checking now... just six of them until I understand how things are meant to work. The registrar is SynergyWholesale (updated Ventura module I think). Appreciate any suggestion you might have.
  13. Hi, I thought I may have fixed this issue by re-setting up a registrar and domain pricing a couple of times and only using the Standard Whois option but I am still getting both red domain unavailable and green available notices after selecting a domain. Can anyone suggest how I can fix this so I only get the correct available or unavailable response from the standard whois selection? Also, the suggestions spinner just keeps spinning, but sometimes it has worked. Any clues for that?
  14. Yes, that part worked fine, there are 376 tlds inserted with up to 10 years of marked up pricing, and in a reasonable order. The default price is in AUD and when I manually update the (only extra) USD pricing then all fields seem to be populated for both rates for all years available from the registrar. The Synergy Wholesale API is so much faster than using the Enom auto update module which often times out on me. I only update the tbldomainpricing and tblpricing tables so maybe I am missing an entry in another table perhaps? INSERT INTO `tbldomainpricing` ( `extension`, `dnsmanagement`, `emailforwarding`, `idprotection`, `eppcode`, `autoreg`, `group`, `order` INSERT INTO tblpricing ( `type`, `currency`, `relid`, `msetupfee`, `qsetupfee`, `ssetupfee`, `asetupfee`, `bsetupfee`, `monthly`, `quarterly`, `semiannually`, `annually`, `biennially`
  15. Latest v7.2.3 freshly reinstalled to solve a cart.php 500 Internal Server Error crash. After selecting a domain to search for on the home page the cart.php?a=add&domain=register page comes up and if it says the domain is available the "How long do you want to register this for?" dropdown menu is empty and so far I have not been able to find the right magic to get it to show at least 1 year. Any clues where to look? What I have done is written a simple script to populate the tld, pricing+markup and tld order direct from the Synergy Wholesale (AU) API so it's possible I have missed out on some setting that needs to flow through to the template but I am at a loss where to look to track this down.

Important Information

By using this site, you agree to our Terms of Use & Guidelines