We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

Forum

Thread tagged as: Problem

Scheduled tasks fail to import MailChimp data

Hello,

I'm using the MailChimp App 3.1 on Perch Runway 3.0.1 on a live server and it works as expected. I've configured scheduled tasks to backup database and assets to a Dropbox account. Database and assets get backed up, but on Settings > Scheduled tasks I get a failed status for the MailChimp app:

Status: FAILED App: perch_mailchimp Task: import_data Result: Unknown Duration: 0s

I've configured the Cron job to email me every time it runs, and this is the error I get:

Undefined index: SCRIPT_NAME in /home/hvnhellc/public_html/perch/core/lib/Perch.class.php on line 82

Any idea what could be causing this?

Hussein Al Hammad

Hussein Al Hammad 105 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

That warning shouldn't be an issue - it's simply that your server isn't setting the SCRIPT_NAME environment variable. That shouldn't have any impact.

Any reason you're posting before updating to the current version?

Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

My bad; I should have done that first. I have now updated to Runway 3.0.4.

I still get the failed status though. I think it only backs up what had already been manually synced via the MailChimp app.

What do you think I should look into?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Does the import work when you use the app directly?

Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

Yes, it does.

This isn't a huge issue for my client. The subscription form works and subscribers get added to the list on MailChimp. So this isn't urgent.

Thanks, Drew!