Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Error encountered when updating order status

    Hi,

    I'm experiencing the following error when trying to update an order's status from within the admin area:


    Warning: strstr() [function.strstr]: Empty delimiter. in /home/tradersu/public_html/includes/functions/functions_email.php on line 102

    Warning: strstr() [function.strstr]: Empty delimiter. in /home/tradersu/public_html/includes/functions/functions_email.php on line 103

    Warning: Cannot modify header information - headers already sent by (output started at /home/tradersu/public_html/includes/functions/functions_email.php:102) in /home/tradersu/public_html/tsstoreadmin/includes/functions/general.php on line 21
    I THINK (not 100% certain) this may be a result of editing a couple of files to change the text within order confirmation emails. I edited a few lines in includes/languages/english/email_extras.php and possibly includes/languages/template/english.php
    I've restored the files to their previous versions as far as I'm aware but we're still experiencing the same error.

    Does anyone with a bit of technical knowledge of the internal workings of zc think that maybe dropping a ; or ' somewhere in the code of the aforementioned files may have caused the above error. Or is it likely this has been caused by something completely different? Sorry, I'm a bit clueless when it comes to interpreting errors like this!

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Error encountered when updating order status

    What version of Zen Cart?
    What addons do you have installed?

    Please click the "Reply" button below, and answer all the questions shown there.
    .
    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
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Error encountered when updating order status

    Hi DrByte,

    It's zc v1.8.3a

    We've got the following installed...

    Stock by Attributes
    Dynamic Drop Downs for SbA
    Zen Lightbox
    Printable Pricelist
    Ceon Protx plugin
    Ceon Advanced Shipper
    Ceon Zones Add-on
    MySQL Backup
    Ceon URI Mapping

    I'm not certain when exactly the error began occurring. It MAY have been after installing Ceon URI Mapping (although not necessarily related) ...plus I didn't think the URI plugin affected the admin side of zc.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Error encountered when updating order status

    It's a result of the edits you made to email_extras by deleting the disclaimer text.
    http://www.zen-cart.com/forum/showthread.php?t=114325
    It's a known bug, fixed in v1.3.9 and newer:
    http://www.zen-cart.com/forum/showthread.php?t=97858
    .
    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
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Error encountered when updating order status

    Thanks so much for that.

    I had exactly the same problem as kanine. Whilst I'd fixed email_extras.php I was still getting the error as I'd not fixed the email_extras.php within the admin directory. Bingo! All working now.
    This error's been driving our dispatch gal mad for the last couple of weeks... she's going to be over the moon!

    Thanks!

    EDIT... one query, 1.3.9!? is this version available yet?

 

 

Similar Threads

  1. v154 Error when changing order status
    By delia in forum General Questions
    Replies: 4
    Last Post: 14 Jan 2016, 07:00 PM
  2. v150 Send PDF invoice when updating order status in admin area
    By inky100 in forum Customization from the Admin
    Replies: 3
    Last Post: 18 Dec 2013, 11:11 PM
  3. v150 Error message when wanting to change the order status
    By kath7_hoffi in forum Managing Customers and Orders
    Replies: 2
    Last Post: 22 Jan 2013, 11:09 PM
  4. 500 Internal Server Error when updating Order Status to "Update [4]"
    By rlexyd in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 28 Apr 2010, 07:09 AM
  5. MySQL error when updating order status
    By spretswell in forum General Questions
    Replies: 7
    Last Post: 10 Sep 2006, 10:59 AM

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