Jump to content

Search the Community

Showing results for tags 'php'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
    • WHMCS 8.1 Beta Discussion Board
  • WHMCS Beta Program
    • WHMCS Mobile App Technical Preview Feedback
  • The Latest from the WHMCS Team
    • News, Announcements & Blogs from WHMCS
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • SwiftModders Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Modules
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V8.0.x Hotfixes
  • V7.10.x Hotfixes
  • V7.9.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 37 results

  1. What's the best way to add a snippet of PHP inside a .tpl file? It looks like everybody recommends against using the {php}{/php} bracket for security reason. Should I be creating my .php snippet file in root WHMCS directory and just using include to beam it in? {php} include "my-php-snippet.php"; {/php} I'm looking to "add recent wordpress posts to non wordpress site" and they all involve adding php snippet to include the wp-load.php file. It'd be cool if I can avoid using an <iframe> too. This is the snippet I'd like to add a .tpl page: <?php // Include the wp-load'er include('/public_html/wordpress/wp-load.php'); // Get the last 10 posts // Returns posts as arrays instead of get_posts' objects $recent_posts = wp_get_recent_posts(array( 'numberposts' => 10 )); // Do something with them echo '<ul>'; foreach($recent_posts as $post) { echo '<li><a href="', get_permalink($post['ID']), '">', $post['post_title'], '</a></li>'; } echo '</ul>'; ?> * whmcs 7.4 is installed on root domain, and the wordpress site is installed in a subfolder * https://davidwalsh.name/wordpress-recent-posts * https://www.webmoves.net/blog/web-design-development/display-wordpress-posts-outside-of-wordpress-3081/
  2. I have change php version 7.3 to 7.4 from cPanel. I also edit cron job command and change opt/alt/php73/usr/bin/php -q /*****/****/****/crons/cron.php to opt/alt/php74/usr/bin/php -q /*****/****/****/crons/cron.php but I got error on system health check page on my WHMCS. How can I solve this issue?
  3. Hi, I wrote an PHP utility for importing domains from an old administrative panel. The utility creates new order then confirm it. We were using nicIT for .it domains and ascio for the others tld; all worked fine, A few days ago we added internetbs and now when trying to create the order for .com domains (still managed by ascio) the AddOrder API returns a null response although the order is created and left in 'pending' status. With .it domains still works fine. Any idea ? is it possible to get a sort of log where to look for the reason the API call does not work properly ?
  4. Hi All, On my System Health Status Page and the Dashboard it says..... PHP Version Your PHP version 7.2.29 is supported by WHMCS. The PHP 7.2 branch no longer receives regular bug fixes and will only receive critical security updates until it reaches its end of life. Please see our documentation for more information. but my Hosting Server is running version 7.4 of PHP (See Screenshot attached) Do i need to run something in WHMCS to update the System Health Page so the warning goes away ? I am Running WHMCS 7.10 (Latest Version), but the warning is not new and was also in previous WHMCS Version. Cheers Giles
  5. Hi guys, I have a php file executing some mysql queries with variables parsed by Ajax , this is why i can't do the queries directly in php tags in the WHMCS template. So basically there is a query.php file that i need to export the session variable to for further usage. I need this variable in that file {php} echo $_SESSION['uid']; {/php} so i can use it for further manipulations.
  6. I am trying to create a custom WHMCS page without any sidebars. I only want it to show the top bar where clients can choose language, etc. I have this code currently: <?php define("CLIENTAREA",true); //define("FORCESSL",true); // Uncomment to force the page to use https:// require("init.php"); $ca = new WHMCS_ClientArea(); $ca->setPageTitle("Support Center"); $ca->addToBreadCrumb('index.php',$whmcs->get_lang('globalsystemname')); $ca->addToBreadCrumb('support.php','HostAble Support'); $ca->addToBreadCrumb('support-center.php','Support Center'); $ca->initPage(); # Check login status if ($ca->isLoggedIn()) { # User is logged in - put any code you like here # Here's an example to get the currently logged in clients first name $result = mysql_query("SELECT firstname FROM tblclients WHERE id=".$ca->getUserID()); $data = mysql_fetch_array($result); $clientname = $data[0]; $ca->assign('clientname', $clientname); } else { # User is not logged in } # Define the template filename to be used without the .tpl extension $ca->setTemplate('supportcenter'); $ca->output(); ?> But obviously it isnt working, it just shows the page but with the sidebars and navigation bar too. Thank you if you can help me :)
  7. Hello, I'm working on an Addon Module to store a License Key for an addon. I can have it verify the get the license key from the table.. but what I'm trying to do is figure out how to put a check_license within this: class License extends Model { /** @var string $table The table in which the addon settings are stored. (mod_mylicensetable) */ protected $table = 'mod_squareLicensing'; //protected function results($results); private $vString = "16da9d4d6fc1e1ec25ce622d59d3d34e2b147bed894296693492985d85d27868"; } $Licensedata = License::where('id', '1')->first( As such, I can get my License data as expected, however, within the Addon Module itself -- to ideally get everything, the check needs to be inside the Class. I'd like to do something like function verify_license { //--get information from original license call and do our actions for invalid or active } Can someone give me guidance? I'm new working with Laravel. I know how to do a license call with the default check_sample.php and have adapted that as needed, and have built upon it.. but working with the classes are new to me. Any help and pointers would be greatly appreciated 🙂
  8. Hi all, Grizzlyware has just released Ranger for WHMCS, which will allow you to generate, manage and distribute license keys for software that you sell, via WHMCS. It's much like the WHMCS 'Licensing' module, however it has only just been released, so while it's fully functional and full featured, there is more to be added. We built Ranger to satisfy our own needs, it's open source and allows developers to license their software in the field. This is a WHMCS module which uses the Ranger framework. You can of course use the Ranger library on its own if you prefer. The module is bundled with email templates too. It's free - There is no charge for this module or the Ranger framework, all of the source code is available online as well as a packaged up WHMCS module. More information can be found here: https://www.grizzlyware.com/apps/whmcs/ranger/ We will have more WHMCS modules coming out in the not too distant future too. With that said, we just released 'Email Catcher' which scans your ticket replies for mismatched client email addresses (so you don't send an email address to the wrong client). Any questions or confusion, please give me a shout. Thank you, Josh
  9. Hello, I am trying to create a hook for adding a new element in sidebar. I have created the hook. add_hook('ClientAreaPrimarySidebar', 1, function($primarySidebar) { /* @var \WHMCS\View\Menu\Item $primarySidebar */ $newMenu = $primarySidebar->addChild( 'accountmanager', array( 'name' => 'Home', 'label' => Lang::trans('account_manager'), 'order' => 1, 'icon' => 'fas fa-life-ring', ) ); $newMenu->addChild( 'accountmanager', array( 'label' => Lang::trans('account_manager_label'), ) ); }); I am trying somehow to get the userid, and assign it to a variable. And is it possible to be used in translations? I tried with this one here but it's not working: $variable = $template->getVariable('variablename')->value; $template->assign('variablename ', 'variable');
  10. Hello, I got to thinking.. For the license module, if you have different license tiers, and want to offer auto upgrades.. Could you make a page like this: https://www.whmcs.com/members/autoupgrade.php With using bootstrap like that.. I know it's possible, but does this somehow manage a custom field within WHMCS? I've always thought about that! I'd love to know your thoughts, as I'd love to build something like it!
  11. Hello, I made a Square Gateway, which is in the Marketplace. The issue right now, is it's coded with PHP, and has to rely on allowing it to run with the php smarty tags, which aren't recommended. Is there an alternative way to avoid Smarty PHP tags? Thanks!
  12. I found a old pretty cool script and i would like to perform him because like as been reported before the hook put the admin area with infinite loops <?php add_hook('ClientAreaPage', 1, switch_language($vars)); function switch_language($vars) { $country_to_language = array( 'default' => 'english', 'AR' => 'arabic', 'AR-DZ' => 'arabic', 'AR-BH' => 'arabic', 'AR-EG' => 'arabic', 'AR-IQ' => 'arabic', 'AR-JO' => 'arabic', 'AR-KW' => 'arabic', 'AR-LB' => 'arabic', 'AR-LY' => 'arabic', 'AR-MA' => 'arabic', 'AR-OM' => 'arabic', 'AR-QA' => 'arabic', 'AR-SA' => 'arabic', 'AR-SY' => 'arabic', 'AR-TN' => 'arabic', 'AR-AE' => 'arabic', 'AR-YE' => 'arabic', 'AZ' => 'azerbaijani', 'CA' => 'catalan', 'ZH' => 'chinese', 'ZH-HK' => 'chinese', 'ZH-CN' => 'chinese', 'ZH-SG' => 'chinese', 'ZH-TW' => 'chinese', 'HR' => 'croatian', 'CS' => 'czech', 'DA' => 'danish', 'NL' => 'dutch', 'NL-BE' => 'dutch', 'EN' => 'english', 'EN-AU' => 'english', 'EN-BZ' => 'english', 'EN-CA' => 'english', 'EN-IE' => 'english', 'EN-JM' => 'english', 'EN-NZ' => 'english', 'EN-PH' => 'english', 'EN-ZA' => 'english', 'EN-TT' => 'english', 'EN-GB' => 'english', 'EN-US' => 'english', 'EN-ZW' => 'english', 'ET' => 'estonian', 'FA' => 'farsi', 'FR' => 'french', 'FR-BE' => 'french', 'FR-CA' => 'french', 'FR-FR' => 'french', 'FR-LU' => 'french', 'FR-MC' => 'french', 'FR-CH' => 'french', 'DE' => 'german', 'DE-AT' => 'german', 'DE-DE' => 'german', 'DE-LI' => 'german', 'DE-LU' => 'german', 'DE-CH' => 'german', 'HE' => 'hebrew', 'HU' => 'hungarian', 'IT' => 'italian', 'IT-CH' => 'italian', 'MK' => 'macedonian', 'NO' => 'norwegian', 'NB' => 'norwegian', 'NN' => 'norwegian', 'PT-BR' => 'portuguese-br', 'PT' => 'portuguese-pt', 'RO' => 'romanian', 'RO-MO' => 'romanian', 'RU' => 'russian', 'RU-MO' => 'russian', 'ES' => 'spanish', 'ES-AR' => 'spanish', 'ES-BO' => 'spanish', 'ES-CL' => 'spanish', 'ES-CO' => 'spanish', 'ES-CR' => 'spanish', 'ES-DO' => 'spanish', 'ES-EC' => 'spanish', 'ES-SV' => 'spanish', 'ES-GT' => 'spanish', 'ES-HN' => 'spanish', 'ES-MX' => 'spanish', 'ES-NI' => 'spanish', 'ES-PA' => 'spanish', 'ES-PY' => 'spanish', 'ES-PE' => 'spanish', 'ES-PR' => 'spanish', 'ES-ES' => 'spanish', 'ES-UY' => 'spanish', 'ES-VE' => 'spanish', 'SV' => 'swedish', 'SV-FI' => 'swedish', 'SV-SV' => 'swedish', 'TR' => 'turkish', 'UK' => 'ukranian', // NOTE: You can add more below ); if(!isset($_SESSION['switch-language']) && $_SESSION['uid'] == false) { $_SESSION['switch-language'] = true; // prevent from redirecting back again in this session } $current_country = strtoupper(substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2)); $language = $current_country != '' && isset($country_to_language[$current_country]) ? $country_to_language[$current_country] : $country_to_language['default']; if(!isset($_SESSION['Language']) || $_SESSION['Language'] != $language) { $location = '?language='.$language; if($_SERVER['QUERY_STRING'] != '') $location .= '&'.$_SERVER['QUERY_STRING']; ob_clean(); header('location: '.$location); die(); } } ?> some one have one idea to do a work arround, he give so many loops on admin area like this administator/?language=portuguese-pt&language=portuguese-pt&language=portuguese-pt&amp;lang... so there is any suggestion to fix this old good script he works great for client area but no for admin area ☹️ credits for, @webix @Remitur @brian!
  13. Hi @ all, got some problems with modifying the configuredomains.tpl This is what I have at the moment : This is what I would like to have : That's the part that drives me to despair : {foreach key=domainfieldname item=domainfield from=$domain.fields} <div class="form-group"> <label class="{$responsio.classes.col}-3 {$responsio.classes.label} control-label">{$domainfieldname}</label> <div class="{$responsio.classes.col}-8"> {if $domainfield.type == "tickbox"}<div class="checkbox {$responsio.classes.checkbox}">{$domainfield}</div>{else}{$domainfield|replace:"type=\"text\"":"type=\"text\" class=\"form-control `$responsio.classes.input`\""|replace:"type=\"password\"":"type=\"password\" class=\"form-control `$responsio.classes.input`\""|replace:"<select":"<select class=\"form-control `$responsio.classes.input`\""|replace:"<textarea":"<textarea class=\"form-control `$responsio.classes.input`\""|replace:"style=\"width:90%;\"":""}{/if} </div> </div>{/foreach} Maybe someone has an idea how I could solve it . Thanks and best regards Christian
  14. I found an older post regarding this but I wanted to post a working hook that adds recaptcha to the checkout page. I think this a great thing especially if you're being bombarded with fake accounts and orders. /includes/hooks/checkout-recaptcha.php: <?php if (!defined("WHMCS")) die("This file cannot be accessed directly"); function limitOrders($vars) { $url = 'https://www.google.com/recaptcha/api/siteverify'; $privatekey = "YOUR_RECAPTCHA_SECRET_KEY_HERE"; $response = file_get_contents($url . "?secret=" . $privatekey . "&response=" . $_POST['g-recaptcha-response'] . "&remoteip=" . $_SERVER['REMOTE_ADDR']); $data = json_decode($response); if (isset($data->success) AND $data->success == true) { // everything is ok! } else { $pm = $vars['paymentmethod']; if ($pm == "paypalpaymentspro") { global $errormessage; $errormessage.= "<li> Please, confirm that you are not a robot! <br/></li>"; } //if CC } } //function add_hook("ShoppingCartValidateCheckout", 1, "limitOrders"); Change YOUR_RECAPTCHA_SECRET_KEY_HERE to your the recaptcha private/secret key Google gives you. I'm using for my credit card checkout which is "paypalpaymentspro" but you can use it for any payment method. I think you really only need if you accept credits though. To get your payment method view source on the checkout page and search for "paymentmethod" your payment method will be near this. In your checkout.tpl file you also need to add somewhere under the "Complete Payment" button: <div class="g-recaptcha" data-sitekey="YOUR_RECAPTCHA_PUBLIC_KEY_HERE"></div> Replace YOUR_RECAPTCHA_PUBLIC_KEY_HERE with your public recaptcha key provided by Google. This is tested working on WHMCS v7.5.1.
  15. When it comes time to order a hosting plan, sometimes you don't want your users to be able to enter in a subdomain when using an existing domain for their order. In this post I am going to walk you through a basic hook that prevents entering a subdomain by using some client-side JavaScript. Our first order of business will be to check out the WHMCS hooks index to see if there is a hook point that will fit our needs: https://developers.whmcs.com/hooks/hook-index/ It turns out, the ClientAreaFooterOutput hook will do nicely: https://developers.whmcs.com/hooks-reference/output/#clientareafooteroutput The reason for this is because that hook point will allow you to inject HTML code, which also can contain JavaScript, into the client-side template so you can make the magic happen. Before getting into more detail, let's go ahead and dive right into the code. You can also download it from this link block_subdomains.txt (then rename the extension to .php). Here is the entire snippet: <?php add_hook('ClientAreaFooterOutput', 1, function($vars) { $jqueryCode = '<script> $("#owndomainsld").on("keyup", function(e) { var str = $("#owndomainsld").val(); if ( str.indexOf(".") != -1 ) { $("#owndomainsld").val(""); alert("Subdomains are not allowed!"); } }); </script>'; if (strpos($_SERVER['REQUEST_URI'], 'cart.php') !== false ) { return $jqueryCode; } }); The first thing to notice is the add_hook function is being called with the ClientAreaFooterOutput hook point as the first argument and an anonymous function as the second argument. The anonymous function also has a $vars variable being passed into it. For this example the $vars variable is not actually being used in the body of the function, but it does contain some useful parameters should you need to access them. Those parameters can be found in the documentation for the hook point linked above. The next thing to notice is the $jqueryCode variable. which is actually a PHP string that contains the JavaScript code we will be injecting into our client-side page. Since WHMCS uses the jQuery JavaScript library and loads it on the page, we can use it in our code. First, we need to bind an event listener to the keyup event on the domain text box and provide it a callback function to execute when that event occurs. This can be easily done by targeting the element's HTML ID attribute. That is what is happening here: $("#owndomainsld").on("keyup", function(e) {... After that, the value of the domain text field is stored in a JavaScript variable called str. Since this code is inside our callback function, it will be executed every time the user presses a key on the keyboard and then releases it: var str = $("#owndomainsld").val(); Once we have that text stored in our str variable, we need to check it for a dot or period '.' character to see if it is a subdomain. This can be done with indexOf string function in JavaScript. If the text appears to be a subdomain, we'll go ahead and empty out the text field and then show an alert to the user to let them know that subdomains are not allowed: if ( str.indexOf(".") != -1 ) { $("#owndomainsld").val(""); alert("Subdomains are not allowed!"); } Finally, the last part of the hook does a case-insensitive string search on the $_SERVER['REQUEST_URI'] (the URL of the page you're visiting), to check and see if a cart page is being rendered. If a cart page is detected, the JavaScript code is injected into that page so it can run. if (strpos($_SERVER['REQUEST_URI'], 'cart.php') !== false ) { return $jqueryCode; } Putting it all together, we get the final results in WHMCS which look like the picture here: I hope this post proved helpful and gives some insight on some of the ways that WHMCS can be extended to do many different things outside the box! At the time of writing this post, this hook was tested on the latest stable release of WHMCS 7.4.2 and should work with any that fall under Active Support as per the LTS schedule here: https://docs.whmcs.com/Long_Term_Support#WHMCS_Version_.26_LTS_Schedule If you have any feedback, questions, or concerns that I did not cover in this post, please feel free to reach out!
  16. Hello everyone, Hope you guys doing good. I came up with something new or maybe old . I want to implement whmcs lang from English to Hindi. for my indian customers. So i will convert each and every English Words to hindi words. Already 50% done. but please anyone tell me how to Add a extension ex- Hindi in header dropdown menu and target it to my Hindi lang File. Check the screenshot for more info, So i have added a Hindi.php file in Lang directory but in dropdown its showing English 2 times. Sorry for my Bad English. Here is all. Thanks Bagful International
  17. Anyone have idea, how to show other domain registration in modern tpl? Thanks Madan Malhotra
  18. I have two WHMCS installations, both using google apps gmail as the support mail. For the sake of discussion let's call them system1.com and system2.com. Both are configured identically as far as I can see, using the pop.php script. For all normal purposes it seems to work fine, customers can mail to the google apps mail accounts, the mail is imported with the pop.php scripts, no problems. The odd thing is, I get a mail sent to the admin email account when there are tickets, and for one installation I can directly reply through email, and the reply is entering into the ticket system. For the other, the mail arrives in the google apps email account, but is never imported into the ticket system. The util > mail log shows nothing, there are no entries for this mail. When I run the pop.php script manually, one account comes up like this: 2$ php -q /home/system1/crons/pop.php POP Import Log Date: 15/08/2017 13:01:10 --- Host: pop.gmail.com Email: support@system1.com Mailbox is empty --- Host: pop.gmail.com Email: sales@system1.com Mailbox is empty --- The other one comes out like this: $ php -q /home/system2/crons/pop.php POP Import Log Date: 15/08/2017 14:35:51 --- Host: pop.gmail.com<br>Email: support@system2.com<br>-bash-4.2$ So, 2 odd things: 1) system1 outputs in standard txt mode, system2 outputs in HTML (br tags) 2) both systems have both a sales and support email account, but whereas system1 reads both, system2 seems to crash and exit after checking the first account. If I go to setup > support > support departments and change the order of the emails, the exact same thing happens just with the sales@ mail account. md5sum reports same value for the two pop.php scripts - 5314ac613216da7ac7e76a7b64f87600 - so the output *ought* to be the same? I've been digging in this for a couple of hours already and are kinda pulling my non-existing hair out. Any ideas?
  19. Hi! I am looking for a FREE panel, that have the opportunity to disable PHP, since cPanel/WHM doesn't support it. Do you have any idea how to archieve that? Tried ISPConfig 3 but unfortunately got many errors with the module. I could only able to create the client's account via WHMCS inside ISPConfig 3 but no the hosting plus others. So basically do you know any nice panel with suppoting disable PHP? Thank you!
  20. Hello! I having some issue with integrating WP header into WHMCS.. What I already did ... https://billing.brohosting.eu/?systpl=brohosting As you can see looks almost great, but WHMCS menu is missing. Should be related to some JS or something. Can you please help me? If you need any information just tell me! Regards, Marcell
  21. So, I've been looking into this a little bit... Diving into it. The "fraud" module is kind of laid out like a module. Noticed the following functions: getConfigArray() return configarray() doFraudCheck($params) return results() getResultsArray($results) resultarray() When I configured the getConfigArray() and setup the array as such: function getConfigArray() { $configarray = array( "Enable" => array( "Type" => "yesno", "Description" => "Tick to enable My Fraud Module" ), ); return $configarray; } //end configArray when I select the fraud module from the list, it wont display the option. Any help?
  22. I'm attempting to install WHMCS-6.3.1 on Plesk-12.5.30 on CentOS-6.7 but the WHMCS installer complains that the currently installed version of PHP (i.e., PHP-5.3.3) is inadequate. (WHMCS-6.x requires PHP >= 5.3.7.) [root@cp whmcs]# php -v PHP 5.3.3 (cli) (built: Jul 9 2015 17:39:00) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.12, Copyright (c) 2002-2015, by ionCube Ltd. [root@cp whmcs]# yum upgrade php <<<snip>>> --> Running transaction check ---> Package php.x86_64 0:5.3.3-46.el6_6 will be updated ---> Package php.x86_64 0:5.3.3-47.el6 will be an update AFAICT, three versions of PHP are currently installed: [root@cp whmcs]# rpm -qa | grep php | sort php-5.3.3-46.el6_6.x86_64 php5-ioncube-loader-5.0.12-centos6.15081418.x86_64 php-cli-5.3.3-46.el6_6.x86_64 php-common-5.3.3-46.el6_6.x86_64 php-gd-5.3.3-46.el6_6.x86_64 php-imap-5.3.3-46.el6_6.x86_64 php-mbstring-5.3.3-46.el6_6.x86_64 php-mysql-5.3.3-46.el6_6.x86_64 php-pdo-5.3.3-46.el6_6.x86_64 php-xml-5.3.3-46.el6_6.x86_64 plesk-php56-5.6.24-centos6.16072212.x86_64 plesk-php56-bcmath-5.6.24-centos6.16072212.x86_64 plesk-php56-cli-5.6.24-centos6.16072212.x86_64 plesk-php56-dba-5.6.24-centos6.16072212.x86_64 plesk-php56-enchant-5.6.24-centos6.16072212.x86_64 plesk-php56-fpm-5.6.24-centos6.16072212.x86_64 plesk-php56-gd-5.6.24-centos6.16072212.x86_64 plesk-php56-imagick-3.1.2-centos6.15081011.x86_64 plesk-php56-imap-5.6.24-centos6.16072212.x86_64 plesk-php56-intl-5.6.24-centos6.16072212.x86_64 plesk-php56-ioncube-loader-5.0.18-centos6.15101214.x86_64 plesk-php56-ldap-5.6.24-centos6.16072212.x86_64 plesk-php56-mbstring-5.6.24-centos6.16072212.x86_64 plesk-php56-mcrypt-5.6.24-centos6.16072212.x86_64 plesk-php56-mysql-5.6.24-centos6.16072212.x86_64 plesk-php56-odbc-5.6.24-centos6.16072212.x86_64 plesk-php56-opcache-5.6.24-centos6.16072212.x86_64 plesk-php56-pdo-5.6.24-centos6.16072212.x86_64 plesk-php56-pear-1.9.4-centos6.16072212.noarch plesk-php56-pgsql-5.6.24-centos6.16072212.x86_64 plesk-php56-process-5.6.24-centos6.16072212.x86_64 plesk-php56-pspell-5.6.24-centos6.16072212.x86_64 plesk-php56-redis-2.2.5-centos6.15081011.x86_64 plesk-php56-release-5.6.24-centos6.16072212.x86_64 plesk-php56-snmp-5.6.24-centos6.16072212.x86_64 plesk-php56-soap-5.6.24-centos6.16072212.x86_64 plesk-php56-tidy-5.6.24-centos6.16072212.x86_64 plesk-php56-xdebug-2.2.3-centos6.15081011.x86_64 plesk-php56-xml-5.6.24-centos6.16072212.x86_64 plesk-php56-xmlrpc-5.6.24-centos6.16072212.x86_64 plesk-php70-7.0.9-centos6.16072211.x86_64 plesk-php70-bcmath-7.0.9-centos6.16072211.x86_64 plesk-php70-cli-7.0.9-centos6.16072211.x86_64 plesk-php70-dba-7.0.9-centos6.16072211.x86_64 plesk-php70-enchant-7.0.9-centos6.16072211.x86_64 plesk-php70-fpm-7.0.9-centos6.16072211.x86_64 plesk-php70-gd-7.0.9-centos6.16072211.x86_64 plesk-php70-imagick-3.4.1-centos6.16063012.x86_64 plesk-php70-imap-7.0.9-centos6.16072211.x86_64 plesk-php70-intl-7.0.9-centos6.16072211.x86_64 plesk-php70-ldap-7.0.9-centos6.16072211.x86_64 plesk-php70-mbstring-7.0.9-centos6.16072211.x86_64 plesk-php70-mcrypt-7.0.9-centos6.16072211.x86_64 plesk-php70-mysql-7.0.9-centos6.16072211.x86_64 plesk-php70-odbc-7.0.9-centos6.16072211.x86_64 plesk-php70-opcache-7.0.9-centos6.16072211.x86_64 plesk-php70-pdo-7.0.9-centos6.16072211.x86_64 plesk-php70-pear-1.10.1-centos6.16072211.noarch plesk-php70-pgsql-7.0.9-centos6.16072211.x86_64 plesk-php70-process-7.0.9-centos6.16072211.x86_64 plesk-php70-pspell-7.0.9-centos6.16072211.x86_64 plesk-php70-release-7.0.9-centos6.16072211.x86_64 plesk-php70-snmp-7.0.9-centos6.16072211.x86_64 plesk-php70-soap-7.0.9-centos6.16072211.x86_64 plesk-php70-tidy-7.0.9-centos6.16072211.x86_64 plesk-php70-xml-7.0.9-centos6.16072211.x86_64 plesk-php70-xmlrpc-7.0.9-centos6.16072211.x86_64 psa-php5-configurator-1.7.0-cos6.build1205150820.19.x86_64 psa-phpmyadmin-4.6.0-cos6.build1205160427.18.noarch psa-phppgadmin-5.1-cos6.build1205150814.17.noarch How can I fix this?
  23. Hello, I come to you to see if anyone is how the scroll Stope at some point. I joined the js code, in hope to have your help thank you in advance cordially $(document).ready(function () { var $orderSummaryEl = jQuery("#scroll"); if ($orderSummaryEl.length) { var offset = jQuery("#scrollingPanelContainer").parent('.row').offset(); //var maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row').outerHeight() - 35; var maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row'); var topPadding = 15; jQuery(window).resize(function() { offset = jQuery("#scrollingPanelContainer").parent('.row').offset(); //maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row').outerHeight() - 35; maxTopOffset = jQuery("#scrollingPanelContainer").parent('.row'); repositionScrollingSidebar(); }); jQuery(window).scroll(function() { repositionScrollingSidebar(); }); repositionScrollingSidebar(); } function repositionScrollingSidebar() { if (jQuery("#scrollingPanelContainer").css('float') != 'left') { $orderSummaryEl.stop().css('margin-top', '0'); return false; } var heightOfOrderSummary = $orderSummaryEl.outerHeight(); var newTopOffset = jQuery(window).scrollTop() - offset.top + topPadding; if (newTopOffset > maxTopOffset - heightOfOrderSummary) { newTopOffset = maxTopOffset - heightOfOrderSummary; } if (jQuery(window).scrollTop() > offset.top) { $orderSummaryEl.stop().animate({ marginTop: newTopOffset }); } else { $orderSummaryEl.stop().animate({ marginTop: 0 }); } } });
  24. Hey, Today ionCube released v4.5.0 which compatible with PHP 5.5.X. So I updated my PHP 5.4.x to 5.5.x and installed the new loaders but when I try to access to the Administrator panel I got this error: Please know that before you update to PHP 5.5.x because WHMCS team need to the update WHMCS files in order support the new ionCube loaders.
  25. Hi guys, I've tried searching for this in Google and all I see are other people's web sites that have the same issue On my cart page (cart.php) I get the following error: array_key_exists() expects parameter 2 to be array, null given in /path/to/orderfunctions.php In my configuration.php I have $display_errors set to E_ALL ^ E_NOTICE. If I add ^ E_WARNING then the errors go. So maybe the real question here is, should I be hiding warnings on production? Thanks for any advice on the issue.
×
×
  • Create New...

Important Information

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