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

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

Link to comment
Share on other sites

You have an old oscommerce version and should upgrade it.

 

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

Link to comment
Share on other sites

  • 7 months later...

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

$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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...