To answer youre first question.
add below code to admin/include/function/general.php before closing tag ?>
function tep_add_base_ref($string) {
$i = 0;
$output = '';
$n=strlen($string);
for ($i=0; $i<$n; $i++) {
$char = substr($string, $i, 1);
$char5 = substr($string, $i, 5);
if ($char5 == 'src="' ) {$output .= 'src="' . HTTP_SERVER; $i = $i+4;}
else {
$output .= $char;
} }
return $output;
}
This is also the sollution for
Fatal error: Call to undefined function tep_add_base_ref() admin\edit_orders_ajax.php on line 1144
Greetz
Twindaddy