Jump to content

LukesUbuntu

Members
  • Posts

    27
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Thanks
    LukesUbuntu reacted to Tyson in Change 'from Email' In Email Templates In Bulk   
    You should update those queries to encapsulate the values in quotes, otherwise running them will generate a syntax error.
    UPDATE `emails` SET `from`='billing@domain.com' WHERE `from`='billing@subdomain.domain.com';
  2. Thanks
    LukesUbuntu reacted to phireuk in Ip Address Shows As Server Ip For Everything.   
    Found the solution.  Thanks for your help max. 
     
    https://forum.vestacp.com/viewtopic.php?f=10&t=6650
     
    Here is the quote from the VestaCP forum.
     
     
    Remove rpaf that doesn't work.
     
    apt-get remove libapache2-mod-rpaf create the file remoteip.conf
     
    vim /etc/apache2/mods-available/remoteip.conf the file should say this. <IfModule mod_remoteip.c> RemoteIPHeader X-Real-IP RemoteIPInternalProxy 127.0.0.1 RemoteIPInternalProxy xxx.xxx.xxx.xxx      (add your server IP here) </IfModule> save the file.
    Activate remoteip which is native in Apache 2.4
    a2enmod remoteip service apache2 restart
    Now works perfectly...
  3. Thanks
    LukesUbuntu got a reaction from Paul in The authorization details given appear to be invalid   
    I just resolved my issue needed to add rewrite rule from https://docs.blesta.com/display/dev/API#API-Authentication
     
  4. Thanks
    LukesUbuntu got a reaction from BeZazz in The authorization details given appear to be invalid   
    I just resolved my issue needed to add rewrite rule from https://docs.blesta.com/display/dev/API#API-Authentication
     
  5. Like
    LukesUbuntu reacted to Paul in Release 3.6.1   
    We are getting close to a 4.0 beta. 
  6. Like
    LukesUbuntu reacted to Tyson in Form Class?   
    First parameter to Form::create is the URI to POST to, default null  for current page. Second parameter is an array of attributes--this is where you can set your class.
    e.g.
    $this->Form->create(null, array('class' => "class1 class2 class3"));
  7. Like
    LukesUbuntu reacted to Paul in The Marketplace (Beta)   
    We've soft launched the Marketplace (beta).
     
    https://marketplace.blesta.com/
     
    You need to have a valid account with us as well as a developer license to list extensions on The Marketplace. No account is necessary to browse or download extensions from The Marketplace. Click "Developer? Log in / Sign up" in the bottom left. Enter your Blesta client area credentials from https://account.blesta.com/client/login. (You will always login with your current user/pass from the client area) Then, you may add and manage your extensions. Please only list extensions that you have created.
     
    There is no moderation process, so please play nice, we don't want to disable anyone's account.
     
    Also, this is a beta, so please report any issues or suggestions you may have.
     
    We'll be adding support for Github in the future, as well as many other improvements. The Marketplace will also be tightly integrated into Blesta in a future release.
  8. Like
    LukesUbuntu reacted to Michael in Locked Invoice Stuck In Loop   
    Glad that fixed your issue, as it's not a bug I'm closing the thread.
  9. Like
    LukesUbuntu got a reaction from Paul in Locked Invoice Stuck In Loop   
    @Paul the invoices were for the same service but i think it could have been something i done while trying to resolve the issue.

    @Tyson thanks looks like it is precision issue, just seen issue with currencies.
     
    Awesome you guys rock thanks for your time.
  10. Like
    LukesUbuntu reacted to Tyson in Locked Invoice Stuck In Loop   
    This is the reason the cron task is stalled:
    Error: Undefined property: stdClass::$precision #0 /home/*******/domains/billing.*******.co.nz/public_html/app/models/invoices.php(1255): UnknownException::setErrorHandler(8, 'Undefined prope...', '/home/*******/d...', 1255, Array) In v3.5.1, currencies were updated to include precision. The only reason you would not have currency precision when using Blesta v3.5.1+ is if the upgrade was not run. After you upload all of the files for a newer version of Blesta, you must make sure you run ~/admin/upgrade/ in your browser and follow the steps to upgrade (basically just click a button).
     
    After you run the upgrade, head over to [settings] -> [Currencies] -> [Active Currencies]. All currencies should have a precision set (i.e. number of digits after the decimal place). You may need to update NZD (and other currencies) to their expected currency precision.
  11. Like
    LukesUbuntu reacted to Paul in Release 3.5.0-B3   
    b1 and b2 were not suitable for public release
  12. Like
    LukesUbuntu reacted to Tyson in Need Help Building A Payment Gateway Module   
    The error is likely caused by the name of the class or directory. The class name of the gateway should be in camel-case format, while the directory name should be separated by underscores as described in the Programming Style Guide, following the gateway file structure. You can use the other gateways as reference.
     
    i.e. The class name "CarrotPay" means the directory it is within should be "carrot_pay" @ /components/gateways/nonmerchant/carrot_pay/carrot_pay.php
     
     
     
    Curious, are you a developer by trade? I ask because I have been tailoring my explanations assuming that you are familiar with object-oriented programming in PHP--classes, abstract methods, inheritance, etc., following the MVC design pattern that Blesta uses. If not, there is going to be a learning curve to overcome first.
     
    In CarrotPay::buildProcess, you would create a view, set variables to the view, and return the view. Setting variables can be done by calling set on the View object by setting a name for it in the view (first parameter) and the value (as the second parameter).
     
    e.g. (This is copied from the Payza gateway)
    $fields = array(); $this->view = $this->makeView("process", "default", str_replace(ROOTWEBDIR, "", dirname(__FILE__) . DS)); Loader::loadHelpers($this, array("Form", "Html")); //Sets sandbox or production URL based on "test_mode" parameter value. $this->view->set("post_to", ($this->ifSet($this->meta['test_mode']) == "true" ? $this->payza_sandbox_url : $this->payza_url)); $this->view->set("fields", $fields); return $this->view->fetch(); You would output the data in your view template under /components/gateways/nonmerchant/carrot_pay/view/default/process.pdt. The Form and Html helpers are used to simplify creating form fields and for outputting content html-safe.
  13. Like
    LukesUbuntu reacted to Paul in Php7   
    https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7
     
    Goodbye mysql, hello PDO! It's good some of us thought about this a long time ago.
  14. Like
    LukesUbuntu reacted to Jonathan in What Version Of Php Are You Running, And When Do You Think You'll Upgrade To Php 7?   
    Blesta is very happy on PHP 5.6 + ZendOpcache on MariaDB 10.0.x backend.
     
    I selected 3-6 months on an upgrade timeline simply to allow some of the intial bugs to be worked out and allow time for internal testing before an upgrade.  I'd start testing on it immediately but the production update would depend on stability and bugs.
  15. Like
    LukesUbuntu reacted to Paul in What Version Of Php Are You Running, And When Do You Think You'll Upgrade To Php 7?   
    It is very much faster. Cody will correct me if I'm wrong, but we were seeing nearly 10x speed increase on PHP 7 for some unit tests. Because if the performance of PHP 7, I suspect it will have a much higher/faster adoption rate than past versions.
  16. Like
    LukesUbuntu reacted to Paul in What Version Of Php Are You Running, And When Do You Think You'll Upgrade To Php 7?   
    PHP 7 is expected to be released officially toward the end of the year, and it is fast - http://www.reddit.com/r/PHP/comments/305ck6/real_world_php_70_benchmarks/
     
    We want to know what version of PHP you are running and when you plan to upgrade to PHP 7.
  17. Like
    LukesUbuntu reacted to Michael in [Thesslstore] Improvement (Could Work On Gogetssl Too)   
    Currently the module has a Text box, I changed this because customers tried to enter the full country name and not the ISO that control panels like InterWorx, cPanel use when generating the CSR.
     
    This is what I've been using for over a year and it comes in handy and a few of my customers use this because they asked about the same issue.
    private function getCountriesList() { return array( "--" => "--- Please select your country ---", "AF" => "Afghanistan", "AL" => "Albania", "DZ" => "Algeria", "AS" => "American Samoa", "AD" => "Andorra", "AO" => "Angola", "AI" => "Anguilla", "AQ" => "Antarctica", "AG" => "Antigua and Barbuda", "AR" => "Argentina", "AM" => "Armenia", "AW" => "Aruba", "AU" => "Australia", "AT" => "Austria", "AZ" => "Azerbaijan", "BS" => "Bahamas", "BH" => "Bahrain", "BD" => "Bangladesh", "BB" => "Barbados", "BY" => "Belarus", "BE" => "Belgium", "BZ" => "Belize", "BJ" => "Benin", "BM" => "Bermuda", "BT" => "Bhutan", "BO" => "Bolivia", "BA" => "Bosnia and Herzegovina", "BW" => "Botswana", "BR" => "Brazil", "IO" => "British Indian Ocean Territory", "VG" => "British Virgin Islands", "BN" => "Brunei", "BG" => "Bulgaria", "BF" => "Burkina Faso", "MM" => "Burma (Myanmar)", "BI" => "Burundi", "KH" => "Cambodia", "CM" => "Cameroon", "CA" => "Canada", "CV" => "Cape Verde", "KY" => "Cayman Islands", "CF" => "Central African Republic", "TD" => "Chad", "CL" => "Chile", "CN" => "China", "CX" => "Christmas Island", "CC" => "Cocos (Keeling) Islands", "CO" => "Colombia", "KM" => "Comoros", "CK" => "Cook Islands", "CR" => "Costa Rica", "HR" => "Croatia", "CU" => "Cuba", "CY" => "Cyprus", "CZ" => "Czech Republic", "CD" => "Democratic Republic of the Congo", "DK" => "Denmark", "DJ" => "Djibouti", "DM" => "Dominica", "DO" => "Dominican Republic", "EC" => "Ecuador", "EG" => "Egypt", "SV" => "El Salvador", "GQ" => "Equatorial Guinea", "ER" => "Eritrea", "EE" => "Estonia", "ET" => "Ethiopia", "FK" => "Falkland Islands", "FO" => "Faroe Islands", "FJ" => "Fiji", "FI" => "Finland", "FR" => "France", "PF" => "French Polynesia", "GA" => "Gabon", "GM" => "Gambia", " " => "Gaza Strip", "GE" => "Georgia", "DE" => "Germany", "GH" => "Ghana", "GI" => "Gibraltar", "GR" => "Greece", "GL" => "Greenland", "GD" => "Grenada", "GU" => "Guam", "GT" => "Guatemala", "GN" => "Guinea", "GW" => "Guinea-Bissau", "GY" => "Guyana", "HT" => "Haiti", "VA" => "Holy See (Vatican City)", "HN" => "Honduras", "HK" => "Hong Kong", "HU" => "Hungary", "IS" => "Iceland", "IN" => "India", "ID" => "Indonesia", "IR" => "Iran", "IQ" => "Iraq", "IE" => "Ireland", "IM" => "Isle of Man", "IL" => "Israel", "IT" => "Italy", "CI" => "Ivory Coast", "JM" => "Jamaica", "JP" => "Japan", "JE" => "Jersey", "JO" => "Jordan", "KZ" => "Kazakhstan", "KE" => "Kenya", "KI" => "Kiribati", " " => "Kosovo", "KW" => "Kuwait", "KG" => "Kyrgyzstan", "LA" => "Laos", "LV" => "Latvia", "LB" => "Lebanon", "LS" => "Lesotho", "LR" => "Liberia", "LY" => "Libya", "LI" => "Liechtenstein", "LT" => "Lithuania", "LU" => "Luxembourg", "MO" => "Macau", "MK" => "Macedonia", "MG" => "Madagascar", "MW" => "Malawi", "MY" => "Malaysia", "MV" => "Maldives", "ML" => "Mali", "MT" => "Malta", "MH" => "Marshall Islands", "MR" => "Mauritania", "MU" => "Mauritius", "YT" => "Mayotte", "MX" => "Mexico", "FM" => "Micronesia", "MD" => "Moldova", "MC" => "Monaco", "MN" => "Mongolia", "ME" => "Montenegro", "MS" => "Montserrat", "MA" => "Morocco", "MZ" => "Mozambique", "NA" => "Namibia", "NR" => "Nauru", "NP" => "Nepal", "NL" => "Netherlands", "AN" => "Netherlands Antilles", "NC" => "New Caledonia", "NZ" => "New Zealand", "NI" => "Nicaragua", "NE" => "Niger", "NG" => "Nigeria", "NU" => "Niue", " " => "Norfolk Island", "KP" => "North Korea (Democratic People's Republic of Korea)", "MP" => "Northern Mariana Islands", "NO" => "Norway", "OM" => "Oman", "PK" => "Pakistan", "PW" => "Palau", "PA" => "Panama", "PG" => "Papua New Guinea", "PY" => "Paraguay", "PE" => "Peru", "PH" => "Philippines", "PN" => "Pitcairn Islands", "PL" => "Poland", "PT" => "Portugal", "PR" => "Puerto Rico", "QA" => "Qatar", "CG" => "Republic of the Congo", "RO" => "Romania", "RU" => "Russia", "RW" => "Rwanda", "BL" => "Saint Barthelemy", "SH" => "Saint Helena", "KN" => "Saint Kitts and Nevis", "LC" => "Saint Lucia", "MF" => "Saint Martin", "PM" => "Saint Pierre and Miquelon", "VC" => "Saint Vincent and the Grenadines", "WS" => "Samoa", "SM" => "San Marino", "ST" => "Sao Tome and Principe", "SA" => "Saudi Arabia", "SN" => "Senegal", "RS" => "Serbia", "SC" => "Seychelles", "SL" => "Sierra Leone", "SG" => "Singapore", "SK" => "Slovakia", "SI" => "Slovenia", "SB" => "Solomon Islands", "SO" => "Somalia", "ZA" => "South Africa", "KR" => "South Korea", "ES" => "Spain", "LK" => "Sri Lanka", "SD" => "Sudan", "SR" => "Suriname", "SJ" => "Svalbard", "SZ" => "Swaziland", "SE" => "Sweden", "CH" => "Switzerland", "SY" => "Syria", "TW" => "Taiwan", "TJ" => "Tajikistan", "TZ" => "Tanzania", "TH" => "Thailand", "TL" => "Timor-Leste", "TG" => "Togo", "TK" => "Tokelau", "TO" => "Tonga", "TT" => "Trinidad and Tobago", "TN" => "Tunisia", "TR" => "Turkey", "TM" => "Turkmenistan", "TC" => "Turks and Caicos Islands", "TV" => "Tuvalu", "UG" => "Uganda", "UA" => "Ukraine", "AE" => "United Arab Emirates", "GB" => "United Kingdom", "US" => "United States", "UY" => "Uruguay", "VI" => "US Virgin Islands", "UZ" => "Uzbekistan", "VU" => "Vanuatu", "VE" => "Venezuela", "VN" => "Vietnam", "WF" => "Wallis and Futuna", " " => "West Bank", "EH" => "Western Sahara", "YE" => "Yemen", "ZM" => "Zambia", "ZW" => "Zimbabwe" ); }
  18. Like
    LukesUbuntu got a reaction from jaison in Module Overhaul [Paid]   
    this module is nearly completed, have only have a couple hours a week to smash out opensource stuff ill remove this off my private github repository soon .....

    Anyway as others suggested added http & dns Authorization methods, implemented CRT generating couple screenshots
     
    http://prntscr.com/69x9az http://prntscr.com/69xcxf   http://prntscr.com/69xpn3 http://prntscr.com/69xl37

      I have to tidy up template's as its bit cramped, hopefully if my workloads nice to me ill have it up on github this weekend.
     
  19. Like
    LukesUbuntu got a reaction from Paul in Module Overhaul [Paid]   
    this module is nearly completed, have only have a couple hours a week to smash out opensource stuff ill remove this off my private github repository soon .....

    Anyway as others suggested added http & dns Authorization methods, implemented CRT generating couple screenshots
     
    http://prntscr.com/69x9az http://prntscr.com/69xcxf   http://prntscr.com/69xpn3 http://prntscr.com/69xl37

      I have to tidy up template's as its bit cramped, hopefully if my workloads nice to me ill have it up on github this weekend.
     
  20. Like
    LukesUbuntu got a reaction from NickP in Module Overhaul [Paid]   
    this module is nearly completed, have only have a couple hours a week to smash out opensource stuff ill remove this off my private github repository soon .....

    Anyway as others suggested added http & dns Authorization methods, implemented CRT generating couple screenshots
     
    http://prntscr.com/69x9az http://prntscr.com/69xcxf   http://prntscr.com/69xpn3 http://prntscr.com/69xl37

      I have to tidy up template's as its bit cramped, hopefully if my workloads nice to me ill have it up on github this weekend.
     
  21. Like
    LukesUbuntu got a reaction from Blesta Addons in Module Overhaul [Paid]   
    this module is nearly completed, have only have a couple hours a week to smash out opensource stuff ill remove this off my private github repository soon .....

    Anyway as others suggested added http & dns Authorization methods, implemented CRT generating couple screenshots
     
    http://prntscr.com/69x9az http://prntscr.com/69xcxf   http://prntscr.com/69xpn3 http://prntscr.com/69xl37

      I have to tidy up template's as its bit cramped, hopefully if my workloads nice to me ill have it up on github this weekend.
     
  22. Like
    LukesUbuntu got a reaction from Michael in Module Overhaul [Paid]   
    this module is nearly completed, have only have a couple hours a week to smash out opensource stuff ill remove this off my private github repository soon .....

    Anyway as others suggested added http & dns Authorization methods, implemented CRT generating couple screenshots
     
    http://prntscr.com/69x9az http://prntscr.com/69xcxf   http://prntscr.com/69xpn3 http://prntscr.com/69xl37

      I have to tidy up template's as its bit cramped, hopefully if my workloads nice to me ill have it up on github this weekend.
     
  23. Like
    LukesUbuntu reacted to serge in Invoice Creation   
    Additionally you could do this mysql query on your database:
     
    ---------
     
    SELECT * FROM `log_cron` WHERE `run_id` !=0 AND `end_date` IS NULL ORDER BY `start_date` DESC;
     
    -----------
     
    In case you have result, that mean some tasks in your cron are locked/bugged, and you should remove these lines, and it's will help blesta be able to run locked tasks
  24. Like
    LukesUbuntu reacted to Paul in Module Overhaul [Paid]   
    If anyone has changed the module to allow the CSR and other details be submitted post-order, and would like to submit the changes to us for review and inclusion in Blesta let me know. We will need rights to the code, but will maintain it going forward.
  25. Like
    LukesUbuntu reacted to Blesta Addons in Module Overhaul [Paid]   
    Good work . Isee from thier api they support multiple verification , the default one is by email. Can you add the others at least Dns entries or http file check ?
    Also can you add a tab for generation crt when ssl is not yet active .?
×
×
  • Create New...