Jump to content

Nelsa

Members
  • Posts

    408
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by Nelsa

  1. I will post steps to add cron job but keep in mind that most providers(webhostingbuzz and site5 have it in TOS if not changed)..don't alow CLI cron jobs under 30 minutes on shared hosting,you can see it and even set it but it won't execute....

     

    Now log in to cpanel and click on cron jobs ,under common settings select "once per five minute" than under command paste your cron command,you can find cron command in blesta settings->system->automation

     

     

    IF YOUR provider don't allow CLI cron jobs at 15 minutes than insted CLI set web cron and it will execute(confirmed for WHB),web cron is like this

    Steps are same in cpanel just insted php command you can see in blesta settings->system->automation put this

    GET https://yoururl.com/blesta_dir/cron/?cron_key=PUT_HERE_CRON_KEY 

     Just change url,blesta_dir and cron key
    Cron key can be found also at blesta settings->system->automation

    Just to be clear unlike CLI cron,  Web cron can be set on different server,hosting account you have with other provider,third party cron provider....etc and it will work same job.

  2. Well in my case it shows 19% as 19.0000%(with dot) but it is same value, and blesta calculate it corectly like 19%...I supose if you want change it you'll have to change value of round funcion or number format funcion(depend which one is used) directly in file because I didn't sow there is option to do it in Blesta.

  3. I just visited your site and make order,but at last step insted redirecting to gateway checkout page it generate this error

    Oh noes!<strong>cart</strong> is not a valid method in controller <strong>checkout</strong> on line 117 in /home/vdspacen/public_html/gazduire-web.xyz/lib/dispatcher.php
    
    Printing Stack Trace:
    #0 /home/vdspacen/public_html/gazduire-web.xyz/index.php(21): Dispatcher::dispatch('/order/checkout...')
    #1 {main}
  4. I supose files in your screenshot are not from cpanel extended v3?You probably put this screen shot just as example?i'm asking  Because in cpanel extended there is no cpanel.php but cpanelextended.php and this file is not one you have to rename ,you need to rename root foldler

    Edit:

    I just sow your video you are renaming file insted module root foldler.

     

    Content shoud look like this when rename module root foldler Cpanel-Extended-master to cpanelextended

     

    cpanelextended/

                       api

                         language

                          views

                           cpanelextended.php

                              readme.md

  5. Images,you can see upgrade button in cpanel extended v2,i tryed even without v2 and I coud install it.I had to rename directory in one or two other modules also.If you look at code you can actualy see paths and directory names if hardcoded.But like I said I didn't upgrade from 3.6.0 yet none of blesta installation(production or dev. variant) so can't try on 3.6.1

     

     

    image.jpg

    cp1.jpg


    image sharing sites

  6. if you rename just dir. you will see two bootstrap template because that name is coming from config.json ,file you can find insade foldler and you can change name there.

     

    example config.json in naja7host Adminlte template

    {	"version": "1.0.0",	"name": "Adminlte",	"description": "AdminLTE Built on Bootstrap 3.1.",	"authors": [		{			"name": "Naja7Host Sarl",			"url": "http://www.naja7host.com"		}	],	"require": {		"blesta": ">=3.2.0"	}
  7. Yes, real comic, except for the fact that it didn't work. I'm still waiting to find out from Site5 they did to make it work.

    Did you try web cron I advice you in previos post,...just to say that it is posible that you do everything right from client side and cron is still not executed.I had few times situation myself in cPanel case(not related to blesta) but in that case only server admin can resolve it.Here is once again solution which will work same job but it will not depend from binary paths,php version,php conf..etc(Luckly Blesta support web cron also)

     

    Insted puting that comand put this Set execution time same as for php cron ,every 5 minutes.

    GET http://yourdomain.com/blesta_dir/cron/?cron_key=your_cron_key

    For example my woud be(offcourse key is random)

    GET https://nelsahost.com/billing/?cron_key=gfkkphrnghkt

    Insted yourdomain.com set your domain and insted blesta_dir put blesta installation foldler and insted your_cron_key put your kron key.

    Cron key can be seen or generated in settings-->sistem-->automation

     

    You can use this all the time or just till find why cron is not executed.You can visit that url in your broswer and if url and key is right you will see every tasks executed.

  8. This slowly became comic

     

    Copy paste from sit5 KB

     

    1) Click the Cron Jobs icon
    cp_cron_1-300x168.png

    2) Enter the email address where you want the cron job results sent after each time it runs
    cp_cron_2-300x168.png

    3) Now you have to define exactly when and how often you want the cron job to run. This is made easier by using one of the pre-defined or common settings
    cp_cron_3-300x168.png

    Notice that by choosing a common setting, all fields are filled in automatically. This also helps you understand what each field means
    cp_cron_4-300x168.png

    4) Let’s choose Once a week
    cp_cron_5-300x168.png

    5) Next, enter the command of the script you want to run, including the path (from root)
    cp_cron_6-300x168.png

     

    Note: Remember to prefix the path with the binary you wish to use to run your script. For example, if you wanted to run a PHP script using the default version of PHP, you would enter the following before your path…

    “/usr/bin/php ”

    If you wanted to use a different version of PHP (e.g. 5.2,), make sure you use the correct binary (“/usr/local/php52/bin/php”) for your needed version. You can find most binary paths 
    .

    Remember to add a space between the binary and the path. In the example below note the space between ‘php’ and ‘/home’.

    “/usr/bin/php /home/username/script.php”

    6) When ready, click Add New Cron Job
    cp_cron_7-300x168.png

    That’s it! The cron job has been set as you can see here. You can create additional cron jobs, and edit or delete existing ones
    cp_cron_8-300x168.png

  9. if you have problem to set command cron than you can set web cron ,it is much easyer to set it and it run every where,this is great alternative if someone has account with provider who don't allow crons executed every 5 minutes so you can set external cron from other provider but it also can be used in case you can't set  command cron.

    Insted puting that comand put this 

    GET http://yourdomain.com/blesta_dir/cron/?cron_key=your cron key

    Insted yourdomain.com set your domain and insted blesta_dir put blesta installation foldler and insted your_cron_key put your kron key.

    Cron key can be seen or generated in settings-->sistem-->automation

    _You can set even external backup cron that run every few hours just in case,,there is much provider who offer even free cron jobs executed 15 minutes or more.

    i'm not sure why you can't set cron properly for Blesta,it isn't rare case but most often it is due wrong path or command is not copy/paste properly(without space after command or two time space..etc)Yoo coud ask S5 support ,they have access to error log and they can help you

  10. There is no such thing as "State/Province" in Hong Kong. When my client choose Hong Kong as "Country" in "Modify Client", the "State/Province" will be blanked out. This is somehow correct.

     

    But the problem is that many domain registrars, including Logicbox require something in "State/Province" field.

    Our usual practice is to type HK or N/A in this field to get around the error.

     

    However, Blesta is not allowing me or my clients to type anything custom in this field.

    I end up stuck in this "Required parameter missing: customer-id" error screen.

     

    My suggestion would be adding something like

    HK

    N/A

     

    or the 3 districts of Hong Kong as the following

     

    Hong Kong Island

    Kowloon

    New Territories

     

     

    P.S. I know my customers can choose China as country and Xianggang as state. But it's exactly like telling UK customers to choose Italy as country and Britannia as state because UK was once belong to Roman Empire in history and UK should turnover to Italy.I understand your problem but

    I understand your problem but your example is not even close to situation with Hong Kong because officialy Hong Kong belongs to PR China today and it is Special Administrative Region of the People's Republic of China so you'll find it listed at same way almost every where and even it is listed among other countrys is compromise .Now I'm not saying this because I want argue about Hong Kong status..to be honest I don't care aboout it...I say it because you'll have to implement some custom solution because what ever entry you use for country codes/states/provincies you'll have same issue because most of them will not even list country if it officialy is not and belongs to other State

  11. Now I can tell you FQDN hostname of your server (server host name which provider set in hosts file)  it is rs48.whbdns.com  and you can use it as hostname also but IP shoud work also and your uitsbd.net domain if it is on that server also.

    Which module do you use?official Blesta module has SSL check box and be sure to check it...

     

    Now in blesta official module you shoud have this configuration;

     

    Server label; what ever you want name it

     

    Hostname; rs48.whbdns.com

     

    Use SSL check this box

     

    User name; root OR if you have reseller account than your reseller username

     

    Remote key; Be sure to copy/paste it without any empty space

     

    In cpanel extended module there are two more fields

     

    1.Passwordl -leave it empty

    2. Port - set 2087 for secure SSL ( SSL checkbox also must be checked) or set 2086 for non secure ( in this case SSL checkbox  is not checked)

     

    This is all you need to do to get it work...

  12.  

    Ok, it's not working under the domain uitsbd.net. I have installed under another domain name uitsbd.com
     
    I can sent emails installed under the domain name uitsbd.com. But, now I can't install module for Reseller hosting cPanel under blesta.
     
    Please remember the Blesta installed under the domain name uitsbd.com But the for Reseller Hosting cPanel the domain name is uitsbd.net. When I tried to install cPanel on Blesta it is showing error. Please see the attached screenshot with error. Let me know what will be the host name. Thanks!

     

    As Licensecart say you can use cPanel server IP for this particular case but you shoud have FQDN set on every server for other purpose...When it comes to host name it can be any hostname you have set,it is only important to resolve on internet aka you have set DNS record for hostname.

    Hostname is simple subdomain you create for some purpose,and for server hostname you can set cpanel1.uitsbd.com or cpanel.uitsbd.com or host.uitsbd.com or what ever you select ....BUT YOU HAVE TO set DNS record for hostname you select.

    To do this go to control panel or domain registrat panel where you maintain DNS for domain and add A record .. example;

     

    cpanel1.uitsbd.com  A   server IP

    or

    host.uitsbd.com    A     server IP

    or

    cpanel1.uitsbd.net A    server IP

    or

    anything you want ...you need to understand that is up to you what you will set as hostname ..it is only important that it resolve on internet i.e you have set DNS record

    Hostnames I give you above are only examples and as I say you need to first set DNS for hostname and than you can use ti....

     

    Now if your uitsbd.net is on cPanel server you want to sell than in field host name put  just this IP 209.188.24.224 or domain uitsbd.net(uitsbd.net resolve to this IP) and make sure you ave right remote key and username

  13. No reason this shouldn't be in core, it's hardly bloat.

    I agree and +1 for this future,hovever till now there is naja7host plugin and also there is option in tools-->logs-->e-mails to resend any e-mmail which is already sent..only problem with this is if you have sent a lot of e-mails it woud be time consuming to find it but I do this few times at this way :).

    once again +1

  14. Hi,

     

    Thanks for your reply. Our SMTP server in not in cPanel. The cPanel is under the domain name uitsbd.net. But the email I want to use sales@uitsbd.com which is configured from another host. I want to use the email address sales@uitsbd.com. The email we are using is Google Mail apps.

     

    I tried using your info, But still says "The email failed to send due to a configuration issue.". Can you suggest me the solution please?

    If your SMTP server is under uitsbd.net than you need to use smtp.uitsbd.net or mail.uitsbd.net or just uitsbd.net ,it depend which host point to smtp server,you are basicly log in with blesta in your smtp server as you are do it with any other mail client,so you need to know first SMPT server ceredentials i.e port,host,user name and password .

    I don't know exactlly how you configure your SMTP server but who set SMTP server must know and you can always see this in SMTP server configuration.

    I just do DNS and MX record lookup and as I can see second DNS authority is WHB, you can use WHB smtp server(if you have account there),they use use 26 port for non secure and 465 for secure SSL/TLS ,just use e-mail address as username and e-mail account password  as  pass and mail.uitsbd.net as host or if you want to use own SMTP server you have or third party under that domain than you will have to add/edit DNS  records because I can't see any MX,SPF or even A records that point to external server....

    EDIT..I just sow you are using google apps.. :)

    Than you have to use google SMTP ceredentials and your user name and pass...offcourse you have to have proper MX records set  but I supose you are do it through control panel google apps extension

     

    Quoted from google help page;

    About MX records

    To set up email with Google Apps, you need to direct your domain's mailflow to your Google Apps account. You do this by pointing your domain's Mail Exchange (or MX records) to Google mail servers

  15. You have to first configure SMTP server ,if your SMTP server is also on cPanel you can find SMTP configuration data under e-mail accounts,than you have tu use that data and put it in Blesta e-mail setings.

    For example most used default SMTP settings are

     

    Host; mail.uitsbd.com

    User name: sales@uitsbd.com

    Password:your e-mail passwrd in cPanel

    Port: Non SSL/TSL 25 ,SSL/TLS 465

     

    Offcourse you have to be sure that ports 25 or 465 are open on server

×
×
  • Create New...