Jump to content

Adam

Members
  • Posts

    131
  • Joined

  • Last visited

  • Days Won

    16

Posts posted by Adam

  1. 3 hours ago, mlsto said:

    This is what I did but still getting - The SFTP connection failed! Please check your settings and try again.

    Changed permissions and still the same, maybe the port?

    SFTP and FTPS are two different things. Is your server configured to use the correct one?

    SFTP uses SSH over port 22
    FTPS uses FTP with TLS/SSL over port 21

     

    -Adam

  2. On 3/31/2017 at 1:44 PM, Paul said:

    Your plugin should work with v4, but you may want to update the buttons to use the new Bootstrap buttons introduced in the UI for v4. Usually we have a developer blog post, or include information in the release notes for the beta about any developer related considerations. Nothing major was changed besides the increase in minimum PHP requirements to 5.4 in terms of plugins.

    Very glad to hear about Cerb! If you have a developer license, you can log in and list it on the marketplace.

     

    Thanks Paul. For the most part everything seems to work. Few issues on our end that I am cleaning up.

    Is http://source-docs.blesta.com/ up to date? I am assuming it would not matter, as you mentioned not a lot things changed internally to the method signatures? Would be great if you could include a timestamp of when the page was created/generated within source-docs.

    Thanks,
    -Adam

  3. Hello,

    We literally just finished our development of the Cerb helpdesk plugin that would allow Blesta clients to use Cerb instead of the default helpdesk with Blesta. Now we noticed that v4 is out (congratulations).

    Is there a write up somewhere, for developers, on what changed when creating a custom plugin? What functions depreciated? New features added? etc.

    We have not tried our new plugin on a v4 system yet, but I suspect we will start that process soon.

     

    Thanks,
    -Adam

    P.S. For those wondering, we plan on releasing the Cerb plugin, free of charge, to the rest of the Blesta community. No ETA yet.

  4. Morning,

     

    It looks like your CSS and images are not loading. Maybe a permissions issues or you forgot to upload the files / folder.

    View the source on the webpage, and try to load a CSS file. See what the server response back with:
    Example:
    Visit: domain.tld/app/views/client/bootstrap/css/bootstrap.min.css

    -Adam

     

  5. We are installing Blesta 4.0.0 and notice that during the installation process an alert was issued saying that our cache directory was not writable. This was strange to us because in our environment, the user who runs PHP has write access (we use suPHP for security reasons).

     

    Upon closer look we notice that Blesta 4.0.0 does not ship with an empty cache directory (as defined by CACHEDIR). Rather, the code assumes that the cache directory already exists. You can see this below:
     

    app/controllers/install.php
    807             'cache_writable' => [
    808                 'message' => Language::_('SystemRequirements.!warning.cache_writable.recommended', true, CACHEDIR),
    809                 'req' => true,
    810                 'cur' => is_writable(CACHEDIR)
    811             ], // To cache view files for performance

    The PHP function is_writable does two things: checks if the user can write AND if the file exists. Since Blesta does not ship with an empty CACHEDIR (nor was anything mentioned to create one in the README), we get an error for no reason.

     

    Below is a patch for a proposed fix. It checks to see if a file exists, if it does, then performs the is_writable test. Otherwise, attempt to create a directory and check if we can write to it The second test is probably pointless cause if you can create a directory you should be able to write to it, but edge cases can be tricky if parent folder has sticky bits enable, etc.

    -Adam

     

    diff --git a/app/controllers/install.php b/app/controllers/install.php
    index a6c462e..414d3a8 100644
    --- a/app/controllers/install.php
    +++ b/app/controllers/install.php
    @@ -807,7 +807,7 @@ class Install extends Controller
                 'cache_writable' => [
                     'message' => Language::_('SystemRequirements.!warning.cache_writable.recommended', true, CACHEDIR),
                     'req' => true,
    -                'cur' => is_writable(CACHEDIR)
    +                'cur' => (file_exists(CACHEDIR)) ? is_writable(CACHEDIR) : (mkdir(CACHEDIR, 0755) && is_writable(CACHEDIR)) ? true : false
                 ], // To cache view files for performance
                 'ext-simplexml' => [
                     'message' => Language::_('SystemRequirements.!warning.simplexml.recommended', true),

     

  6. 12 hours ago, Greg-Mega said:

    Do you have SPF & DKIM records for your domain? Gmail has got quite picky about these in the last 6 months along with O365.

    As you've removed your domain name from the headers I was unable to check this for you.

    Also should add DMARC records.

     

    Since your removed your IPs from us (not sure why), we also can not check if IPs within a  /24 (IPv4) or /64 (IPv6) are on a blacklist or have poor reputation. Your PTR records should match IP that sends mail on your behalf. You also need to make sure that your mail server responds to HELO commands and correctly announces your domain.

     

    -Adam

     

  7. Hello,

    I was under the impression that when we create a contact type within Blesta, it will have ACLs associated with it. It this not the case?

    I see the documentation says this specifically (does not support ACLs): https://docs.blesta.com/display/user/Company+>+General#Company>General-ContactTypes 

    Any ETA on this? 

     

    Background: Working on adding a 3rd party helpdesk (Cerberus) to Blesta and this is a feature we would like to have. Support Only contacts to do CRUD on ticket operations. Is this something each plugin will have to support (assuming) or will Blesta come up with some other design?

     

    Thanks,
    -Adam

  8. 4 hours ago, Licensecart said:

    Bit confused :) your website is down. or something because clients.cyandark.com/order/ doesn't work and there's a black page?

    Same here. very confused:

     

    1. You visit the homepage of http://cyandark.com/ and every link in the navagation menu redirects to localhost.
    2. Website says 24/7 technical support, yet both online chat and skype users are offline.
    3. You keep scrolling down the homepage and you notice they offer other services like website development. Really? Can not even get their own site working
    4. You see a section on the homepage that says company blog with the text "uuh hauhauha uhfuafah ..."
    5. Then on the homepage you see that CyanDark has over 5,000 customers. Really? 5,000 customers with no working web presence?
    6. Address on website says 
      6910 NW 46 Street, GUA11059.
      Miami, Fl. 33166.

      Are you in Miami, Florida or in Guatemala? Two very different things. Mind you, WHOIS record shows domain has been registered since 2012 and address points to Guatemala.

     

    It appears the own company is confused with themselves. How can anyone trust the modules they are offering if they can not get the basic website working. Is somehow their PHP code any better? Worst part is, Blesta is advertising them on their own page as a developer: https://www.blesta.com/development/

     

    -Adam

     

  9. Hi everyone,

     

    If I create an invoice without notes there is no issue. If I try to add public notes to an invoice I get a 403 forbidden error when I click the button to save the modified invoice. I also tried creating a draft invoice with notes and the same issue persists. I have forced https using .htaccess and the webserver is LiteSpeed. My Blesta version is 3.6.1 running on php 5.5. Any clue as to what may be causing this?

    Check your error/access log of your webserver. It will tell you why it is giving a 403. It could very well be mod_security related.

    -Adam

  10. The cron is running in http mode nad not https .

    The cronjob you posted above:

    i want to run cronjob with https . my actual cron is 

    */5 * * * * /usr/bin/php /home/xxxxxxx/public_html/index.php cron

    Does not use http or even https. So I am confused to what you are saying. What is your question / issue?

    Thanks,

    -Adam

  11. So all your clients domains has the same dns .and only you change the A record ?

    Yes, everyone uses the following:

    ns1.dns.domain.tld

    ns2.dns.domain.tld

    ns3.dns.domain.tld

    (could easily be ns1.domain.tld, ns2.domain.tld, etc.)

    And if we migrate domains between servers, our clients do not have to do anything. Typically when you migrate domains within a cluster, the WHM migration tool will automatically update DNS records. But yes, all it does it updates A records.

    If you need help with this setup or have further questions, ask away.

    -Adam

  12. I am confused by this whole post.

     

    i want to run cronjob with https . my actual cron is 

    */5 * * * * /usr/bin/php /home/xxxxxxx/public_html/index.php cron

    What is wrong with the above setup? It does not use http or even https -- looks secure to me.

     

    -Adam

  13. Why don't set one DNS system for all cPanel servers?You can set primary and secondary nameservers on two servers and serve all cpanel servers with them.To run things properly you need 1x DNS server  for every nameserver any way...otherwise there is no point to have 2 or more nameservers on same server

     

    That is what I was going to suggest. Use cPanel's DNS cluster feature. We use this on our setup:

     

    3x DNS Only Servers in different geographic regions with a DNS master unannounced.

     

    All this support about 10 cPanel servers. Does not matter which cPanel server a domain is on, it is one set of DNS nameservers.

     

    -Adam

  14. Howdy All,

     

    We are looking for a developer to integrate our current install of Cerberus helpdesk with Blesta. We reached out to the Blesta Dev team, but after multiple weeks and multiple emails we have gotten no response on price, scope of project, etc -- yes we are surprised too for lack of response. We reaching out the community to see if someone can take on the project before we hand it off to our internal development team.

     

    Here are _some_ basic requirements that we are looking for. This should give you an idea of the scope of the project. We plan on making the source code available to everyone, for free, once this project is finished.
     

     

    Use Cerberus Rest API. Sample library available.

    # Client side integration

    * CRUD Operations:
    Client should be able to open, reply, close tickets as they do with the built in helpdesk offered by Blesta

    * New Feature Not offered with Regular Blesta:
    When opening a ticket, clients should be able to select the product the ticket is related to. On Cerberus, this will be a custom field for that ticket. A mapping will need to be configured to match the custom field from Blesta to Cerberus. Perhaps this is done during department creation (see admin selection below).

    * Multi-Tenancy Support:
    When a contact is added to Blesta with the technical support option, helpdesk should show all tickets for the company. User should be able to open, reply, close tickets as they normally do.

    # Admin interface integration

    * CRUD on installing and removing the plugin

    * Clients to Cerberus Organization Mapping
    Really an implementation detail but each client should map to an organization in Cerberus so that multi-tenancy support can be achieved. Open to other ideas.

     

    * Create "departments" via Blesta and each department will map to one Group / Bucket within Cerberus.
     

     

    thanks,

    /adam

     

  15. hi there,

     

    Is there anyone here who can fix my cron cpanel issues via Skype or teamviewer.

    Happy to pay thanks.

     

    Tom

    skype: webhostau

    While the next comment I make is going to make me sound like an asshole, eh, why not.

    If you are having trouble / issue with setting up cron, perhaps you should not be in offering web hosting or and offering WordPress Websites & Support (as your signature says). I am making this statement, not based off this one single post, but as a whole with all the other posts you have made.

    None the less, READ the documenation here: http://docs.blesta.com/display/user/Installing+Blesta#InstallingBlesta-4.SetupaCronJob and if you have a specific question about cron, ask away. May you provide us more information as to the issue you are having with cron -- provider error logs maybe? Or a detailed description of the problem?

    -Adam

  16. Yes, i have anther site, and  i want to user login this site,then i can know this user's input whether correct.If true return client_id.

    You have two solutions (not in any particular order):

    One solution is you can make two separate calls. First make a call to the function auth from the user model. If the function returns true, then you make another call to get the client id via the function getByUsername. getByUsername will return an object for that user, which would include the client id (among other properties that you might need).

    Second solution is to pass in the correct Session Object to the login function you have above. You might want to include miniPHP's session object and pass that in. You could also create a class that has the same public methods as miniPHP's session class, but do nothing / return null (that might work).

    A complete list of the functions and parameters for users can be found here: http://source-docs.blesta.com/class-Users.html More information on miniPHP's session class can be found here: http://source-docs.blesta.com/class-Session.html

    -Adam

  17. It is very annoying when you see a customers profile and the invoice has NOT been created and its well over due.

    How are you seeing an invoice that is overdue .. when the invoice is not created? You still have not provided us any information as I mentioned in my last post to you about this. Is cron running? What shows up in the Bletsa logs for cron or invoice delivery? What module are you using for your customer?

    Folks I am starting to think the stable aspect of Blesta is not always there.

    Can someone please pm me with what could be the issue here. I am trying to run a business thank you.

     

    *Please excuse my open comments as its really cheesing me off.

    If you need immediate attention, consider opening a support ticket for getting help from Blesta. This is a community forum.

    -Adam

  18. hi guys,

     

    having trouble with auto sending invoices that are due.

     

    10 days before

    5 days

    1 final notice with suspension notification

     

    Any help would be great please.

    Could you be more specific? What trouble are you having? Are you getting any errors in the logs? Is mail configured correctly? Have YOU read the how to guide? http://docs.blesta.com/display/user/Important+Settings#ImportantSettings-PaymentDueNotices You have to be way more specific.

    Please read the following documents on how to ask better questions *and* get better help:

    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

    http://www.catb.org/~esr/faqs/smart-questions.html

    -Adam

×
×
  • Create New...