Soulja Posted October 19, 2012 Posted October 19, 2012 Hello. I saw this online forum and have decided to register to the community and help resolve a question I have. I installed oscommerce 2.3.3. And I am currently setting up shipping methods. I commented my problem by parts I created three areas: Provincial: Where I added only Cádiz Regional: Where I added the other provinces of Andalucia Peninsula: Ahi are the other Spanish provinces After I installed the module "Rates by Zone" And I used the 3 zones previously issued, each with its fee price to weight. The error I get is the following: Deprecated: Function split () is deprecated in public_html / shop / includes / modules / shipping / zones.php on line 113 The code in line 113 is: $ zones_table = split ("[:,]", $ zones_cost); and when trying to purchase in step: checkout_shipping.php choose where your shipment. I give continue and I get the following error message: Deprecated: Function split () is deprecated in public_html / shop / includes / modules / shipping / zones.php on line 113 Warning: Can not modify header information - headers already sent by (output started at public_html / shop / includes / modules / shipping / zones.php: 113) in / public_html / shop / includes / functions / general.php on line 45 And I can not complete the purchase. Any suggestions? Thanks for your time. Quote
multimixer Posted October 19, 2012 Posted October 19, 2012 Are you sure that you use version 2.3.3 ? It doesn't look like this The line $zones_table = split("[:,]" , $zones_cost); was in version 2.2, while 2.3.3 use following $zones_table = preg_split("/[:,]/" , $zones_cost); You can use the updated code, but I would suggest you check the version you use. Do you have maybe a template and have been told it is version 2.3.3? Or did you install some addon and replaced the file? Soulja 1 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Soulja Posted October 19, 2012 Author Posted October 19, 2012 Thank you so much. Change that line of code and no longer gave me that problem. Thank you. My head was smoking Although I have to say that I have finished using the MRV sending module modified my way. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.