• Resolved ngrudev

    (@ngrudev)


    Hello,

    I configured the plugin and one of my products. My IP is also added in eMag white list. Then I created the 3 cron jobs in cpanel, but the product is still not sent to eMag Marketplace.

    The cron jobs are as follow and run every 10 minutes:

    cd /home/lugabglj/public_html/bg_wp/ && /usr/local/bin/php -c /home/lugabglj/php-cli.ini /home/lugabglj/public_html/bg_wp/wp-content/plugins/emag-marketplace-connector/includes/crons/process-products.php /dev/null 2>&1

    cd /home/lugabglj/public_html/bg_wp/ && /usr/local/bin/php -c /home/lugabglj/php-cli.ini /home/lugabglj/public_html/bg_wp/wp-content/plugins/emag-marketplace-connector/includes/crons/import-emkp-orders.php > /dev/null 2>&1

    cd /home/lugabglj/public_html/bg_wp/ && /usr/local/bin/php -c /home/lugabglj/php-cli.ini /home/lugabglj/public_html/bg_wp/wp-content/plugins/emag-marketplace-connector/includes/crons/delete-old-invoices.php > /dev/null 2>&1

    ANd also can you please explan the meaning of these settings:

    Product Queue Limit:
    Min Sale Price (percentage)
    Max Sale Price (percentage)

    • This topic was modified 7 years, 1 month ago by ngrudev.
    • This topic was modified 7 years, 1 month ago by ngrudev.
    • This topic was modified 7 years, 1 month ago by ngrudev.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Zitec

    (@zitec)

    Hello,

    The cron paths are incorrect. Please check the documentation for the correct ones. You can find them at section 5. Crons.
    Also, in documentation you can find explanations for those settings.

    Romanian Documentation
    English Documentation

    Have a good day!

    Thread Starter ngrudev

    (@ngrudev)

    I am little bit consufed, because in the section 5 there are two different cron comands:

    The one shown in the print screen picture is different than the cron comands written below it.

    In the print screen pricture the cron command is: php /home/username/public_html/wp-content/plugins/emkp/crons/import-emkp-orders.php cron:run > /dev/null

    Bellow that is written something totally different:
    The commands for the CRON jobs are:
    ● php /home/username/public_html/index.php process-products
    ● php /home/username/public_html/index.php import-emkp-orders
    ● php /home/username/public_html/index.php delete-old-invoices

    So what is the correct one?

    I tried to enter these cron commands:
    php /home/lugabglj/public_html/bg_wp/index.php process-products
    php /home/lugabglj/public_html/bg_wp/index.php import-emkp-orders
    php /home/lugabglj/public_html/bg_wp/index.php delete-old-invoices

    But I am receiving error message that the cron job is incorrect. The error messasge is as follows:

    Status: 302 Moved Temporarily
    Location: https://www.luga.bg/wp-signup.php?new=;
    Content-type: text/html; charset=UTF-8

    • This reply was modified 7 years, 1 month ago by ngrudev.
    Plugin Author Zitec

    (@zitec)

    The following are correct:
    ● php /home/username/public_html/index.php process-products
    ● php /home/username/public_html/index.php import-emkp-orders
    ● php /home/username/public_html/index.php delete-old-invoices

    How have you ran those commands and got that error? They should be run exclusively from CLI, not from browser.

    Also, what version of the plugin do you have installed?

    Thread Starter ngrudev

    (@ngrudev)

    I replace the username with lugabglj, because taht is my usernanem.
    Because my WordPress is installed in subdirectory /bg_wp/, I have added it after /public_html/

    So, the right path for me is /home/lugabglj/public_html/bg_wp/index.php

    Is that correct?

    I am using the last version of the plugi (1.0.3)
    The cron commands are created via CPANEL dashboard, section Cron Jobs

    Plugin Author Zitec

    (@zitec)

    The path seems correct.
    Please send us a screenshot with your crons configuration from cPanel at [email protected].

    Thank you!

    Thread Starter ngrudev

    (@ngrudev)

    I just sent you the screenshot at [email protected]

    If you want I can grant you temporary admin acces to my dashboard to see the configuration of the plugin and the woocommerce product.

    i have the same problem, all are configured right, crons working, but i receive this info on email

    Status: 301 Moved Permanently
    X-Powered-By: PHP/5.6.33
    Content-Type: text/html; charset=UTF-8
    Location: https:///

    ngrudev – ai rezolvat problema?

    Thread Starter ngrudev

    (@ngrudev)

    still not yet.. ??

    mirceadragomir

    (@mirceadragomir)

    ngrudev, they change cron jobs, check documentation. Cron jobs working to me now, just give me error to syncronise atributtes with emag attribute.

    Thread Starter ngrudev

    (@ngrudev)

    Yes, I changed the cron commands with the new ones, but i get “Permission denied” emails

    Plugin Author Zitec

    (@zitec)

    Hello and thank you for your interest in this plugin.
    We can offer you a free evaluation to find out what are the conflicts or incompatibilities on your website and a paid support plan based on these findings. If you are interested please send us a request at [email protected]

    Best regards,
    Zitec Team

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Product not sent to eMag Marketplace’ is closed to new replies.