Question: I Cannot Run Cron Job Now

I Cannot Run Cron Job Now

Hello support, I have got error after I upgrade to the new version. when I run cron job from Setting, I got error. please see my attached screenshot. Thank you

PV

Prom Vongchann

Asked
Hello support,

I have got error after I upgrade to the new version.
when I run cron job from Setting, I got error.

please see my attached screenshot.

Thank you
  • EG

    Enyinnaya Gift

    Answered
    Can we see your error log?
  • PV

    Prom Vongchann

    Answered
    **[Enyinnaya Gift](/u/giftedhands4real)** here is my log file https://we.tl/t-YpwjXSVb7N
  • MS

    Mian Saleem

    Answered
    Hello,

    This all are due to db disturbances. Fix database by running the queries from ALL.3.4.38.sql

    Thank you
  • PV

    Prom Vongchann

    Answered
    **[Mian Saleem](/u/saleem)** how can I do that? what you mean is import that version of databse in to my current database? because now I use 3.4.41 and I already imported all the below versions to my database already.
  • EG

    Enyinnaya Gift

    Answered
    **[Prom Vongchann](/u/prom.vongchann)** Run the query below, if you haven't done that.


    ALTER TABLE `sma_settings` ADD `ws_barcode_type` varchar(10) NULL DEFAULT 'weight',
    ADD `ws_barcode_chars` tinyint NULL,
    ADD `flag_chars` tinyint NULL,
    ADD `item_code_start` tinyint NULL,
    ADD `item_code_chars` tinyint NULL,
    ADD `price_start` tinyint NULL,
    ADD `price_chars` tinyint NULL,
    ADD `price_divide_by` int NULL,
    ADD `weight_start` tinyint NULL,
    ADD `weight_chars` tinyint NULL,
    ADD `weight_divide_by` int NULL;
  • PV

    Prom Vongchann

    Answered
    I run the sql I check the logs I see like this : https://we.tl/t-P2G1qfqq2L

    does that means we still have to fix anything?
  • MS

    Mian Saleem

    Answered
    SMTP connection error, please make sure that the mail settings in system settings are correct. Thank you
  • PV

    Prom Vongchann

    Answered
    **[Mian Saleem](/u/saleem)** I have not configure the SMTP I will check it with my hosting provider and I will get back to you again.
  • Login to Reply