rahulkg
Retired Forum Member-
Posts
63 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Hotfixes
Everything posted by rahulkg
-
about developing addon to search service in whmcs admin side
rahulkg replied to rahulkg's topic in Developer Corner
Please reply and update the ticket as I need your assistance in making a custom seach in whmcs to find servies -
We would like to be able to locate a service that is related to a specific invoice, because during some review and accounting work we doing, we have to locate the service attached to a particular invoice however since the invoice itself doesn't have that feature its sometimes time consuming, is that something that WHMCS is able to do or do we have to code some plugin or something of that sort?
-
To integrate escrow payment method with whmcs
rahulkg replied to rahulkg's topic in Developer Corner
May I get a reply from whmcs developer side about its integration? IThe escrow support told the above and after looking their module, The escrow support told their module is a little different from normal third party modules. what they do is when clients pay through paypal / credit they just keep the money in their account and messages seller that the client paid monet and when seller provides him service they release the money to seller . so for integrating such thirdparty module with whmcs , they said we have to create a customer with their account and make transaction using their api and then rest process client does in their site . So for this purpose do I need to use all the functions like gatewaymodule_config , gatewaymodule_link, gatewaymodule_refund and gatewaymodule_cancelSubscription in a file and put it in whmcs gateways directory? Can you please summarise the purpose of these functions and shall I create a customer create function and create transaction function in same file where I can use their apis ? Actually when (which hook point) I need to create a customer and then add create transaction functions? Can you just clarify about the purpoose of functions used there as I didnt find a detailed documentation there for thirdparty gateway module default functions used in whmcs? -
To integrate escrow payment method with whmcs
rahulkg replied to rahulkg's topic in Developer Corner
"Our API integration allows you to create the transaction for your parties on escrow.com. You can either simply create the transaction and then we take over with emails and texts for them to log into escrow.com to review, agree, and pay. If you prefer, you can keep the majority of the integration on your site. If you are looking for the parties to stay on your site, the API will allow this using specific links. Then, at the end of the actions by the parties, they should still be on your website. With both integration options, payment is made directly to us by wire, PayPal, or credit card as we handle payment directly." I got this updation from escrow too. I see two files for creating thirdparty payment modules https://github.com/WHMCS/sample-gateway-module/blob/master/modules/gateways/gatewaymodule.php https://github.com/WHMCS/sample-gateway-module/blob/master/modules/gateways/callback/gatewaymodule.php Should I use the same files and alter the functions to get it done or just alter the gatewaymodule_link function there in first link . can you please explain the functions used in the two links. -
To integrate escrow payment method with whmcs
rahulkg replied to rahulkg's topic in Developer Corner
I have got the following reply from escrow "Our integration requires the buyer to agree to the terms, verify their account, and then select to send credit card, PayPal, or wire to escrow.com directly. This means that escrow.com will hold the funds during the transaction. Escrow.com will release directly to the seller and broker. I would like to confirm this is the model you would like. We are a little different from regular third party gateways." But not sure whether I need to just direct a buyer to your site from our clientarea to escrow site for doing transaction and whether he/she can do all the process -agree,verify, select payment method and pay all there . if so can we direct the client to your site using an api and passing client info and rest of the process they can do there . And when transaction becomes complete, how we can direct him back to our clientarea site. So can you please let me know which are the apis I need to fetch from them ? -
I want to integrate a new payment method escrow with whmcs? So how to proceed ? I already got the escrow apis from their site for creating transaction with this payment method , retrieve the paid customer details etc. Can you please let me know the steps that I need to do in this process. I think we create a payment button in invoice and on clicking it, direct clients to payment panel where the client does transaction and after transaction the client gets redirected to our whmcs clientarea. Is it so ? I have checked the payment module integration docs but can you please summarize here the steps I needed to to do for integrating it.
-
WHMCS support offers a secure password/user/URL submission on their ticketing system when you are reporting issues, we need to offer it to our users too and to stop asking them for user/pass in plain text over the ticketing system. So if whmcs consider to develop this module in near future or can we develop from our side ? Please give us further details and suggestions for this work to be done.
-
IPMI API for Dedicated server for whmcs
rahulkg replied to rahulkg's topic in Service Offers & Requests
Hi Nathanael, You mean we can check any of the IPMI and try to find where is that api ? But I have checked that but cannot find it from ipmi panel , How should I get the api ? Please explain. -
We need a IPMI API /module or script that will work in our WHMCS. The goal is to allow an IP to use his server IPMI because we will block all IPs by default and by using his whmcs server profile. He will have an option to enter his IP and allow IPMI access. Is it possible, can you advice us in this matter.
-
We need a IPMI API /module or script that will work in our WHMCS. The goal is to allow an IP to use his server IPMI because we will block all IPs by default and by using his whmcs server profile. He will have an option to enter his IP and allow IPMI access. Is it possible, can you advice us in this matter.
-
We need a IPMI API /module or script that will work in our WHMCS. The goal is to allow an IP to use his server IPMI because we will block all IPs by default and by using his whmcs server profile. He will have an option to enter his IP and allow IPMI access. Is it possible, can you advice us in this matter.
-
We need a IPMI API /module or script that will work in our WHMCS. The goal is to allow an IP to use his server IPMI because we will block all IPs by default and by using his whmcs server profile. He will have an option to enter his IP and allow IPMI access. Is it possible, can you advice us in this matter.
-
We would like know if it is possible to add the option to provide the SRV record via WHMCS DNS Management area. The registrar is enom and now we are only able to do it via their panel. A screenshot is attached. Whmcs support told me to post the issue in http://requests.whmcs.com/ but my post was not yet even approved by moderator there. Please have a check on this and give us a reply.
-
We experience the slowness in loading invoice page after clicking complete order. I have tested with removing all third party and custom hooks and addons and using default template -six. Also increased our mysql and whmcs server RAM and also done whmcs support instruction below
"As a starting point, you may want to set max_connections to a low value like 50 and increase based on your available RAM. Other important setting are wait_timeout (at least 600, so MySQL doesn't drop connections too soon), table_definition_cache (at least 5000), sort_buffer (2-4M seems to be good), read_buffer (2-4M seems to be good) and max_allowed_packet (16M is usually fine)." But still no improvement.Why it is too slow after clicking completeorder button in whmcs.
-
I also experienced the slowness in loading invoice page after clicking complete order. I have tested with removing all third party and custom hooks and addons and using default template -six. Also increased our mysql and whmcs server and also done whmcs support instruction below
"As a starting point, you may want to set max_connections to a low value like 50 and increase based on your available RAM. Other important setting are wait_timeout (at least 600, so MySQL doesn't drop connections too soon), table_definition_cache (at least 5000), sort_buffer (2-4M seems to be good), read_buffer (2-4M seems to be good) and max_allowed_packet (16M is usually fine)." But still no improvement.
-
We have tried to order a new product and run the following command after advice from whmcs support. and output and command is given as follows. strace -t -f -o strace.txt /usr/bin/php ordersadd.php and got the following logs " access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/usr/lib/x86_64-linux-gnu/libargon2.so.1", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\16\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=34792, ...}) = 0 23013 11:24:35 mmap(NULL, 2130128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a9b1000 23013 11:24:35 mprotect(0x7fed3a9b9000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3abb8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fed3abb8000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220:\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=84856, ...}) = 0 23013 11:24:35 mmap(NULL, 2189928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a79a000 23013 11:24:35 mprotect(0x7fed3a7ae000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a9ad000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7fed3a9ad000 23013 11:24:35 mmap(0x7fed3a9af000, 6760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fed3a9af000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \"\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=109144, ...}) = 0 23013 11:24:35 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed3adca000 23013 11:24:35 mmap(NULL, 2204200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a57f000 23013 11:24:35 mprotect(0x7fed3a599000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a798000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7fed3a798000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\27\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=448440, ...}) = 0 23013 11:24:35 mmap(NULL, 2543976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a311000 23013 11:24:35 mprotect(0x7fed3a37d000, 2097152, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a57d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6c000) = 0x7fed3a57d000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200U\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=1051056, ...}) = 0 23013 11:24:35 mmap(NULL, 3146072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a010000 23013 11:24:35 mprotect(0x7fed3a110000, 2093056, PROT_NONE) = 0" But dont get from above logs where the delay has occured . Can you advise further ?
-
We have tried to order a new product and run the following strace command # strace -t -f -o strace.txt /usr/bin/php ordersadd.php and got the following logs " access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/usr/lib/x86_64-linux-gnu/libargon2.so.1", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\16\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=34792, ...}) = 0 23013 11:24:35 mmap(NULL, 2130128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a9b1000 23013 11:24:35 mprotect(0x7fed3a9b9000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3abb8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fed3abb8000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220:\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=84856, ...}) = 0 23013 11:24:35 mmap(NULL, 2189928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a79a000 23013 11:24:35 mprotect(0x7fed3a7ae000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a9ad000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7fed3a9ad000 23013 11:24:35 mmap(0x7fed3a9af000, 6760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fed3a9af000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \"\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=109144, ...}) = 0 23013 11:24:35 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed3adca000 23013 11:24:35 mmap(NULL, 2204200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a57f000 23013 11:24:35 mprotect(0x7fed3a599000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a798000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7fed3a798000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\27\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=448440, ...}) = 0 23013 11:24:35 mmap(NULL, 2543976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a311000 23013 11:24:35 mprotect(0x7fed3a37d000, 2097152, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a57d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6c000) = 0x7fed3a57d000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200U\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=1051056, ...}) = 0 23013 11:24:35 mmap(NULL, 3146072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a010000 23013 11:24:35 mprotect(0x7fed3a110000, 2093056, PROT_NONE) = 0" But dont get from above logs where the delay has occured . Can you advise further ?
-
We have tried to order a new product and run the following strace command # strace -t -f -o strace.txt /usr/bin/php ordersadd.php and got the following logs " access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/usr/lib/x86_64-linux-gnu/libargon2.so.1", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\16\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=34792, ...}) = 0 23013 11:24:35 mmap(NULL, 2130128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a9b1000 23013 11:24:35 mprotect(0x7fed3a9b9000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3abb8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7fed3abb8000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220:\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=84856, ...}) = 0 23013 11:24:35 mmap(NULL, 2189928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a79a000 23013 11:24:35 mprotect(0x7fed3a7ae000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a9ad000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13000) = 0x7fed3a9ad000 23013 11:24:35 mmap(0x7fed3a9af000, 6760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fed3a9af000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libz.so.1", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \"\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=109144, ...}) = 0 23013 11:24:35 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed3adca000 23013 11:24:35 mmap(NULL, 2204200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a57f000 23013 11:24:35 mprotect(0x7fed3a599000, 2093056, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a798000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19000) = 0x7fed3a798000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\27\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=448440, ...}) = 0 23013 11:24:35 mmap(NULL, 2543976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a311000 23013 11:24:35 mprotect(0x7fed3a37d000, 2097152, PROT_NONE) = 0 23013 11:24:35 mmap(0x7fed3a57d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6c000) = 0x7fed3a57d000 23013 11:24:35 close(3) = 0 23013 11:24:35 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) 23013 11:24:35 open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 23013 11:24:35 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200U\0\0\0\0\0\0"..., 832) = 832 23013 11:24:35 fstat(3, {st_mode=S_IFREG|0644, st_size=1051056, ...}) = 0 23013 11:24:35 mmap(NULL, 3146072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fed3a010000 23013 11:24:35 mprotect(0x7fed3a110000, 2093056, PROT_NONE) = 0" But dont get from above logs where the delay has occured . Can you advise further ?
-
We noticed after clicking completeorder button in cart.php?a=checkout page , it takes more than 1 minute to load the invoice , we removed all hooks and all addons (except that coming with whmcs ) and switched to six theme and again found the loading time greater than 1 minute. so clients close the cart page and we got many blank invoices in whmcs. How to solve this issue. when checked with whmcs support they told the following " I've placed some order on your installation to do some diagnosis, and observed the process of inserting the service and order into your MySQL database takes about 30 seconds. Generating the invoice and invoice line items takes about 20 seconds Sending the emails takes a further 8-10 seconds. The time taken to send emails is dictated by the speed of your mail server, so isn't something WHMCS can control. However I'd expect the records to be inserted into the database faster. WHMCS uses efficient MySQL to insert data with the fewest connections possible, meaning it can handle 10,000's clients and 100,000's services. To diagnose performance in further details, it would be necessary to use strace on the server. Specifically, attach it to the /sailors/orderadd.php file, place an order via the admin area, stop strace, then review the logs. This should help determine where the slowness is occurring; for example is there a wait for the MySQL server to connect or to write to the database Depending upon where the delay is located will depend upon where your server administrator can look to optimize the server configuration or introduce additional processing power/memory as appropriate to reduce the delays." I have checked https://www.thegeekdiary.com/how-to-use-strace-and-ltrace-commands-in-linux/ for installing strace in server. Can you advise us further how to use strace commands to check this further by step by step manner.
-
We noticed after clicking completeorder button in cart.php?a=checkout page , it takes more than 1 minute to load the invoice , we removed all hooks and all addons (except that coming with whmcs ) and switched to six theme and again found the loading time greater than 1 minute. so clients close the cart page and we got many blank invoices in whmcs. How to solve this issue. when checked with whmcs support they told the following " I've placed some order on your installation to do some diagnosis, and observed the process of inserting the service and order into your MySQL database takes about 30 seconds. Generating the invoice and invoice line items takes about 20 seconds Sending the emails takes a further 8-10 seconds. The time taken to send emails is dictated by the speed of your mail server, so isn't something WHMCS can control. However I'd expect the records to be inserted into the database faster. WHMCS uses efficient MySQL to insert data with the fewest connections possible, meaning it can handle 10,000's clients and 100,000's services. To diagnose performance in further details, it would be necessary to use strace on the server. Specifically, attach it to the /sailors/orderadd.php file, place an order via the admin area, stop strace, then review the logs. This should help determine where the slowness is occurring; for example is there a wait for the MySQL server to connect or to write to the database Depending upon where the delay is located will depend upon where your server administrator can look to optimize the server configuration or introduce additional processing power/memory as appropriate to reduce the delays." I have checked https://www.thegeekdiary.com/how-to-use-strace-and-ltrace-commands-in-linux/ for installing strace in server. Can you advise us further how to use strace commands to check this further by step by step manner.
-
After clicking whmcs complete order button, it takes more than 1 minute to show invoice, We have tested by disabling all hooks and third party addons . but still the loading time not reduced. Why it happens?
-
I need to subscribe a person to mailchimp when a person opens a ticket with any of our departments in whmcs . So I put the following code. the code is attached herewith. However we found that after putting that hook I found two tickets got multiplicated ie same tickets with same contents seen more than once there. Is this code have an impact there. please check and give us a reply. mailchimp.txt
-
Unsubscribing Not Removing From Mailchimp
rahulkg replied to WebsiteIntegrations's topic in Troubleshooting Issues
I have whmcs 7.6.1 installed and php version 7.2 , I also found after unsubscribing from clientarea edit account details, the email id not get unsubscribed with mailchimp account . why this happened. The unsubscription takes place when whmcs cron ran automatically or how long does it take my email got unsubscribed from mailchimp account. Please explain. -
We are using php version 5.6.x version in our whmcs 7.6.0 . When upgrading to php 7 or even higher, we find many errors with third party modules and even whmcs files. When go to utilities->system->php version compatibility , under Incompatible encoding we see the following files sailors/admin/accessdenied.php sailors/admin/addonmodules.php sailors/admin/affiliates.php sailors/admin/billableitems.php sailors/admin/browser.php and many others. Why these files not get updated after our whmcs 7.6 upgrdation . We see the version 7.6.0 in whmcs side and whmcs support told us " when you see the version name on whmcs admin side, it indicates our upgradation was successful" How to get rid of this problem or how can we make these files compatible to php higher versions. Also there is a third party registrar centralnic and its file too come under this incompatibility encoding. As this third party regisstrar-centralnic ceased its development they told they can't provide further help in this matter. We see a message "These files cannot be decoded by ionCube Loader for the specified PHP version. If you wish to use this PHP version, you will need to contact the original vendor and acquire a version encoded with compatibility for your desired PHP target version." above the files displayed under Incompatible Encoding heading too there. How can we get rid of this issue . or How can we fix the encoding incompatibility. please provide a reply asap.
