Jump to content

DennisHermannsen

Senior Member
  • Content count

    426
  • Joined

  • Last visited

  • Days Won

    8

DennisHermannsen last won the day on December 25 2019

DennisHermannsen had the most liked content!

Community Reputation

39 Excellent

1 Follower

About DennisHermannsen

  • Rank
    Level 2 Member

Recent Profile Visitors

1,537 profile views
  1. DennisHermannsen

    submit reply AND close ticket

    Would be great if something like that was ever added to WHMCS. It seems like every other ticket system has it. We spend so much time on closing tickets that really are solved because the client writes "thanks" or something like that.
  2. DennisHermannsen

    WHMCS Updated - Receiving cron error

    Try running the cron job like this from SSH: /usr/local/bin/ea-php72 /home/g*******/********r/crons/cron.php -vvv
  3. DennisHermannsen

    WHMCS Updated - Receiving cron error

    Yes, that should work just fine, @VirtualWorldGlobal🙂
  4. DennisHermannsen

    WHMCS Updated - Receiving cron error

    You should change it to run PHP 7.2 instead. If you're using cPanel, you should setup your cron to use "/usr/local/bin/ea-php99" instead of just "php".
  5. DennisHermannsen

    WHMCS Updated - Receiving cron error

    Download an update for Easy WHMCS (if any). If there's no update, you might need to deactivate the module.
  6. DennisHermannsen

    cPanel Application Links and Critical Error

    I found the cause of our issue... The EURid module by ModulesGarden. Even though I told them I was able to replicate this on multiple installations, they thought it must've been caused by another hook file. I even sent them a video of my disabling one line in their hooks.php file which solved the issue we had been having but it just wasn't enough lol. They kept requesting access to WHMCS and FTP and still couldn't reproduce the error... because they didn't read any of what I had written or showed in the video. In my first message to them I wrote that the error appeared after clicking the Application Links from cPanel to WHMCS. Even after showing it to them, I just got this reply: It required one more message from me before they understood what the issue was. It has taken half of the day. I was promised an update on the issue tomorrow at the latest... but I don't think I'll hear about this before next week, knowing how they manage to keep their deadlines lol.
  7. DennisHermannsen

    Credit Card Charging Settings - potential disaster

    No. The "daily" cron job needs to only run once per day. You can see the default frequencies here: https://docs.whmcs.com/Crons#Task_Options_for_skip_.26_do WHMCS doens't execute all tasks every 5 minutes. It only executes the ones that are due for execution (if any).
  8. DennisHermannsen

    WHMCS v8 rumors

    None of us know, and the people who do know (if anything about v8 has even been discussed) is not going to tell about it. I don't think WHMCS v8 is coming anytime soon. I don't know if you thought this, but v8 doesn't necessarily release after v7.9 - it could very well just be v7.10, v7.11 and so on 🙂
  9. DennisHermannsen

    Hide menu in Lost Password Reset

    You can use $templatefile instead. That way you can target the specific .tpl files. You can target them all with this: {if $templatefile|strpos:"password-reset"===0} <p>Shown on Password Reset pages</p> {/if}
  10. DennisHermannsen

    i am want to change intodns.com to other

    You can use the following: <?php add_hook('AdminAreaFooterOutput', 1, function($vars) { echo '<pre>'; print_r($vars); echo '</pre>'; if ($vars['filename'] == "clientsdomains" || $vars['filename'] == "clientsservices"){ return <<<HTML <script type="text/javascript"> //Javascript to change links </script> HTML; } }); You just have to create the JavaScript, that will replace the links.
  11. DennisHermannsen

    cPanel Application Links and Critical Error

    Was this ever resolved? I've tried disabling Application Links, disable all hooks and then enable Application Links again, but I still get the same error.
  12. DennisHermannsen

    SMTPPassword how stored in database?

    Sorry, I forgot to include Capsule. Use this: <?php use WHMCS\Database\Capsule; require __DIR__ . '/init.php'; $gmailPassword = "MyPassword"; $command = 'EncryptPassword'; $postData = array( 'password2' => $gmailPassword, ); $results = localAPI($command, $postData); print_r($results); $results['password'] contains your password en encrypted format. You can insert this into the database like this: <?php use WHMCS\Database\Capsule; require __DIR__ . '/init.php'; $gmailPassword = "MyPassword"; $command = 'EncryptPassword'; $postData = array( 'password2' => $gmailPassword, ); $results = localAPI($command, $postData); $newPass = $results['password']; $changePassword = Capsule::table('tblconfiguration')->where('setting', 'SMTPPassword')->update(['value' => $newPass]);
  13. DennisHermannsen

    SMTPPassword how stored in database?

    Ah, okay. Use the EncryptPassword function instead: https://developers.whmcs.com/api-reference/encryptpassword/
  14. DennisHermannsen

    SMTPPassword how stored in database?

    You can use the DecryptPassword API function to decrypt it: https://developers.whmcs.com/api-reference/decryptpassword/ Something like this <?php include_once 'init.php'; $SMTPPassword = Capsule::table('tblconfiguration')->value('SMTPPassword'); $command = 'DecryptPassword'; $postData = array( 'password2' => $SMTPPassword, ); $results = localAPI($command, $postData); print_r($results); The code above is not tested, but something like that would work for you.
  15. DennisHermannsen

    AddOrder API - promocode ignored

    I checked with LocalAPI, and it works just fine for me. Have you tried setting promocode directly instead of passing it through a variable? You could also try setting 'promooverride'.
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated