mistertrader Posted August 24, 2011 Posted August 24, 2011 I keep getting this error on the top of my template when I go to the shopping cart. Deprecated: Function split() is deprecated in /home/moiz/public_html/osc/includes/functions/general.php on line 1056 here is line 1056: $modules_array = split(';', $modules); thanks
Guest Posted August 25, 2011 Posted August 25, 2011 Safeer, If you are using an osCommerce prior to version 2.3.1 there will be many deprecated functions that will need to be updated. Chris
germ Posted August 25, 2011 Posted August 25, 2011 Try this instead: $modules_array = explode(';', $modules); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
satish Posted August 25, 2011 Posted August 25, 2011 Appears you have a PHP version higher then or equal to 5.3. http://www.oscommerce.com/community/contributions,7394 this will help. Satish Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site. Check My About US For who am I and what My company does.
mistertrader Posted August 25, 2011 Author Posted August 25, 2011 THANKS JIM IT WORKED! :)! thanks to everyone who posted! :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.