Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,711
    Plugin Contributions
    123

    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.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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. v139h PHP Warning: strstr() Empty delimiter HELP
    By Enpeek in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Apr 2012, 09:43 AM
  2. v139h PHP Warning: strstr() Empty delimiter HELP
    By Enpeek in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Apr 2012, 02:21 AM
  3. PHP Warning: Empty delimiter. in Server Error Log
    By skipwater in forum General Questions
    Replies: 6
    Last Post: 30 Nov 2009, 10:18 PM
  4. Warning notice at top of admin: empty delimiter. in .../easypopulate_functions.php
    By hitechcomputerdesign in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Oct 2009, 06:39 PM
  5. PHP Warning: Empty Delimiter
    By ioancuza in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Dec 2006, 04:47 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR