simrix1 Posted July 4, 2013 Posted July 4, 2013 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
♥toyicebear Posted July 4, 2013 Posted July 4, 2013 You have an old oscommerce version and should upgrade it. Baring that you can have a look at: http://addons.oscommerce.com/info/7394 Basics for osC 2.2 Design - Basics for Design V2.3+ - Seo & Sef Url's - Meta Tags for Your osC Shop - Steps to prevent Fraud... - MS3 and Team News... - SEO, Meta Tags, SEF Urls and osCommerce - Commercial Support Inquiries - OSC 2.3+ How To To see what more i can do for you check out my profile [click here]
mzsabir Posted July 4, 2013 Posted July 4, 2013 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()
Judith.Precision Posted February 12, 2014 Posted February 12, 2014 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
Mort-lemur Posted February 12, 2014 Posted February 12, 2014 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.
Judith.Precision Posted February 12, 2014 Posted February 12, 2014 @@Mort-lemur, Here you go.... Line 38 of modules.php $value = ereg_replace (", --none--", "", $value); Thank you. Judith
Mort-lemur Posted February 12, 2014 Posted February 12, 2014 $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.
Judith.Precision Posted February 17, 2014 Posted February 17, 2014 @@Mort-lemur - Thank you! That fixed the issue nicely. Judith
Recommended Posts
Archived
This topic is now archived and is closed to further replies.