• Resolved Fabricio10

    (@fabriciobarros10)


    the opening and closing time of the store is 4 hours in advance, if I put in UTC the store orders are 4 hours more and the stores are wrong opening and closing, but if I put my time in UTC-4 a woocomerce time is certain, but dokan stores are 4 hours early, I can’t solve this

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter Fabricio10

    (@fabriciobarros10)

    👀

    Hello @fabriciobarros10 ,

    Though it is hard to track it as we do not have a real person in that time zone. I tried to reproduce it on my machine and for me, it worked once that I could track.

    I am interested to check your settings directly on the site. Can you please open a ticket & share the admin credentials along with on which vendor you have the settings? Mention this ticket or my name so that I can track it down.

    Thank you 🙂

    Thread Starter Fabricio10

    (@fabriciobarros10)

    I backed up my website to find the problems.

    I deactivated all plugs separately to try to discover the defect.
    I deleted all plugins and left only dokan and woccomerce
    I changed the theme and deleted the old one
    and it didn’t solve the problem.

    finally, I updated wordpresss + dokan + wocomente and the problem persists.

    after 8 pm the store does not follow the opening and closing schedule scheduled at america_campogrande time. After 00:00 everything works normal until 20:00.

    my wp_seting is in UTC and my wordpress settings are in america_campogrande (= UTC-4)

    my HTaccss

    
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    
    # BEGIN WordPress
    # As diretrizes (linhas) entre "BEGIN WordPress" e "END WordPress" são
    # geradas dinamicamente e só devem ser modificadas através de filtros do WordPress.
    # Quaisquer alterações nas diretivas entre esses marcadores serão sobrescritas.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php74” package as the default “PHP” programming language.
    <IfModule mime_module>
      AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
    
    # BEGIN cPanel-generated php ini directives, do not edit
    # Manual editing of this file may result in unexpected behavior.
    # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
    # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
    <IfModule php7_module>
       php_flag display_errors Off
       php_value max_execution_time 180
       php_value max_input_time 180
       php_value max_input_vars 5000
       php_value memory_limit 256M
       php_value post_max_size 260M
       php_value session.gc_maxlifetime 1440
       php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
       php_value upload_max_filesize 256M
       php_flag zlib.output_compression Off
    </IfModule>
    <IfModule lsapi_module>
       php_flag display_errors Off
       php_value max_execution_time 180
       php_value max_input_time 180
       php_value max_input_vars 5000
       php_value memory_limit 256M
       php_value post_max_size 260M
       php_value session.gc_maxlifetime 1440
       php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
       php_value upload_max_filesize 256M
       php_flag zlib.output_compression Off
    </IfModule>
    # END cPanel-generated php ini directives, do not edit

    my login: admin
    password: dokan123
    site: https://loja.enquantoissoemjardim.com.br/

    Thread Starter Fabricio10

    (@fabriciobarros10)

    ?

    Hello @fabriciobarros10 ,

    I have a solution for you.

    Please replace this code on your dokan-lite/includes/functions.php from line no. 3137 – https://gist.github.com/rashedripon/abade49bd3bfe9fe7a7f60faee046710

    This should fix your time issue in a different time zone.

    If you are unable to add the changes, please contact through our support ticket & share your FTP credentials. Mention me or this thread URL so that I can work on it.

    Thank you 🙂

    Thread Starter Fabricio10

    (@fabriciobarros10)

    @rur165 perfect, it worked well. saved my life, thanks: D

    Hello, thanks to this code I had solved the same problem. But when upgrading to 3.2.0 it stopped working. Could you tell me if I should put another code or somewhere else?
    thank you very much

    Hello @cromapc ,

    I understand the problem.

    The fix I shared was not included with the latest version. I will notify the developers to look at the issue and fix this for the next version.

    As of now, you have to re-add the code to fix the problem.

    Thank you 🙂

Viewing 8 replies - 16 through 23 (of 23 total)

The topic ‘TIME’ is closed to new replies.