Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upgrading 2.3.3 to 2.3.3.1 >> Fatal error: tep_parse_input_field_data()


DamienH

Recommended Posts

hi there, Im upgrading from 2.3.3 to 2.3.4 - and Im stuck on the first part of the upgrade, from 2.3.3 to 2.3.3.1
 
Firstly, I tried adding the new files directly from the zipped upgrade files provided by osCommerce: http://www.oscommerce.com/Products
 
This messed up the template in multiple ways (slider appearing on all pages instead of just homepage, top level categories wouldnt pull in products in its sub-categories, etc, etc)
 
So instead I tried to do it by hand, switchinb the code via the official release instructions: http://library.oscommerce.com/Online&en&oscom_2_3&release_notes
 
After amending the files as instructed, im getting the following error:
Fatal error: Call to undefined function tep_parse_input_field_data() in /home/content/62/12400362/html/includes/functions/general.php on line 61

  function tep_output_string($string, $translate = false, $protected = false) {
    if ($protected == true) {
      return htmlspecialchars($string);
    } else {
      if ($translate == false) {
        return tep_parse_input_field_data($string, array('"' => '"'));
      } else {
        return tep_parse_input_field_data($string, $translate);
      }
    }
  }

  function tep_output_string_protected($string) {
    return tep_output_string($string, false, true);
  }

  function tep_sanitize_string($string) {
    $patterns = array ('/ +/','/[<>]/');
    $replace = array (' ', '_');
    return preg_replace($patterns, $replace, trim($string));
  }

Im totally stuck, so any advice would be greatly appreciated.

 

Ive literally spent days trying to upgrade, admittedly Im more used to working Wordpress, Drupal and Joomla, and have to say compared to those, osCommerce is ridiculously designed/formatted regarding upgrades. Its the only CMS that I have come across that is almost impossible to upgrade.

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...