Thread: Empty delimiter

Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Empty delimiter

    Hi, I have this mydebug message in the cache
    HTML Code:
    [09-May-2012 19:43:06 UTC] PHP Warning:  strstr() [<a  href='function.strstr'>function.strstr</a>]: Empty delimiter in   /.............public_html/website.com/includes/functions/functions_email.php  on line 110
    I've looked at similar posts for other line #s.
    Have put back in original for admin/includes/languages/english/email_extras.php and /includes/functions/functions_email.php file
    but still comes up with php warning in cache.

    Any ideas?
    (I dont know php)

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

    Default Re: Empty delimiter

    I suspect you've changed the content of your language files and set the EMAIL_SPAM_DISCLAIMER or EMAIL_DISCLAIMER text to blank.
    .

    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.

  3. #3
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Empty delimiter

    Are those files somewhere else to the ones that I replaced with originals in my post?
    (hope so)
    admin/includes/languages/english/email_extras.php
    and
    /includes/functions/functions_email.php file

    eg. both of those files are originals from zen download and not modified anymore.

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

    Default Re: Empty delimiter

    Yes.
    /includes/languages/english/YOUR_TEMPLATE_NAME/email_extras.php

    I might suggest you look into using the built-in Developers Toolkit to find these things in your files, or the search function on your PC if it can look through multiple PHP files for specified contents. A search for EMAIL_DISCLAIMER or even better: define('EMAIL_DISCLAIMER' shows where it's used.
    http://www.zen-cart.com/content.php?...-files-to-edit
    http://www.zen-cart.com/content.php?...lopers-toolkit
    .

    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.

  5. #5
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Empty delimiter

    Thanks Drbyte,
    I had used the developers toolkit to find those 2 files I mentioned, but hadnt realised theres the same file type in both admin/includes and includes.
    What I had read lead me to think it was admin/ so didn't click there was another similarly named one to edit.
    My oversight. Haven't confirmed yet that problem is gone, but pretty sure it should be sorted, thank you!

 

 

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR