Forums / General Questions / A small E-mail mess up.

A small E-mail mess up.

Locked

Views: 3,995

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
13 Mar 2008, 11:07 PM
#1
jurjenruben avatar

jurjenruben

New Zenner

Join Date:
Dec 2007
Posts:
86
Plugin Contributions:
0

A small E-mail mess up.

Hi,

I've changed some things in my e-mail "set-up" a while ago, and I just found out something is not working correctly anmymore.
When I send an e-mail to customers, the e-mails do get send, but instead of continueing in the admin, I get the following error message:

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

Warning: Cannot modify header information - headers already sent by (output started at /home/charrou/domains/charrou.com/public_html/store/includes/functions/functions_email.php:103) in /home/charrou/domains/charrou.com/public_html/store/XXadminXX/includes/functions/general.php on line 21

Anyone have an idea of what I've messed up?
Thanks!

13 Mar 2008, 11:25 PM
#2
countrycupboard avatar

countrycupboard

New Zenner

Join Date:
Mar 2008
Posts:
37
Plugin Contributions:
0

Re: A small E-mail mess up.

I am getting exactly the same error messages, so maybe we messed the same thing up. Looking forward to see the answer. :oops:

14 Mar 2008, 2:44 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: A small E-mail mess up.

countrycupboard:

I am getting exactly the same error messages, so maybe we messed the same thing up. Looking forward to see the answer. :oops:

How "exactly" the same are the messages you're getting?

.
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.

14 Mar 2008, 1:13 PM
#4
countrycupboard avatar

countrycupboard

New Zenner

Join Date:
Mar 2008
Posts:
37
Plugin Contributions:
0

Re: A small E-mail mess up.

I'm getting the following:

Warning: strstr() [function.strstr]: Empty delimiter. in /var/domains/shoppingcart.acountrycupboard.com/docs/zencart/includes/functions/functions_email.php on line 91

Warning: strstr() [function.strstr]: Empty delimiter. in /var/domains/shoppingcart.acountrycupboard.com/docs/zencart/includes/functions/functions_email.php on line 91

Warning: strstr() [function.strstr]: Empty delimiter. in /var/domains/shoppingcart.acountrycupboard.com/docs/zencart/includes/functions/functions_email.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /var/domains/shoppingcart.acountrycupboard.com/docs/zencart/includes/functions/functions_email.php on line 91) in /var/domains/shoppingcart.acountrycupboard.com/docs/zencart/includes/functions/functions_general.php on line 41

Here are the functions_email.php and functions_general.pnp files

{moderator note: attachments removed}

14 Mar 2008, 6:07 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: A small E-mail mess up.

Very interesting ... line 91 is blank in the file you attached.

The functions_general issue is a secondary issue, caused by the first one.

.
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.

14 Mar 2008, 6:17 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: A small E-mail mess up.

Is it possible that your definition for EMAIL_SPAM_DISCLAIMER or EMAIL_DISCLAIMER in your language files is missing or redefined to empty?

.
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.

14 Mar 2008, 7:44 PM
#7
countrycupboard avatar

countrycupboard

New Zenner

Join Date:
Mar 2008
Posts:
37
Plugin Contributions:
0

Re: A small E-mail mess up.

DrByte:

Is it possible that your definition for EMAIL_SPAM_DISCLAIMER or EMAIL_DISCLAIMER in your language files is missing or redefined to empty?
my wife a file edit I didn't know about so I re-executed the checkout. Error is on line 89 in the functions_email.php file.

As far as the email spam pages, I'm not sure exactly where to look. I don't see either one in the /landuages/english/ folder

14 Mar 2008, 7:50 PM
#8
jurjenruben avatar

jurjenruben

New Zenner

Join Date:
Dec 2007
Posts:
86
Plugin Contributions:
0

Re: A small E-mail mess up.

DrByte:

Is it possible that your definition for EMAIL_SPAM_DISCLAIMER or EMAIL_DISCLAIMER in your language files is missing or redefined to empty?

I did change something in my disclaimer... I'll look into it toninght. Thanks!

22 Mar 2008, 3:31 PM
#9
countrycupboard avatar

countrycupboard

New Zenner

Join Date:
Mar 2008
Posts:
37
Plugin Contributions:
0

Re: A small E-mail mess up.

upgraded to 1.3.8 -- problem resolved.

22 Mar 2008, 11:34 PM
#10
jurjenruben avatar

jurjenruben

New Zenner

Join Date:
Dec 2007
Posts:
86
Plugin Contributions:
0

Re: A small E-mail mess up.

mine isn't :)

31 Mar 2008, 2:51 PM
#11
jurjenruben avatar

jurjenruben

New Zenner

Join Date:
Dec 2007
Posts:
86
Plugin Contributions:
0

Re: A small E-mail mess up.

My define EMAIL_SPAM_DISCLAIMER
in admin/includes/languages/english/email_extras.php

was empty... adding a single character ("-") worked.

Thanks for the help.