More follow-up ...
I'm no programmer, but the error message seems to indicate a function syntax mismatch.
Should the call to function get_country_name really be zen_get_country_name ??
admin section > Configuration > Shipping/Packaging
Warning: call_user_func(get_country_name) [function.call-user-func]: First argument is expected to be a valid callback in /home/c0pcar/public_html/store/admin/includes/functions/general.php on line 1544
Code:
337 function zen_get_country_name($country_id) {
338 global $db;
339 $country = $db->Execute("select countries_name
340 from " . TABLE_COUNTRIES . "
341 where countries_id = '" . (int)$country_id . "'");
342
343 if ($country->RecordCount() < 1) {
344 return $country_id;
345 } else {
346 return $country->fields['countries_name'];
347 }
348 }
Code:
General.php
1542 function zen_call_function($function, $parameter, $object = '') {
1543 if ($object == '') {
1544 return call_user_func($function, $parameter);
1545 } elseif (PHP_VERSION < 4) {
1546 return call_user_method($function, $object, $parameter);
1547 } else {
1548 return call_user_func(array($object, $function), $parameter);
1549 }
1560 }
Same question here.
cfg_select_option -vs- zen_cfg_select_option
admin section > Configuration > Product Listing > Display Multiple Products Qty Box Status and Set Button Location
Fatal error: Call to undefined function cfg_select_option() in /home/c0pcar/public_html/store/admin/configuration.php(192) : eval()'d code on line 1
Code:
General.php
Line #1011 : function zen_cfg_select_option($select_array, $key_value, $key = '') {
Bookmarks