Jump to content

bayden10

Member
  • Posts

    18
  • Joined

  • Last visited

About bayden10

Recent Profile Visitors

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

bayden10's Achievements

Junior Member

Junior Member (1/3)

1

Reputation

  1. hey @hostingarg thanks, enabled on WHMCS8.11.1 PHP8.2 👍
  2. I had to change WHM system PHP default in order to not see the mismatch. WHMCS support also states that this can be ignored if HTTP PHP is correct when viewing PHP version under Utils and grep PHP Running Config from terminal. ~b10
  3. @papo2414 Can you provide the outcome after waiting for next WHMCS system CRON, did that update the PHP version so it no longer displays Mismatch? ~b10
  4. Yes this is problematic for many custom modules as I see at the moment. I would also prefer to utilize Full-Rewrite. Does anyone have a working .htaccess rewrite rule to bypass the /store rewrite and /store/slug so it rewrites Full properly? Suggested ### BEGIN - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### <IfModule mod_rewrite.c> RewriteEngine on # RewriteBase is set to "/" so rules do not need updating if the # installation directory is relocated. It is imperative that # there is also a RewriteCond rule later that can effectively get # the actual value by comparison against the request URI. # # If there are _any_ other RewriteBase directives in this file, # the last entry will take precedence! RewriteBase / # Redirect directories to an address with slash RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] # Send all remaining (routable paths) through index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Determine and use the actual base RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$ RewriteRule ^.*$ %2index.php [QSA,L] </IfModule> ### END - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### Existing ErrorDocument 404 /404.php ### BEGIN - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### <IfModule mod_rewrite.c> RewriteEngine on # RewriteBase is set to "/" so rules do not need updating if the # installation directory is relocated. It is imperative that # there is also a RewriteCond rule later that can effectively get # the actual value by comparison against the request URI. # # If there are _any_ other RewriteBase directives in this file, # the last entry will take precedence! RewriteBase / # Redirect directories to an address with slash RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] # Send all remaining (routable paths) through index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Determine and use the actual base RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$ RewriteRule ^.*$ %2index.php [QSA,L] </IfModule> ### END - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ### # RewriteRule ^(.*)$ "https\:\/\/domain\.ca\/$1" [R=301,L] Options -Indexes RewriteCond %{HTTP_HOST} ^domain\.ca$ [OR] RewriteCond %{HTTP_HOST} ^www\.domain\.ca$ RewriteRule ^e911\/?(.*)$ "https\:\/\/www\.domain\.ca\/announcements\/3\/Our\-911ore911\-Emergency\-Service\.html$1" [R=301,L]
  5. On our DEV box and maintenance mode enabled I made sure to set to manual in advanced and then URI rewrite file WHMCS Rules: Synchronize. Then make sure manual override is shown, if not click the sync arrows. You will see I have some error on rewrite but I can ignore that as this is DEV. Will be interesting once I've updated our templates and move over to Production.
  6. Thanks @brian! Yes that was my first thought was to check Friendly URLs and I did make a change from Full to Basic and the issue persisted. Then checked the Advanced section, after seeing your post, for URLs and enabled "Mode Override" which resolved this issue. Another thing I should have pointed out is that is a DEV WHMCS host with maintenance mode enabled which I think made this a bit more troublesome. Yes I did do a quick search within v8.0 discussions but nothing came up.
  7. Previously in v7.x selecting Order New Product in Client area there was no redirection but after upgrading when selecting Order New Product within the client area it is now problematic when redirection is taking place to (i.e. https://whmcsstore.com/store/productgroup ) and this breaks our cart layout which has never done in the past. Switching to Six template still produces the unwanted redirection. Is there something that can be addressed in order to stop the redirection as to produce our current cart layout?
  8. Hi @WHMCS Alex Ok, but Is there a way to disable that? We have different CCs set for quick notification and followups. Email verification is important but so is notifying sales there is a new signup. ~b10
  9. Hi, I'm not sure when this started happening but I've tried debugging with logging this issue and find that the send email template "Client Signup Email" when a new user signs up never gets sent. The email verification does send and I can send the "Client Signup Email" manually. This appears to be a possible hook issue? ~b10
  10. Hello, Need help. Since the latest update to 7.10.1 we have now seen with discount codes used with reoccurring service products the total services product and discount amounts increase by the discount value. eg. monthly recurring Product Widget1 recurring amount $10 Product Widget1 recurring discount 50% Invoiced by cron or manually produces this: Product Widget1 amount $20 Product Widget1 recurring discount 50% ($10) Total Invoice $10 when it should be $5 All products with reoccurring amounts without discounts have no logic issues only with discounts. Any ideas? ~j
  11. Hi, I should mention this is our Development host running v7.7.0 Beta 1.
  12. Hi, We had Yubico enabled and not all admins had access to Yubico so we deactivated Yubico and then enabled DUO as Active. When logging in to Admin Panel set to " Force Administrator Users to enable Two Factor Authentication on Next Login " but the Two Factor resorts to TOTP with Google Authenticator which was disabled and Deactivated. DUO Two Factor never displays. Jim
  13. Hi When viewing the source with downloadable files within the Knowledgebase/downloads view or downloads.php and views it appears that there is a closing tag </a> in the wrong place. The file name, size and description are being referenced with <a href> so if text is provided for the download the text cannot be copied (i.e. Codes, Serial numbers, other links, etc...). The reference should only be for the actual file attachment. ~jim
  14. Hi, the 7.5.0 downloads.php that was provided has a closing tag </a> in the wrong place. The file name, size and description text is being referenced with <a href> ~jim
  15. WHMCS 7.4.2 Some cosmetic changes (FireFox user) and weight adjustment, works for me. <?php //open invoices widget , rewritten for 7.1 //courtesy of https://www.whmcs.com //version 1.0.1 use Illuminate\Database\Capsule\Manager as Capsule; add_hook('AdminHomeWidgets', 1, function() { return new InvoiceWidget(); }); /** * Open Invoices widget */ class InvoiceWidget extends \WHMCS\Module\AbstractWidget { protected $title = 'ICT Open Invoices <a href="invoices.php?status=Unpaid" class="btn btn-link btn-xs">View All »</a>'; protected $description = 'An overview of Open Invoices.'; protected $weight = 50; protected $columns = 1; protected $cache = false; protected $cacheExpiry = 120; protected $requiredPermission = 'View Income Totals'; public function getData() { return array(); } public function generateOutput($data) { foreach (Capsule::table('tblinvoices') ->WHERE ('status', '=' , 'Unpaid')->get() as $invoice) { $invowner = $invoice->userid; $invid = $invoice->id; $invgenerated = $invoice->date; $invoicedue = $invoice->duedate; $invoiceamt = $invoice->total; $invoicemethod = $invoice->paymentmethod; $invlink = "invoices.php?action=edit&id=$invid"; $userlink = "clientssummary.php?userid=$invowner"; $invgenerated = $date = fromMySQLDate($invgenerated); $invoicedue = $date = fromMySQLDate($invoicedue); $invoicemethod = ucwords($invoicemethod); foreach(Capsule::table('tblclients')->WHERE ('id', '=', $invowner)->get() as $whoami) { $fname = $whoami->firstname; $lname = $whoami->lastname; $cname = $whoami->companyname; $theuser = "$fname $lname"; $currencyid = $whoami->currency; } if (empty($currencyid)) { //set to default currency $currencyid = '1'; } foreach(Capsule::table('tblcurrencies')->WHERE ('id', '=', $currencyid)->get() as $currency) { $prefix = $currency->prefix; $suffix = $currency->suffix; } $theoutput .= " <div class=\"row\"> <div class=\"col-xs-2\"> <div class=\"item\"> <a href=\"$invlink\">$invid</a> </div> </div> <div class=\"col-sm-4\"> <div class=\"item\"> <a href=\"$userlink\">$theuser</a> </div> </div> <div class=\"col-xs-3\"> <div class=\"item\"> $invgenerated </div> </div> <div class=\"col-xs-3\"> <div class=\"item\"> $prefix$invoiceamt $suffix </div> </div> </div>"; } if (!empty($theoutput)) { return <<<EOF <div class="widget-content-padded"> <div class="row"> <div class="col-xs-2"> <div class="item"> <strong>ID</strong> </div> </div> <div class="col-sm-4"> <div class="item"> <strong>User</strong> </div> </div> <div class="col-xs-3"> <div class="item"> <strong>Generated</strong> </div> </div> <div class="col-xs-3"> <div class="item"> <strong>Amount</strong> </div> </div> </div> $theoutput </div> EOF; } } }
×
×
  • 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