I believe this error: 'Deprecated: Function ereg() is deprecated' is caused by a newer version of PHP.
One possible work around is to use preg_match instead of eregi on the lines where the error occurs. This also involves modifying the code slightly which comes after it.
For example, search the text for the line specifying the error, such as:
ereg('<Days>(.*)</Days>', $transresp[$service], $tregs);
and change it so it becomes:
preg_match('/<Days>(.*)<\/Days>/', $transresp[$service], $tregs);
note the additional / (slash)
You may also have to modify split to preg_split:
$table_cost = split("[:,]" , MODULE_SHIPPING_TABLE_COST);
becomes
$table_cost = preg_split("/[:,]/" , MODULE_SHIPPING_TABLE_COST);
I found this information at: http://takien.com/513/how-to-fix-function-eregi-is-deprecated-in-php-5-3-0.php