NewsletterBuilder v1.00 - CRON errors

By northernpenguin - August 30, 2012

I setup the cron job as follows:

php -q /home/sandbox/public_html/builder/plugins/newsletterBuilder/background-mailer.php

I received the following email:

Notice: Undefined index: SCRIPT_NAME in /home/sandbox/public_html/builder/lib/plugin_functions.php on line 302

Notice: Undefined index: SCRIPT_NAME in /home/sandbox/public_html/builder/lib/plugin_functions.php on line 302

Notice: Undefined index: SCRIPT_NAME in /home/sandbox/public_html/builder/lib/plugin_functions.php on line 302
Background Mailer - Sending Queued Messages
-------------------------------------------------------------------------------
Sending queued 'Background Send' emails, (1 queued, sending max 25 per batch)

Any ideas??

Ragi
--
northernpenguin
Northern Penguin Technologies

"Any sufficiently advanced technology
is indistinguishable from magic."
........Arthur C. Clarke

Re: [northernpenguin] NewsletterBuilder v1.00 - CRON errors

By Dave - August 30, 2012

Hi Ragi,

Try the fix here:
http://www.interactivetools.com/forum/gforum.cgi?post=94804#94804

And here:
http://www.interactivetools.com/forum/gforum.cgi?post=94807#94807

Those PHP warnings don't show up on every version of PHP which is why we didn't see them on our test servers (even know we have maximum error reporting on) but we've applied them so fixes to the code so they won't show up.

We're going to be adding more features to make cronjobs and scheduled processes easier in the coming releases as well.

Thanks for bearing with us. We'll have a minor update out within a couple days to address this and any other reported issues so manual patching won't be required.
Dave Edis - Senior Developer
interactivetools.com