This topic can no longer be replied to because it has been locked.

Ecommerce not Synchronized
Gravatar
Joined: 2016-11-30
Posts: 4
Hello after install module:

Data uploaded to MailChimp:
Total Subscribers: 5175
Total Customers: 0
Total Products: 0
Total Orders: 0
Total Carts: 0
What wrong? Why products are not synchronized? Only information about subscribers. Please Help

Version: Ebizmarts_MailChimp4Magento-1.1.2
Web Server Logs are clean.
I try did : m4mlog.sh apikey XXXXX [id], where XXX is with my data but have nest message:
m4mlog.sh: command not found
where i can get m4mlog.sh?
Gravatar
Joined: 2012-03-08
Posts: 843
Hi Sergei,

thanks for your contact.
Please read this guides to post your issue

Best
Gravatar
Joined: 2016-11-30
Posts: 4
thanks, update info
P.S. I search solution on forum but not find ...
Gravatar
Joined: 2012-03-08
Posts: 843
Hi Sergei,

please specify your Magento version.
You can download the m4mlog.sh from https://github.com/mailchimp/mc-magento/blob/devgonzalo/m4mlogs.sh and please update https://github.com/mailchimp/mc-magento/blob/devgonzalo/getMailchimpResponse.php

Best
Gravatar
Joined: 2016-11-30
Posts: 4
thanks fo reply
Magento Version 1.9.1.0
try execute sh script

m4mlogs.sh my_api_key PRO
(dont no my id and where look it )
but have this message because no file:
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.
tar: Cowardly refusing to create an empty archive

when i try run it first - i have error "no file *.Request.log on var/log" I create this file.

getMailchimpResponse.php - i try run from web (i passed api key ). From var_dump of curl_exec i have response:
string '{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Resource Not Found","status":404,"detail":"The requested resource could not be found.","instance":""}'

what is BatchId and where i can find it
Gravatar
Joined: 2012-03-08
Posts: 843
Hi Sergei,

if you don't enable the extension log, this method don't work.
The method needs the files var/log/xxxxx.Request.log (xxxxx is the batch id), if your don't have them, no way
For help you, we need understand what happens, and this include take a look at your logs

Best
Gravatar
Joined: 2016-11-30
Posts: 4
what is batchId? where I can find it? All logs enabled and I have only MailChimp_Errors.log with messages like this:
2016-11-30T13:56:51+00:00 DEBUG (7): Invalid Resource for Api Call: lists/9cd0fa9df8/members/... : DOB : Please enter a month (01-12) and a day (01-31)
But i haven't problem with customers.

In Api files from module I see that batch generates:
$batchId = Ebizmarts_MailChimp_Model_Config::IS_CUSTOMER . '_' . date('Y-m-d-H-i-s');

So, I see that batch is dynamic variable based on time.
Gravatar
Joined: 2012-03-08
Posts: 843
The batchid is a unique id that mailchimp assign to a group of operations.
If you don't have files like xxxxxxx.Request.log the possible reasons are
- you don't have the cron configured (or configured incorrectly)
- the user who runs the cron don't have write permission in the var/log directory

Best

NEWSLETTER

Subscribe to our newsletter to receive emails and useful news articles