Hi,
It sounds like the method in which the page is being ran. From the browser it's setting both of those vars as they are related to opening a socket. Since the cron and unix command line methods of running that page are on the server itself, those vars aren't set.
As a workaround you should be able to open up your common.php file and add @ in front of those var references to avoid the error. It would be altering a core CMSB file so I would approach this with caution, and the altered file would be overwritten during CMSB upgrading.
The Interactive Tools crew may have a better answer for you.
- Steve