Jump to content

markc

Members
  • Content count

    25
  • Joined

  • Last visited

Community Reputation

10 Good

About markc

  • Rank
    Newbie
  1. I'd like to see a some rules for nginx but in the mean time I got around this by logging in as a normal user then using the "back to admin" link to get to the admin user. Once there I could set Setup > General Settings > Friendly URLs back to Basic URLs and use another browser to go to the admin/ area to get past the EULA agreement. After that I set Friendly URLs back to Full Friendly Rewrite and all seems well, until the next upgrade but by then I hope to find the correct rewrite rule for nginx.
  2. Thanks @brian! that worked for me and now I'm on 7.5.1 using PHP 7.2. Problem solved
  3. I'm using Ubuntu 18.04 which comes with PHP 7.2 by default and want to upgrade from 7.5.0 to 7.5.1 after hitting the Billable Items bug. The upgrade failed and I know the formal advice is to downgrade to PHP 7.0 to continue BUT PHP 7.0 is no longer available for Ubuntu 18.04 so I added the xenial (16.04) package repository, which still has PHP 7.0, however php7.0-curl would not install because it depends on an older libcurl version not available on Ubuntu 18.04. So, I can't upgrade to 7.5.1 because the upgrade procedure itself depends on curl, even though the older 16.04 php7.0-fpm seems to run okay on the latest Ubuntu 18.04! I think if I can get upgraded to 7.5.1 I can finally toss PHP 7.0 for good. If anyone else is using Ubuntu 18.04 with PHP 7.2 and having trouble upgrading to WHMCS 7.5.1 and found a solution then I'd surely like to hear about it?
  4. Thanks brian!, I kept poking around and I'm pretty sure you are right that it's 100% up to whatever is printing the generated page. In this case it's generally Firefox (KDE/Neon desktop on a *buntu/debian OS) by clicking on the Print button when the customer views the invoice in their WHMCS billing area. I've found a very simple workaround that will do the trick... just force the printer dialog to print the first page! Duh! The unknowing end user may get caught out the first time they go to print an invoice via the web page Print button but if I know when queried and add it the the Knowlegebase then that basically solves my problem.
  5. WHMCS 7.4.2-release.1 and I do have a mildly tweaked copy of the six theme as my real theme but I just checked and invoicepdf.tpl is exactly the same size in my theme and the six theme, so, no modifications to that template. Most of my clients run linux desktops so printing via Acrobat Reader is not really an option. Attached is an example, I tried to make the logo smaller but I couldn't get that to work (in case it was pushing the first page over some limit) but there seems to be plenty of space at the bottom of the first page anyway. The pagesize is set to A4. I'm not sure where the page header and footer are coming from, perhaps from the six theme? Any suggestions welcome.
  6. PDF invoice generation works okay but when a client wants to print out an invoice there is a second extra page that is blank... an annoying waste of paper that irritates my clients. I have confirmed this by using the print to file function for my OS (ubuntu) and sure enough there is a second blank page after the first invoice page. What is the simplest way to rectify this problem?
  7. 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.
  8. 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)?
  9. 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.
  10. markc

    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.
  11. markc

    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;
  12. markc

    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.
  13. markc

    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?
  14. markc

    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?
  15. markc

    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.
×

Important Information

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