Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,480
    Plugin Contributions
    121

    Default empty delimiter includes/modules/shipping/zones.php l. 279

    Does this block ( includes/modules/shipping/zones.php l. 279)

    Code:
          if (strstr(MODULE_SHIPPING_ZONES_SKIPPED, $dest_country)) {
            // don't show anything for this country
            $this->quotes = array();
          } else {
            if ($error == true) $this->quotes['error'] = MODULE_SHIPPING_ZONES_INVALID_ZONE;
          }
    need to be wrapped in


    Code:
          if (zen_not_null(MODULE_SHIPPING_ZONES_SKIPPED)) { 
    ...
          }
    I'm seeing:
    [26-Jan-2012 19:41:43] PHP Warning: strstr() [<a href='function.strstr'>function.strstr</a>]: Empty delimiter in /home/MYSITE/public_html/includes/modules/shipping/zones.php on line 279

    PHP is 5.2.17, Zen 1.3.9h.
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

  2. #2
    Join Date
    Jan 2004
    Posts
    58,262
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: empty delimiter includes/modules/shipping/zones.php l. 279

    Need more info on steps to reproduce these symptoms.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Warning: strpos Empty Delimiter
    By OJM in forum Installing on a Windows Server
    Replies: 2
    Last Post: 12 Nov 2007, 09:18 PM
  2. Empty delimiter error
    By TimBaloo in forum General Questions
    Replies: 5
    Last Post: 29 Jan 2007, 12:21 AM
  3. PHP Warning: Empty Delimiter
    By ioancuza in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Dec 2006, 04:47 AM
  4. Empty delimiter problem upon checkout
    By ebb in forum General Questions
    Replies: 0
    Last Post: 15 Jun 2006, 09:41 AM

Bookmarks

Posting Permissions

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