Jump to content

monsterit

Members
  • Content count

    35
  • Joined

  • Last visited

Community Reputation

0 Neutral

About monsterit

  • Rank
    Newbie

Recent Profile Visitors

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

  1. Hi, Is there a way I can backup my whmcs installation/db etc to Microsoft Azure instead of an ftp account? Thank you Alex
  2. Hi All, I'm running apache2 on ubuntu 18.04 and im getting this error. root@mail:/etc/apache2# php -q /home/alextovey/whmcs_crons/cron.php PHP Warning: Module 'curl' already loaded in Unknown on line 0 [WHMCS Application] ERROR: Whoops\Exception\ErrorException: Module 'curl' already loaded in Unknown:0 Stack trace: #0 /home/alextovey/order.monster-it.co.uk/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(32, 'Module 'curl' a...', 'Unknown', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\Exception\\ErrorException(code: 32): Module 'curl' already loaded at Unknown:0)"} [] <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Oops!</title> <style> body { margin: 30px 40px; background-color: #f6f6f6; } .error-container { padding: 50px 40px; font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: 14px; } h1 { margin: 0; font-size: 48px; font-weight: 400; } h2 { margin: 0; font-size: 26px; font-weight: 300; } a { color: #336699; } p.back-to-home { margin-top: 30px; } p.debug{ padding: 20px 0; font-family: "Courier New", Courier, monospace, serif; font-size: 14px; } .info { border: solid 1px #999; padding: 5px; background-color: #d9edf7; } </style> </head> <body> <div class="error-container"> <h1>Oops!</h1> <h2>Something went wrong and we couldn't process your request.</h2> <p>Please go back to the previous page and try again.</p> </div> </body> </html> any help would be great.
  3. monsterit

    Health Status problems

    Nevermind fixed it by typing chown -R www-data:www-data then the folder paths. 🙂
  4. Hi All, I'm getting this error on whmcs. i've moved all the folders to non public_html folder but still getting this, Insecure Permissions Check The following directories are owned by a different user from that which is executing WHMCS. This indicates a potentially insecure configuration: /home/alextovey/whmcs_templates_c /home/alextovey/whmcs_crons /home/alextovey/whmcs_downloads /home/alextovey/whmcs_attachments You can learn more about this in our documentation. any ideas how i can sort this out? i'm running ubuntu 18.04 i've set the folders to 777 and user is alextovey:www-data any other ideas would be great.
  5. monsterit

    $domain renewal url incorrect

    Sorted it was the friendly URL. never gave that a thought till you said. Changed it and it is working okay now. Thank you Brian.
  6. Hi all, The ($domain_renewal_url) is showing the wrong url when it gets emailed to clients. Is there a way to fix this at all? for instance it is being sent as https://order.monster-it.co.uk/homefolderpath/order.monster-it.co.uk/index.php?rp=/domain/123testdomain.co.uk/renew instead it should be https://order.monster-it.co.uk/index.php?rp=/domain/123testdomain.co.uk/renew I've gone in to the email template and it only have the domain_renewal_url shortcode.
  7. monsterit

    cPanel Packages not fetching

    Have you tried taking out the API key and trying again. As I had an issue where i had the username/password + api and it was not loading my custom packages. Took the API out and it worked.
  8. monsterit

    cron not running after server move

    No errors at all. Found the issue when installing the php 7.1 it installed php 7.2 on cli only. So user error when configuring the new server.
  9. monsterit

    cPanel Packages not fetching

    Ok, have you created the packages in whmcs first and then tried to sync. I remember when i had to create them I manually have to make the packages and then links them accordingly. If not then the host has setup cpanel not to give the package details. Maybe try removing the api key if you have a username and password.
  10. monsterit

    cPanel Packages not fetching

    Have you configured the servers tab with the cpanel server? (Setup > Servers> Add New) see screenshot
  11. monsterit

    cron not running after server move

    Hi, Yeah it didn't work so i upgraded to 7.2 and completly removed 7.1 then changed the cli/php.ini file and it seemed to be working now.
  12. HI All, It appears the cron is not running after we moved servers. We are running ubuntu 16.04 with php 7.1 (though the output on php -v says 7.2 even though its removed). Our Cron is php -q /home/*****/******/crons/cron.php set at a interval of every 5 mins. I am not getting any error logs or anything on the system :( it appears the system thinks its running fine but i'm getting this on the dashboard warning. System Cron Tasks The system cron does not appear to have completed successfully within the last 24 hours. Check your activity logs or learn more about enabling the cron in our documentation. Any help would be great please.
  13. So on the invoices section "admin side" is it possible to show company name as well as client name? Just finding it hard figuring out who's who and the company name will help massively.
  14. Hi All, I'm hoping you can help. I've trawled through pages upon pages of documents, community's etc to try and find an answer but I cant find one. Is it possible to restrict our knowledge base page to logged in users only or force them to login? I found this script in a previous post but it redirects all pages to the login page. (which is not good for new/potential customers. <?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); function hook_ForceEveryoneToLogin($vars) { $clientID = intval($_SESSION['uid']); $adminID = intval($_SESSION['adminid']); if ($adminID===0){ if (!in_array($vars['filename'], array("login","dologin","clientarea","pwreset", "register")) && $clientID===0){ header("Location: login.php"); exit; } } } add_hook("ClientAreaPage", 1, "hook_ForceEveryoneToLogin"); Is there something possible i can do to this script to only change it to restrict the knowledge base page?
×

Important Information

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