Jump to content

phireuk

Members
  • Posts

    49
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by phireuk

  1. Tried with multple IMAP accounts, still get the same issue. POP doesn't work either. Just end up with a NULL value in end_date and cron fails. Does anyone know a way to make blesta support work? Im using VestaCP which doesn't have an option for piping. So does anyone have a solution to get support emails by any means?
  2. I'm back again Im trying to get ticket email replys through to my support manager. I presume as i'm using the IMAP option, the email piping threads don't apply to me, at least the documentaion suggests this. In my department settings I have added an email and IMAP settings for an email i control; (the root domain, but not my blesta subdomian) for exapmle support@mydomain.com My blesta install is at hosting.mydomain.com I assume as IMAP settings don't not care what the domain is, so long as the settings are correct. Is that right? So assuming my settings are correct... I use zoho for the email in question. Email: support@mydomain.com Username: support@mydomain.com Pasword: *************** SSL (port) 993 Host (IMAP server) imap.zoho.com The settings work on a client. so im sure it not a settings issue. However cron never works, just the same since I started testing my support manager setup. The 5 min cron for download tickets has never ran, all other cron tasks are fine, but this just keeps trying to run and the little animation keeps whirring around. When i look in cron logs there is nothing there about support emails. any ideas? PS I have deleted all the database entries in cron_task ID 19 as per this thread http://www.blesta.com/forums/index.php?/topic/4168-support-department-imap-not-working/?hl=imap%20support But still not working.
  3. 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...
  4. I found this on a different forum https://forum.vestacp.com/viewtopic.php?f=11&t=6760 Im using vestaCP 1) a2enmod remoteip 2) create an config file under /etc/apache2/mods-available named remoteip.conf 3)add the following lines RemoteIPHeader X-Forwarded-For RemoteIPTrustedProxy 127.0.0.1 your.proxy.server.ip 4) link the file under /etc/apache2/mods-enabled 5) service apache2 restart Step 4 im usure what he / she means. I assumed he meant make a symbolic link. so i tried from the directory where I made the conf file... ln -s remoteip.conf /etc/apache2/mods-enabled/remoteip.conf but when restarting apache i got the warning * Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test was: apache2: Syntax error on line 71 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/remoteip.conf: Too many levels of symbolic links Action 'configtest' failed. The Apache error log may have more information. And on line 71 Include mods-enabled/*.conf Im lost, greatful for any help. Edit: I realise it's not a blesta issue now.
  5. Wow that was quick... and as for nginx, yes that would be true sir. It didn't even cross my mind, thanks for pointing it out. So is there a work around you know of? searching google comes up with a few things, but if you have experience maybe you can point me i the right direction? EDIT: I guess i need to set my IP as a trused proxy. But not sure how
  6. All IP addresses for customers, myself and anything shows as my VPS IP address. For example here is a password reset i tested on a public proxy. Someone at the IP address (my.server.ip.address) requested a password reset for your account. Any ideas. I did add the geo.dat file if it make any difference. regardless the IP shows the same in emails and in blease whether it's enabled or disabled. Sorry to spam the board
  7. phireuk

    Automatic Log Out

    You forgot step 1. Remember, it could log you out! Thanks guys. I never use the browser password save option, as I use keepass (i love that software). but i will now with blesta, not logging me out.
  8. phireuk

    Automatic Log Out

    Does anyone know if there is an option to specify a time to stay logged in? Blesta logs me out frequently. My IP address does not change. If i stay active ( clicking links) it keeps me logged in, but if I am on one page for a while it logs me out. Im trying to do a knowledgebase and It keeps logging me out and all my work is lost, when I log in again. Not sure if the log out happens when any particular event happens. It could be when cron runs for exapmle or maybe it's just timed, has anyone got any advice?
  9. True... At least 1 module for a popular free control panel, would really be a good thing for blesta. Im not a vestacp fan boy, I don't mind which distro or cpanel, i need to install, as long as it's secure and free
  10. And they have an API https://vestacp.com/docs/api/#add_user <?php // Server credentials $vst_hostname = 'server.vestacp.com'; $vst_username = 'admin'; $vst_password = 'p4ssw0rd'; $vst_returncode = 'yes'; $vst_command = 'v-add-user'; // New Account $username = 'demo'; $password = 'd3m0p4ssw0rd'; $email = 'demo@gmail.com'; $package = 'default'; $fist_name = 'Rust'; $last_name = 'Cohle'; // Prepare POST query $postvars = array( 'user' => $vst_username, 'password' => $vst_password, 'returncode' => $vst_returncode, 'cmd' => $vst_command, 'arg1' => $username, 'arg2' => $password, 'arg3' => $email, 'arg4' => $package, 'arg5' => $fist_name, 'arg6' => $last_name ); $postdata = http_build_query($postvars); // Send POST query via cURL $postdata = http_build_query($postvars); $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, 'https://' . $vst_hostname . ':8083/api/'); curl_setopt($curl, CURLOPT_RETURNTRANSFER,true); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, $postdata); $answer = curl_exec($curl); // Check result if($answer == 0) { echo "User account has been successfuly created\n"; } else { echo "Query returned error code: " .$answer. "\n"; } ?>
  11. True but... Lowendbox put vestaCP as the best free cpanel out there they have tested so far. http://lowendbox.com/blog/editorial-review-of-free-web-hosting-panels/ True it was built by Russians, but hey, no ones' perfect!
  12. Did anyone complete a vestacp module? Would be nice to have a ready made one, if one is floating around, Edit: imho almost 7000 page views = prioity feature. The highest number of views, over twice the number of the second most popular thread in feature requests. What do people think?
  13. Hello everyone. This login integration builds on the work done by licenesecart. See the guide below. https://licensecart.com/billing/plugin/support_manager/knowledgebase/view/31/external-login-form/1/ In my case, pure CSS was not enough to use the custom site integrated login. The problem appears to be that the data-toggle="modal" attribute will not work on my site due to the way it's already used in other modals. The reason is not clear, (if anyone can shed light that would be great). I simply could not submit a form from a modal window. So my work around is to use javascript, to submit the form. I will start working on a spam catcher for the form later but for now here is my. ( data-toggle="modal") work around. Starting from the top of the page. Before you start, in order for it to work you need to do the following...Be extreamly care full here, as editing this page has risks if you make a mistake. From licesecart's guide. Next, on your site, somewhere you need to call the modal. I used a stacked font awesome icon. Font Awesome (modal link) <a href="#openModal" title="Customer Sign-in"> <span class="fa-stack fa-lg"> <i class="fa fa-circle fa-stack-2x"></i> <i class="fa fa-sign-in fa-stack-1x fa-inverse"></i> </span> </a> Non-fontawesome, basic (modal link) <a href="#openModal" title="Customer Sign-in">Sign-in</a> Here is the main modal and the login form. (I used a combination of the bootstrap core, the blesta bootstrap and this guide from JSFiddle. http://jsfiddle.net/kumarmuthaliar/GG9Sa/1/ ) Remember to use https:// if you have a certificate. <!--Start of Blesta Login Modal--> <div id="openModal" class="modalDialog"> <div> <a href="#close" title="Close" class="close"><i class="fa fa-times"></i></a> <form id="blestalogin" action="http://yourwebsite.comy/client/login/" method="POST"> <fieldset> <div class="form-group"> <label for="login_username">Username</label> <input type="text" name="username" value="" id="login_username" class="form-control" placeholder="Username" /> </div> <div class="form-group"> <label for="login_password">Password</label> <input type="password" name="password" id="login_password" class="form-control" placeholder="Password" /> </div> </br> <button type="submit" class="btn btn-success btn-block" name="login" value="Login" id="linktoblesta" hidefocus="true"><i class="fa fa-sign-in fa-lg"></i> sign in</button> </fieldset> </br> <a href="http://yourwebsite.comy/client/login/reset/">Reset My Password</a> </form> </div> </div> <!--End of Blesta Login Modal--> The form is submitted with javascript at the bottom of your page is best, after the <body> tag. <!--Blesta Login javascript--> <script> window.onload = function() { document.getElementById('linktoblesta').onclick = function() { document.getElementById('blestalogin').submit(); return false; }; }; </script> <!--End of Blesta Login script--> Finally, the style sheet uses the JSfiddle exampe, (i removed the white to black gradient) but the rest is standard. Add this to your css file. I used goolgle fonts, so remember to edit this to your needs. and also declare google fonts link in your html header (99% will already have done this) .modalDialog { position: fixed; font-family: 'Roboto Slab', serif; font-weight: 450; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.8); z-index: 99999; opacity:0; -webkit-transition: opacity 400ms ease-in; -moz-transition: opacity 400ms ease-in; transition: opacity 400ms ease-in; pointer-events: none; } .modalDialog:target { opacity:1; pointer-events: auto; } .modalDialog > div { width: 300px; position: relative; margin: 5% auto; padding: 5px 20px 13px 20px; border-radius: 10px; background: #fff; } .close { background: #606061; color: #FFFFFF; line-height: 25px; position: absolute; right: -12px; text-align: center; top: -10px; width: 24px; text-decoration: none; font-weight: bold; -webkit-border-radius: 12px; -moz-border-radius: 12px; border-radius: 12px; -moz-box-shadow: 1px 1px 3px #000; -webkit-box-shadow: 1px 1px 3px #000; box-shadow: 1px 1px 3px #000; } .close:hover { background: #00d9ff; } The finished form will look something like this. Spam will be filtered by blesta. However there is no harm (as far as i can see) in adding an extra layer. Basically i usually add an extra form field with a null or placeholder value in the form. This field is hidden from humans with css, but spam bots tend to fill it out by default. A PHP page then rejects logins where the hidden form has been filled out. Simple and 90% effective in my experience.
  14. Hi forum I would like to buy an owned unbranded licence. (i like licensecart's prices, but im on a tight budget) If you have one to sell, It must be verified by a mod. I will pay with Bitcoin. and you will need to publically post your payment address on this thread so that my payment is also varifiable publically. Please make me an offer Thanks Jon Edit. I can at a push also pay by paypal, but not a paypal gift, transfer. it would need to be a paypal invoice so im covered.
  15. You can't win You can please some of the people all of the time or all of the the people some of the time... Yes thanks. I already notice the cron. simple to adjust though. all running well now. thank for your help.
  16. Well yes, Exactly. so therefore not possible to change (the root domain URL) from settings if you didn't install in directly in root (public_html), but in a sub folder. I think the installer should point this out, especially as it's packaged in a folder called Blesta inside a zip called blesta. #justsayin
  17. But if you installed it by directly unziping the 3.x.x blesta zip file (packaged in the blesta dir), and running the installer, then the correct root does not show in settings>system>general, not sure if that's unique to vestaCP installs (don't see how it could be). It shows /home/admin/web/hosting.xxxxxxx.uk/public_html/ not /home/admin/web/hosting.xxxxxxx.uk/public_html/blesta anyway moved it manually now and all's good. Can't wait to make a Vesta, Blesta sandwich...Thats Vesta running Blesta controlling another vesta.
  18. Thats what i presumed but didn't want to break anything, when searching the only reference I could find was the root_web_dir thread which made me think twice. Thanks for your help & the quick reply. Loving Blesta so far compared to WHMCS
  19. Hi I installed Blesta yesterday on a vestaCP VPS. All working fine. The reason I chose vestaCP was because it has LAMP + fail2ban out of the box with no config needed. So since installing, people land on my site http://hosting.xxxxxxxx.uk/blesta I read how you can change the root director in the database in the table [settings] > [root_web_dir] my URL here currently reads /home/admin/web/hosting.xxxxxxxx.uk/public_html/ So my question is, does anyone know the way I can make the home page become. http://hosting.xxxxxxxx.uk/ and not http://hosting.xxxxxxxx.uk/blesta/ Thanks for looking =) After I have done this (then my next task will be force HTTPS + SSL cert.)
  20. phireuk

    File Permissions.

    Thanks again but just to be 100%... if i have had that message for 2 years (on 3rd year since i got the licence). can i readd a support package and upgrade to Blesta 5.xx or 6.xx etc.? cheers Jon
  21. phireuk

    File Permissions.

    thanks for clearing that up...i appriciate your help, which leads my final question. If i buy the owned 1 year licence (from a well known reseller ) and lets say the 1 year updates and support expired 2 years ago and i negleted the install / licence. Can i add the support / updates package addon and update to catchup to present... or does the update package need to run consecutively? Sorry for all the questions.
  22. phireuk

    File Permissions.

    Thanks for that, got a pass on all settings now and about to start the install. Just one more question (edit 2 more)...for now If i get the trial licence, is it stright forward to move to an owned licence at the end of the trial? And after the years support is gone, is the licence still valid on newer versions of blesta that are released later?
  23. phireuk

    File Permissions.

    Hello Blesta forum =) Sorry for the noob question... but I read the setup guide and can't find the answer. While installing I get the message I can't install until the server can write to a config file and a config folder /home/admin/web/hosting.phire.uk/public_html/blesta/config blesta-new.php I am not sure what is the best file permission to use. I can set them to 777 but is that insecure? It would be nice if the web installer stated clearly which permission to use (please set the file permissions to this folder and config file to XXX) chmod -R 577 /home/admin/web/hosting.phire.uk/public_html/blesta/config chmod -R 577 blesta-new.php Is 577 the correct number? Sorry for the stupid question.
×
×
  • Create New...