I am working to install this module and am coming up with this error during shipping checkout:
Deprecated: Function ereg_replace() is deprecated in ....admin/modules.php on line 49
referring to the code I inserted from the install.txt:
if (tep_not_null($action)) {
switch ($action) {
case 'save':
while (list($key, $value) = each($HTTP_POST_VARS['configuration'])) {
if (is_array($value) ) {
$value = implode( ", ", $value);
$value = ereg_replace (", --none--", "", $value);
}
tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");
}
tep_redirect(tep_href_link(FILENAME_MODULES, 'set=' . $set . '&module=' . $HTTP_GET_VARS['module']));
break;
case 'install':
I have this error on the admin side:
Deprecated: Assigning the return value of new by reference is deprecated in ...admin/includes/classes/xml_5.php on line 25
Changing it to preg_replace I get a missing deliminator