Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Deprecated: Function ereg_replace() is deprecated in /home/webname/public_html/includes/functions/general.php on line 61


simrix1

Recommended Posts

Posted

Please help I am having error while searching product at mine oscommerce store

 

Deprecated: Function ereg_replace() is deprecated in/home/--------/public_html/includes/functions/general.php on line 61

 

 

AND

 

 

Deprecated: Function split() is deprecated in /home/---------/public_html/includes/functions/general.php on line 597

 

Looking forward

Posted

You have an old oscommerce version and should upgrade it.

 

Baring that you can have a look at: http://addons.oscommerce.com/info/7394

Posted

you can update to latest version 2.3.3

 

OR

 

replace ereg_replace() with preg_replace() function. this is becuase latest version of PHP does not support ereg_replace()

  • 7 months later...
Posted

Ok, so I get the whole thing about ereg() being deprecated in PHP 5.4. Now, when I change ereg_replace, I get the following in my modules.php:

 

preg_replace(): No ending delimiter ',' found in /home/imprint/public_html/storefront/shopadmin/modules.php on line 38

 

Running latest version of osCommerce.

 

I'm trying to update my USPS shipping module with First Class International options.

 

Thanks.

Judith

Posted

post line 38 of that file

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Posted

$value = preg_replace ("/, --none--/", "", $value);

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Archived

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

×
×
  • Create New...