Jump to content

Adam

Members
  • Posts

    131
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by Adam

  1. 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. 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. Adam

    New Install Display Error

    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. 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. Thanks Paul. I went ahead and submitted it: https://requests.blesta.com/topic/custom-fields-on-contacts -Adam
  8. Hello, I was under the impression that when we create a custom field for a client under a company within Blesta, it would also be applied to contacts. Is this not the case? Bug? Feature? Any ETA on this? Thanks, -Adam
  9. Adam

    ACLs on Contact Types

    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
  10. Same here. very confused: You visit the homepage of http://cyandark.com/ and every link in the navagation menu redirects to localhost. Website says 24/7 technical support, yet both online chat and skype users are offline. 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 You see a section on the homepage that says company blog with the text "uuh hauhauha uhfuafah ..." Then on the homepage you see that CyanDark has over 5,000 customers. Really? 5,000 customers with no working web presence? 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
  11. 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
  12. The cronjob you posted above: Does not use http or even https. So I am confused to what you are saying. What is your question / issue? Thanks, -Adam
  13. 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
  14. I am confused by this whole post. What is wrong with the above setup? It does not use http or even https -- looks secure to me. -Adam
  15. 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
  16. You have to follow the information from cPanel: https://confluence2.cpanel.net/x/j5Ql You may also do a google search. -Adam
  17. How is hover going to work on a mobile environment? -Adam
  18. 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
  19. What was the issue? Did the user not setup cron on the server? -Adam
  20. 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? I suggest you open a support ticket with Blesta and get this resolved. -Adam
  21. 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
  22. 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
  23. 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? If you need immediate attention, consider opening a support ticket for getting help from Blesta. This is a community forum. -Adam
  24. Is the following not useful? http://www.blesta.com/resources/ -Adam
  25. Adam

    Invoice Due Setup

    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...