Results 1 to 10 of 245

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    red flag Re: MultiGeoZone MultiTable Shipping for Zen Cart - version 1.101 PHP split bug

    If anyone can fix it.

    I will make a new fixed zip version and upload there for other using, this is a good modules that I am using many year since 2007 with ZC 1.3.X until now I see this PHP Deprecated log

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,892
    Plugin Contributions
    96

    Default Re: MultiGeoZone MultiTable Shipping for Zen Cart - version 1.101 PHP split bug

    preg_split has a little different way of specifying its associated regex. Instead of
    Code:
    $shipping = $this->determineShipping(preg_split("[:,]" , constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TABLE_' . $j)));
    you'll need to specify a starting and ending character in the regex for the function to work properly:
    Code:
    $shipping = $this->determineShipping(preg_split("/[:,]/" , constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TABLE_' . $j)));

  3. #3
    Join Date
    Jan 2007
    Posts
    375
    Plugin Contributions
    3

    Default Re: MultiGeoZone MultiTable Shipping for Zen Cart - version 1.101 PHP split bug

    Quote Originally Posted by lat9 View Post
    preg_split has a little different way of specifying its associated regex. Instead of
    Code:
    $shipping = $this->determineShipping(preg_split("[:,]" , constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TABLE_' . $j)));
    you'll need to specify a starting and ending character in the regex for the function to work properly:
    Code:
    $shipping = $this->determineShipping(preg_split("/[:,]/" , constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TABLE_' . $j)));
    Dear lat9,

    Thank you, your coding work for me

 

 

Similar Threads

  1. v151 MultiGeoZone MultiTable Shipping version 1.101
    By benxp in forum Addon Shipping Modules
    Replies: 8
    Last Post: 10 Oct 2013, 11:25 PM
  2. Google Checkout and MZMT (MultiGeoZone MultiTable) errors
    By dude_s in forum Addon Payment Modules
    Replies: 3
    Last Post: 23 Dec 2008, 04:23 AM
  3. MultigeoZone Multitable - Weight Shipping Query
    By Andy_GS in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 8 Sep 2008, 09:48 AM
  4. MultiGeoZone MultiTable Shipping for Zen Cart - version 1.101
    By vatovey in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 5 Jul 2006, 02:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg