Jump to content

Michael

Moderators
  • Posts

    9,522
  • Joined

  • Last visited

  • Days Won

    186

Everything posted by Michael

  1. Groups => Package groups ==> Eg: Shared Hosting Packages => Products ==> Eg: Basic hosting, Advanced hosting (You need to assign them to a package group) ------------------------------- Options groups ==> Option groups ==> Dedicated IPs Options ==> Options ==> 1 IP address, 2 IP addresses (They need to be assigned to the Option group) I recommend checking this video: http://player.vimeo.com/video/84284299
  2. My PHP execution limit something was downgraded to 6 by mistake when it should of been 30, fixed that and it works again. Stupid mistake
  3. Which nav are you trying to add a link to mate? Frontend / backend?
  4. Michael

    Cron Job

    That's weird mate, not spotted that one before. Hopefully the guys can track it down for you.
  5. The only hard bit mainly is stopping Bootstrap overwriting the CSS mate haha, should be easy in 3.2 though.
  6. I believe it figures it out itself automatically, when you've re-issued your license you should be able to log back in.
  7. Haha cPanel has a mind of it's own when it wants to mate.
  8. Michael

    Release 3.1.1

    Patch is a upgrade , if your using 3.0.8 you need 3.0.9 though.
  9. Michael

    Tags In Signature

    I don't think so but it would be a nice email template Like: This is a confidential email for {email address} only...
  10. Michael

    Release 3.1.1

    Thanks guys keep the good work up
  11. I wonder mate if that's causing the reseller issues? Because this is what we've got in the reseller center for the client: http://screencast.com/t/bcrELn6dw
  12. disabling the validation check, allowed the server to be added .
  13. That fixed it mate and showed the correct packages when creating a package.
  14. Michael

    Hosting Providers?

    Ah there's plenty, FreshRoastedHosting, CrocWeb, Site5 (Blesta VAR host), StableHost
  15. I'm just a bit confused, on 3.1.0 I've noticed when updating a page with the API attached ends up timing out: [12-Feb-2014 14:03:40 Europe/London] PHP Fatal error: Maximum execution time of 6 seconds exceeded in /home/username/public_html/blesta_api.php on line 124But that line is: $response = curl_exec($ch); Full code: <?php require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . "blesta_response.php"; /** * Blesta API processor * * @copyright Copyright (c) 2013, Phillips Data, Inc. * @license http://opensource.org/licenses/mit-license.php MIT License * @package blesta_sdk */ class BlestaApi { /** * @var string The URL to the Blesta API */ private $url; /** * @var string The API user */ private $user; /** * @var string The API key */ private $key; /** * @var string API response format */ private static $format = "json"; /** * Initializes the API * * @param string $url The URL to the Blesta API * @param string $user The API user * @param string $key The API key */ public function __construct($url, $user, $key) { $this->url = $url; $this->user = $user; $this->key = $key; } /** * Submit an API request via GET * * @param string $model The model to request (e.g. users) * @param string $method The method to request (e.g. add) * @param array $args An array of arguments to pass to the method * @return BlestaResponse The response object */ public function get($model, $method, array $args = array()) { return $this->submit($model, $method, $args, "GET"); } /** * Submit an API request via POST * * @param string $model The model to request (e.g. users) * @param string $method The method to request (e.g. add) * @param array $args An array of arguments to pass to the method * @return BlestaResponse The response object */ public function post($model, $method, array $args = array()) { return $this->submit($model, $method, $args, "POST"); } /** * Submit an API request via PUT * * @param string $model The model to request (e.g. users) * @param string $method The method to request (e.g. add) * @param array $args An array of arguments to pass to the method * @return BlestaResponse The response object */ public function put($model, $method, array $args = array()) { return $this->submit($model, $method, $args, "PUT"); } /** * Submit an API request via DELETE * * @param string $model The model to request (e.g. users) * @param string $method The method to request (e.g. add) * @param array $args An array of arguments to pass to the method * @return BlestaResponse The response object */ public function delete($model, $method, array $args = array()) { return $this->submit($model, $method, $args, "DELETE"); } /** * Submits a request to the API * * @param string $uri The URI to submit to * @param array $args An array of key/value pair arguments to submit to the given API command * @return BlestaResponse The response object */ private function submit($model, $method, array $args = array(), $action = "POST") { $url = $this->url . $model . "/" . $method . "." . self::$format; $this->last_request = array( 'url' => $url, 'args' => $args ); if ($action == "GET") { $url .= "?" . http_build_query($args); $args = null; } $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $action); curl_setopt($ch, CURLOPT_URL, $url); if ($args) { curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($args)); } curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_USERPWD, $this->user . ":" . $this->key); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); $response = curl_exec($ch); $response_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); return new BlestaResponse($response, $response_code); } /** * Returns the details of the last request made * * @return array An array containg: * - url The URL of the last request * - args The paramters passed to the URL */ public function lastRequest() { return $this->last_request; } } ?>
  16. Michael

    Hosting Providers?

    what's the problems you are having?
  17. This would be cool guys when is the CORE-514 set for?
  18. Just wondering if the guys will spot this and update us if there is
  19. Sorry mate didn't spot a reply, this is what they have on the default feature list (A reseller can do): Account Information List Accounts View Account Bandwidth Usage Account Management (Un)Suspend Change Passwords Create Edit MX Entries SSL CSR/CRT Generator SSL Certificate Purchase SSL Site Management Terminate Upgrade/Downgrade Dns Add Edit Remove Packages Add/Remove Edit Troubleshooting Troubleshoot Mail Delivery cPanel Management News Modification
  20. It depends normally in a few hours in their opening hours maximum, but depends how many are open awaiting an answer. But they will help you get it resolved. As I've never used it I'm not much help as I wouldn't know what to look for or what happens with it.
  21. I recommend using the latest versions either 3.1.0 or 3.0.8. Blank page could be any reason, have you got a log (tools > logs > modules) or a error_log?
  22. https://account.blesta.com/client/plugin/support_manager/client_tickets/add/3/
  23. Should be out shortly, it's the main one on their list for registrars now from what I've heard.
  24. I think it's related to this mate: http://www.blesta.com/forums/index.php?/topic/1899-solusvm-module-kvm/
  25. 1) Stripe: Go to: /components/gateways/merchant/stripe_gateway/ And then edit stripe_gateway.php Find: /** * Return all currencies supported by this gateway * * @return array A numerically indexed array containing all currency codes (ISO 4217 format) this gateway supports */ public function getCurrencies() { return array("CAD", "EUR", "GBP", "USD"); } Replace with: /** * Return all currencies supported by this gateway * * @return array A numerically indexed array containing all currency codes (ISO 4217 format) this gateway supports */ public function getCurrencies() { return array("CAD", "EUR", "GBP", "USD", "AUD"); } 2) PayFlow Pro I'm sorry I don't know the answer to this one as I don't use it.
×
×
  • Create New...