Jump to content

MarkVDD

Member
  • Posts

    6
  • Joined

  • Last visited

About MarkVDD

MarkVDD's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Hey all, I am trying to update from 8.2 to 8.2.1 and when doing that I get a error message, so I tried updating again this time with devtools open and saw "500 internal server error" This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.So I increased max_execution_time to 500 and tried increasing the memory_limit after trying again I still get the issue.
  2. Yep, turns out the google reCaptcha was the problem, somehow entered the wrong site key 😕 Thanks for the input nonetheless brian!
  3. I haven't done anything to the checkout page yet (nothing with visibility hidden, or something like that either across the whole website) so that is not something, I think, I just discovered the Google reCaptcha might not be working since it is invincible, so I will look into that deeper.
  4. Hello everyone! I have a problem when going through the checkout process, when I selected a product and go to the checkout, and I have entered the details. Then when I click on the Complete order button, it keeps loading and does nothing, I haven't changed any functionalities, just some css. Here is a screenshot: https://prnt.sc/10yd3k4
  5. Ah, I see what I have done wrong. I made the folder in my child theme, so child_theme/includes/hooks/ But it needs to be in the root/includes/hooks. Thanks for making me double check 😛
  6. Hey all! Just a sidenote, I just started getting into WHMCS and know little to nothing about it, just following the docs and seeing what I can do. I am trying to remove the divider in the default navbar when you click on "Account" in between Login and Forgot Password? The code I am using is located in the /includes/hooks folder (named removeDivider.php if it is of any use) and is as follows: <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondaryNavbar', 1, function (MenuItem $secondaryNavbar) { if (!is_null($secondaryNavbar->getChild('Account'))) { $secondaryNavbar->getChild('Account')->removeChild('Divider'); } }); Now when I look at the frontend again I see no change, I tried add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { too, but without success, and I am starting to wonder if the hook is firing at all? Am I maybe using the wrong hook? Any help is greatly appreciated 🙂
×
×
  • 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