massa
Member-
Posts
27 -
Joined
-
Last visited
About massa

Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
massa's Achievements
Junior Member (1/3)
0
Reputation
-
SolusVM node images in WHMCS won't load
massa replied to Web Host Pro's topic in Admin & Configuration Questions
Hello, paste this in hash box: <connect-via-hostname>yes</connect-via-hostname> -
Remove registrant contact information from client area domain contact
massa replied to massa's topic in Developer Corner
Thank you Brian! -
Remove registrant contact information from client area domain contact
massa replied to massa's topic in Developer Corner
Hello Brian, as I mentioned above, I have to ban the change of Registrant and Admin contact because for my state domain the rules are not the same as for the international dimain names. The change of the Registrant, the Owner of the domain, is charged by the Registry, and certain documentation is submitted for the act of change. So the change is done on the registry website, and I have to disable that feature in WHMCS. So, it is not against the law to ban it, but in my case it is against the law if I leave the possibility for the user to replace data that he should not be able to change, because not everyone has the right to register a state domain in my Country. Best regards! -
Remove registrant contact information from client area domain contact
massa replied to massa's topic in Developer Corner
Thank you for reply. In my case, my State register does not allow change of the domain registrant, at least not in this way. I will try disable this option via EPP registrar module. -
Remove registrant contact information from client area domain contact
massa replied to massa's topic in Developer Corner
@brian! please can you help with this. -
after upgrading to whmcs-8.1.0-rc.1 my site with no load
massa replied to exemaco's topic in Using WHMCS
Hello, I just reproduce this in fresh copy of WHMCS and find what is the problem. Definitely BUG in WHMCS 8.1. -
after upgrading to whmcs-8.1.0-rc.1 my site with no load
massa replied to exemaco's topic in Using WHMCS
I am fighting a battle with the guy named Lawrence Williams from support. He simply dont want to read what i'm writing and he constantly claims some thing completely non related to common sense. Is there any other way to contact the support, or someone else who knows how to do their job and who actually listen to their clients and have at least a bit of knowledge? As for the problem when I trace the process it is obvious that they have loop in code. [02-Jan-2021 19:26:03 Europe/Sarajevo] PHP Fatal error: Maximum execution time of 300 seconds exceeded in /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php on line 0 [02-Jan-2021 19:26:04 Europe/Sarajevo] [WHMCS Application] ERROR: Whoops\Exception\ErrorException: Maximum execution time of 300 seconds exceeded in /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php:0 Stack trace: #0 /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Maximum executi...', '/home/centoserv...', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} {"exception":"[object] (Whoops\\Exception\\ErrorException(code: 1): Maximum execution time of 300 seconds exceeded at /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php:0)"} [] [02-Jan-2021 19:26:43 Europe/Sarajevo] PHP Fatal error: Maximum execution time of 300 seconds exceeded in /home/centoserver/public_html/ap/vendor/whmcs/whmcs-foundation/lib/View/Template/CompatUtil.php on line 0 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3062954 centoser 20 0 307m 31m 9808 R 100.0 0.2 3:08.80 /opt/cpanel/ea-php74/root/usr/bin/php -q /home/centoserver/public_html/ap/crons/cron.php 3062666 centoser 20 0 225m 35m 9720 R 100.0 0.2 3:55.88 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/cart.php 3061974 centoser 20 0 223m 35m 9708 R 100.0 0.2 4:40.29 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/chadm/index.php 3062898 centoser 20 0 217m 36m 9720 R 100.0 0.2 3:11.14 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/cart.php 3062555 centoser 20 0 223m 33m 9708 R 100.0 0.2 3:42.61 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/chadm/index.php 3062470 centoser 20 0 225m 37m 9728 R 100.0 0.2 4:01.09 /opt/cpanel/ea-php74/root/usr/bin/php-cgi /home/centoserver/public_html/ap/chadm/supporttickets.php Process 3061974 attached munmap(0x2b82dee00000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000 munmap(0x2b82df400000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 4198400) = 0 mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 2093056) = 0 munmap(0x2b82dee00000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000 munmap(0x2b82df400000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 4198400) = 0 mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 2093056) = 0 munmap(0x2b82dee00000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000 munmap(0x2b82df400000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 4198400) = 0 mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 2093056) = 0 munmap(0x2b82dee00000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000 munmap(0x2b82df400000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 4198400) = 0 mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 2093056) = 0 munmap(0x2b82dee00000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000 munmap(0x2b82df400000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 4198400) = 0 mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 2093056) = 0 munmap(0x2b82dee00000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000 munmap(0x2b82df400000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 4198400) = 0 mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 2093056) = 0 munmap(0x2b82dee00000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000 munmap(0x2b82df400000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 4198400) = 0 mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 2093056) = 0 munmap(0x2b82dee00000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000 munmap(0x2b82df400000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 4198400) = 0 mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 2093056) = 0 munmap(0x2b82dee00000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82dee00000 munmap(0x2b82df400000, 4198400) = 0 mmap(NULL, 4198400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 4198400) = 0 mmap(NULL, 6291456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b82df201000 munmap(0x2b82df201000, 2093056) = 0 munmap(0x2b82dee00000, 4198400) = 0 -
after upgrading to whmcs-8.1.0-rc.1 my site with no load
massa replied to exemaco's topic in Using WHMCS
Same here. I reported that problem during beta version and for the past few days I am trying to explain via tickets to them that they have a bug but they do not listen. They keep saying that the problem is in the server even if there is no problems with the version 8.0.4. It is very bad from WHMCS support not to listen their users and they do not even want to check and see that there is a bug. Ticket #YEY-066289 -
Hello, WHMCS 8.1. not work after update. Same problem I reported in beta version. Constant load without any error in log. https://www.centoserver.com/ap
-
PHP Smarty stop to work after upgrade to WHMCS 8
massa replied to massa's topic in Troubleshooting Issues
This is my PHP code: {php} /////////////////////////////////////////////////////////////////////////// $ticketid = $template->get_template_vars('ticketid'); $subject = $template->getTemplateVars('subject'); $lastreply = $template->get_template_vars('lastreply'); $tidc = $template->get_template_vars('tid'); $res4 = WHMCS\Database\Capsule::table('tblticketowners') ->select(WHMCS\Database\Capsule::raw('adminid, onhold')) ->where('tid', '=', $ticketid) ->first(); $owner = $res4->adminid; $onhold = $res4->onhold; $adminid = WHMCS\Session::get("adminid"); $res4 = WHMCS\Database\Capsule::table('tbladmins') ->select(WHMCS\Database\Capsule::raw('firstname, lastname')) ->where('id', '=', $owner) ->first(); $ownerusername = $res4->firstname.' '.$res4->lastname; if( count( $res4 ) == 0 ) echo '<h2>#'.$tidc.' - '.$subject.' (Nedodjeljen)</h2>'; else echo '<h2>#'.$tidc.' - '.$subject.' (Preuzeo: '.$ownerusername.')</h2>'; echo '<div class="ticketlastreply">Last Reply: '.$lastreply.'</div>'; $res4 = WHMCS\Database\Capsule::table('tbltickets') ->select(WHMCS\Database\Capsule::raw('status')) ->where('id', '=', $ticketid) ->first(); $tstatus = $res4->status; echo "<script type='text/javascript'> function SubmitForm( action, tid, aid ) { if( action == 'preuzmi' ) { $.ajax({ url: 'supportticketsupdateowner.php?action=checkassign&tid='+tid+'&aid='+aid, type: 'post', dataType: 'json', success: function(data) { if( data != '' ) { var s = confirm( 'Ticket je već preuzet od strane administratora '+data+'! Ukoliko i dalje želite preuzeti tiket kliknite na OK, za odustati kliknite CANCEL.' ); if( s == true ) { var messagetext = document.getElementById('replymessage').value; var ownerid = document.getElementById('adminowner').value; window.location = 'supportticketsupdateowner.php?action=' + action + '&tid=' + tid + '&adminowner=' + ownerid + '&aid=' + aid + '&replymsg=' + messagetext; } } else { var messagetext = document.getElementById('replymessage').value; var ownerid = document.getElementById('adminowner').value; window.location = 'supportticketsupdateowner.php?action=' + action + '&tid=' + tid + '&adminowner=' + ownerid + '&aid=' + aid + '&replymsg=' + messagetext; } } }); } else { var messagetext = document.getElementById('replymessage').value; var ownerid = document.getElementById('adminowner').value; window.location = 'supportticketsupdateowner.php?action=' + action + '&tid=' + tid + '&adminowner=' + ownerid + '&aid=' + aid + '&replymsg=' + messagetext; } } function SubmitForm2( action, tid, aid ) { if( action == 'preuzmi' ) { $.ajax({ url: 'supportticketsupdateowner.php?action=checkassign&tid='+tid+'&aid='+aid, type: 'post', dataType: 'json', success: function(data) { if( data != '' ) { var s = confirm( 'Ticket je već preuzet od strane administratora '+data+'! Ukoliko i dalje želite preuzeti tiket kliknite na OK, za odustati kliknite CANCEL.' ); if( s == true ) { var messagetext = document.getElementById('replymessage').value; var ownerid = document.getElementById('adminowner2').value; window.location = 'supportticketsupdateowner.php?action=' + action + '&tid=' + tid + '&adminowner=' + ownerid + '&aid=' + aid + '&replymsg=' + messagetext; } } else { var messagetext = document.getElementById('replymessage').value; var ownerid = document.getElementById('adminowner2').value; window.location = 'supportticketsupdateowner.php?action=' + action + '&tid=' + tid + '&adminowner=' + ownerid + '&aid=' + aid + '&replymsg=' + messagetext; } } }); } else { var messagetext = document.getElementById('replymessage').value; var ownerid = document.getElementById('adminowner2').value; window.location = 'supportticketsupdateowner.php?action=' + action + '&tid=' + tid + '&adminowner=' + ownerid + '&aid=' + aid + '&replymsg=' + messagetext; } } </script>"; if( $owner == $adminid ) { if( $tstatus == "Closed" ) { $onclickstring = "SubmitForm( 'otvori', ".$ticketid.", ".$adminid." )"; echo '<input type="button" name="otvori" id="otvori" value="Otvori" onclick="'.$onclickstring.'" class="btn btn-small btn-primary"/> '; } else { $onclickstring = "SubmitForm( 'zatvori', ".$ticketid.", ".$adminid." )"; echo '<input type="button" name="zatvori" id="zatvori" value="Zatvori" onclick="'.$onclickstring.'" class="btn btn-small btn-primary"/> '; } if( $onhold == 1 ) { $onclickstring = "SubmitForm( 'otpusti', ".$ticketid.", ".$adminid." )"; echo '<input type="button" name="onhold" id="onhold" value="Otpusti" onclick="'.$onclickstring.'" class="btn btn-small btn-primary"/> '; } else { $onclickstring = "SubmitForm( 'zadrzi', ".$ticketid.", ".$adminid." )"; echo '<input type="button" name="onhold" id="onhold" value="Zadrži" onclick="'.$onclickstring.'" class="btn btn-small btn-primary"/> '; } } else { $onclickstring = "SubmitForm( 'preuzmi', ".$ticketid.", ".$adminid." )"; echo '<input type="button" name="preuzmi" id="preuzmi" value="Preuzmi" onclick="'.$onclickstring.'" class="btn btn-small btn-primary"/> '; } echo '<select name="adminowner" id="adminowner" style="width:250px; height:34px; top:2px; position:relative;">'; $res4 = WHMCS\Database\Capsule::table('tbladmins') ->select(WHMCS\Database\Capsule::raw('id, firstname, lastname')) ->where('username', '<>', 'apiuser') ->get(); foreach( $res4 as $adminobj ) { $ownerid = $adminobj->id; $firstname = $adminobj->firstname; $lastname = $adminobj->lastname; if( $adminid == $ownerid ) echo '<option selected value="'.$ownerid.'">'.$firstname.' '.$lastname.'</option>'; else echo '<option value="'.$ownerid.'">'.$firstname.' '.$lastname.'</option>'; } echo '</select> '; $onclickstring = "SubmitForm( 'dodijeli', ".$ticketid." )"; echo '<input type="button" name="dodijeli" id="dodijeli" value="Dodijeli" onclick="'.$onclickstring.'" class="btn btn-small btn-primary"/> '; /////////////////////////////////////////////////////////////////////////// {/php} and also: {if $smarty.session.cart.promo} <span>Promotional Code: {$smarty.session.cart.promo}</span> <span>Discount: {$currency.prefix}{$carttotals.rawdiscount}{$currency.suffix}</span> <span class="amt">{$currency.prefix}{$carttotals.rawtotal}{$currency.suffix}</span> <span>Total Due Today with promo <b>{$smarty.session.cart.promo}</b></span> {/if} -
PHP Smarty stop to work after upgrade to WHMCS 8
massa replied to massa's topic in Troubleshooting Issues
I added your code to configuration.php but I still got an error Error: Call to a member function get_template_vars() on null in -
PHP Smarty stop to work after upgrade to WHMCS 8
massa replied to massa's topic in Troubleshooting Issues
So, how do I enable PHP smarty to work as in WHMCS7? I just tried to add it to the comf following the instructions from the link but without success, I can't enable PHP smarty to work again. -
Hello, after I make a upgrade to WHMCS 8 i have problem with templates which use PHP Smarty. [29-Sep-2020 18:41:46 Europe/Sarajevo] [WHMCS Application] ERROR: Error: Call to a member function get_template_vars() on null in /home/xxxx/whmcsmd/templates_c/9696ac8c6e5322b1d8d49c7704c10ff2f1fa60a8_0.file.viewticket.tpl.php:49 Stack trace: #0 /home/xxxx/public_html/ap/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5f73638ecb4d98_14662502(Object(Smarty_Internal_Template)) #1 /home/xxxx/public_html/ap/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #2 /home/xxxx/public_html/ap/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #3 /home/xxxx/public_html/ap/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 0) #4 /home/xxxx/public_html/ap/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0) #5 /home/xxxx/public_html/ap/vendor/whmcs/whmcs-foundation/lib/Smarty.php(0): Smarty_Internal_TemplateBase->fetch('tpl/v...', NULL, NULL, NULL, false, true, false) #6 /home/xxxx/public_html/ap/vendor/whmcs/whmcs-foundation/lib/Admin.php(0): WHMCS\Smarty->fetch('tpl/v...') #7 /home/xxxx/public_html/ap/vendor/whmcs/whmcs-foundation/lib/Admin.php(0): WHMCS\Admin->output() #8 /home/xxxx/public_html/ap/chadm/supporttickets.php(2665): WHMCS\Admin->display() #9 {main} {"exception":"[object] (Error(code: 0): Call to a member function get_template_vars() on null at /home/xxxx/whmcsmd/templates_c/9696ac8c6e5322b1d8d49c7704c10ff2f1fa60a8_0.file.viewticket.tpl.php:49)"} []
-
clientarea how to remove Tab/Panel from client Area
massa replied to Syed Ans Shah's topic in Troubleshooting Issues
Hi, I would like to remove one configurable option and just from client panel. Can you please tell me how to do that? Thanks!
