Jump to content


Senior Member
  • Content Count

  • Joined

  • Last visited

  • Days Won


adz1111 last won the day on August 19 2017

adz1111 had the most liked content!

Community Reputation

1 Neutral

About adz1111

  • Rank

Recent Profile Visitors

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

  1. Ignore that last question - figured out it was something specific to that bridge service and removing is fine. Thanks for your help, though
  2. Thanks John Ok - so that got me going and looks like issue is: PHP Fatal error: The file /home/yourscope/public_html/whmcs/bridgeipfix.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1. Looking at similar issues for others, it looked as maybe it was old / deprecated. Took a copy of it and then deleted it. I then get... PHP Fatal error: require(): Failed opening required '/home/yourscope/public_html/whmcs/bridgeipfix.php' (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/yourscope/public_html/whmcs/configuration.php on line 16 So I checked my config file and sure enough there's a require for that file. Commenting that out appears to have fixed it. So the question is, is that file really required do you know? I did use a bridge service to WordPress for a little while and am wondering if that's a hangover from that (I don't use it any more)? Thanks
  3. Hi - I get this Oops error page when accessing as a "customer" - and no error information is given though. So I started to follow troubleshooting tips and soon realised I cannot login to the admin side either - same error. I was on 7.5, which was working fine - but suspect it auto-updated to 7.5.1 in last day or so? So - any ideas where I can see what's going awry? Or how to roll back if 7.5.1 is the culprit in some way? Thanks
  4. Hi I have an an issue that when a client on my site (https:/www.yourscope.co.uk) clicks the "Client portal" button they are sent to "https:/www.yourscope.co.uk/whmcs/" (which matches the WHMCS System URL). That's all fine. However, instead of opening up the clientarea login page it stays blank and redirects to: https://www.yourscope.co.uk/whmcs/clientarea.php (which again I think is fine if that's where it stayed) It then immediately redirects to this weird double -slash URL for a second or so: https://www.yourscope.co.uk/whmcs//clientarea/ And then that redirects to this weird double -slash URL: https://www.yourscope.co.uk/whmcs//index/ (where it stays, but does seem to be looping on that one page - a 404 not surprisingly): The site has been SSL from outset and worked fine until a few weeks ago, and the option "Default to Client Area" is enabled. I have read the documentation that discusses redirect loops being possibly .htaccess issues, and resetting Friendly URLs to "full friendly rewrite". I do use cloudflare and that has always had SSL set to Full (strict) - and this issue still occurs if I put Cloudflare into Dev mode. Following, all those suggestions has made no difference. One thing I did notice is that if I am actively logged in WHMCS as the admin, if then go my site (in a different tab) and then click "Client Portal", it works as expected - I see the login screen and the URL is https://www.yourscope.co.uk/whmcs/clientarea.php - as soon as log out of my admin account - refreshing the client logging page brings this weird redirect loop thing again. So I'm now kind of stuck determining where the issue is coming from? Any ideas from anyone please? Many thanks Adz
  5. Sorry to resurrect - just a simple answer to a comment made: So doing all the above makes sense - so how does this affect the paid invoice numbering settings in the Setup > General Settings > Invoices? Does the addon mean those settings are ignored in favor of the addon settings? Or should the general settings "version" be unticked? Thanks
  6. Ok I fixed this. In case anyone else has a similar problem... It is all to do with the local.ini file if you use MultiPHP. When I looked at the one for PHP7, the local.ini file was pointing to the wrong ionCube loader for PHP 7.0. Hence it spitting out a PHP error. Changing the local.ini file by commenting out the ref to the wrong ionCube loader (via the "MultiPHP INI Editor" sidebar option in WHM for PHP 7.0) solved this: ;zend_extension="/usr/local/IonCube/ioncube_loader_lin_5.6.so" MultiPHP had a one line ini for the correct loader, but I think the order in which these piecemeal ini files are loaded / read meant that the 5.6 loader line was the last one read, overriding the correct loader line. Anyway - all is at one in the world once more.
  7. Hi So I have WHMCS installed under my domain which is on a VPS server running Cloudlinux. This supports multiPHP so I can have different domains running various PHP versions. For this domain and WHMCS I have PHP 7.0 and ionCube Loader 5.6 (which works for PHP 7.0). Because of the way Cloudlinux is configured for multiPHP I had some fun and games initially setting up WHMCS and getting cron configured, until I realised that it was by default pointing to the default PHP location, and not PHP 7.0 with ionCube Loader built into it. Changing the path to explicitly use the correct PHP build fixed it. That served me well setting up the forwarders to pipe emails to the support area. Once I set them up also pointing to the right PHP build everything worked fine. An example of the forwarder pipe is: /opt/cpanel/ea-php70/root/usr/bin/php -q /home/yourscope/whmcsdata/crons/pipe.php After set up, anyone raising an email to a support email address gets a notification of their ticket being opened. I as the admin get an email notification a ticket has been raised, and the ticket is nicely there in the support area of WHMCS. Happy days. The trouble is, the customer sending that original email, as well as getting the correct notifications, also gets this weird bounced email that says: This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: pipe to |/opt/cpanel/ea-php70/root/usr/bin/php -q /home/yourscope/whmcsdata/crons/pipe.php generated by [email]info@yourscope.co.uk[/email] The following text was generated during the delivery attempt: ------ pipe to |/opt/cpanel/ea-php70/root/usr/bin/php -q /home/yourscope/whmcsdata/crons/pipe.php generated by [email]info@yourscope.co.uk[/email] ------ Failed loading /usr/local/IonCube/ioncube_loader_lin_5.6.so: /usr/local/IonCube/ioncube_loader_lin_5.6.so: undefined symbol: zval_update_constant_inline_change Action: failed Final-Recipient: rfc822;|/opt/cpanel/ea-php70/root/usr/bin/php -q /home/yourscope/whmcsdata/crons/pipe.php Status: 5.0.0 Now, I've looked everywhere for hours (including WHMCS docs) and did find a number of similar issues that have solutions around pipe.php permissions, or redirecting its output to NULL and a bunch of other things. None of these have worked nor reference loading ionCube being part of the problem, or the fact I have multiPHP environment. Given all is actually good, I simply wanna stop that bounce and the path of the ionCube loader is correct. Anyone have any ideas please as to why it's complaining, and what I can do to either fix it or suppress it? Many thanks.
  8. Brian Ok - all sorted including addons. Realised it took the parent from General | Ordering. Anyway - everything working as I'd hoped - really do appreciate your help - saved me a lot of time! Thanks again.
  9. Brian, sorry. Looks my reply arrived as you had replied. To clarify the renaming bit - what I have done is copied the orderforms folders of standard_cart and premium_comparison, and renamed the copied folders with a ys_ prefix and then re-added those folders back under orderforms. So all the original cart templates are there with my 2 folders as extras. The theory being I can then mess around with my ys_ templates and not break anything, nor lose stuff if there's an update / upgrade. In the same way, I duplicated the six folder and renamed the dupe to something else. Was that wrong?
  10. Ignore me - had my templates mixed up - all good and working now, but... Will that technique work with addons? I actually want, for certain plans, the ability to book an appointment (using external appointment software). What type of appointment you can book is plan dependant (not all plans offer that as part of the plan). Also, as it's a "feature" of a plan it's free, and the button should just take them to an external URL to go book it. It looks like I could follows the same path as products, except for the fact addons don't look like they're grouped like products are, and so I can't see how you choose a cart template. I could probably just do it like the POA product before, but what I like about addons is that only the applicable addons for a main product can be set - so folks can't order stuff that's not applicable. If I go the POA product route , I suspect if it's there to click on then people will do that. What d'ya think? Mad?
  11. Hi Brian Ok - so I have had a go. I have a custom copy of the orderforms templates - namely standard_cart and premium_cart, the parent custom folder and the 2 tpl files within it have custom names. I edited my custom standard_cart.tpl file and inserted the code you provided (which made sense). It is gid 2 as it happens, so all good. But nothing displays other than the 1 real product from gid 2. I checked that the groups are both pointing at my custom cart file... I presume this is standalone, and by that I mean any products in that group should display normally, and this one would then follow it?
  12. Many thanks Brian! Very helpful! I'll have a play - I just started messing with templates / hooks - bit weird compared to what I'm used too, but think I'll get there. Also, appologies for the delay - as a newbie I was waiting for the post to be moderated. Plus, it didn't notify me that it had been approved, nor that I had a reply. I'll double check my forum settings. Anyway, thanks again for taking the time.
  13. Hi Newbie here. I have looked quiet extensively and cannot see any obvious way of doing this. I guess it may not be possible, but I'm here hoping it is... I am trying to add a product that should display like any other product, but not have a price showing at all (or instead, maybe "£POA"). If I disable the price, the product simply doesn't appear in the "shop". The reason I need this is that it will be a very bespoke product and would require me quoting following a conversation with the client (at a minimum). So, ideally I want the product to be visible (so clients at least know it's something I offer), but instead of an "order now" button, have a "contact us for a quote" button, or even just allow me to hide the button and I can indicate in the description that they need to contact us. In advance, many thanks
  • 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