Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function tep_cfg_usps_services() in /home/pfiacom/public_html/admin/modules.php(232) : eval()'d code on line 1 Modules


harleyhawk22

Recommended Posts

You might have a wrong value for set_function in your database values for the usps configuration. These are the standard values upon installation:

INSERT INTO `configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`) VALUES
(259, 'Enable USPS Shipping', 'MODULE_SHIPPING_USPS_STATUS', 'True', 'Do you want to offer USPS shipping?', 6, 0, NULL, '2013-02-02 14:29:37', NULL, 'tep_cfg_select_option(array(''True'', ''False''), '),
(260, 'Enter the USPS User ID', 'MODULE_SHIPPING_USPS_USERID', 'NONE', 'Enter the USPS USERID assigned to you.', 6, 0, NULL, '2013-02-02 14:29:37', NULL, NULL),
(261, 'Enter the USPS Password', 'MODULE_SHIPPING_USPS_PASSWORD', 'NONE', 'See USERID, above.', 6, 0, NULL, '2013-02-02 14:29:37', NULL, NULL),
(262, 'Handling Fee', 'MODULE_SHIPPING_USPS_HANDLING', '0', 'Handling fee for this shipping method.', 6, 0, NULL, '2013-02-02 14:29:37', NULL, NULL),
(263, 'Tax Class', 'MODULE_SHIPPING_USPS_TAX_CLASS', '0', 'Use the following tax class on the shipping fee.', 6, 0, NULL, '2013-02-02 14:29:37', 'tep_get_tax_class_title', 'tep_cfg_pull_down_tax_classes('),
(264, 'Shipping Zone', 'MODULE_SHIPPING_USPS_ZONE', '0', 'If a zone is selected, only enable this shipping method for that zone.', 6, 0, NULL, '2013-02-02 14:29:37', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes('),
(265, 'Sort Order', 'MODULE_SHIPPING_USPS_SORT_ORDER', '0', 'Sort order of display.', 6, 0, NULL, '2013-02-02 14:29:37', NULL, NULL);

 

You might want to compare and edit the two last columns...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...