outipapu Posted September 23, 2013 Posted September 23, 2013 Hi! I installed Purchase Without Account in my osCommerce and everything seems to work flawlessly - except that in the email the customer (and store owner) receives after the customer places an order there's a weird EMAIL_WARNING text between the order date and the list of products. I've gone through so many files my head is spinning by now but I can't figure out how to get rid of it. And as far as I can see, the warning as been defined so I have no idea why it says EMAIL_WARNING instead of the real text or why it even appeared there. Can anyone help me? :/ define('EMAIL_WARNING', 'Tämä sähköpostiosoite annettiin verkkokaupallemme asiakkaamme toimesta. Mikäli et kirjautunut asiakkaaksemme, ole hyvä ja lähetä sähköpostia osoitteella ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n"); ?> Quote
MrPhil Posted September 23, 2013 Posted September 23, 2013 Do you see just EMAIL_WARNING stuck in the email, or do you see the entire line you gave above (EMAIL_WARNING plus the Finnish text)? If just EMAIL_WARNING, it sounds like that define isn't getting run by PHP. If the whole thing, is there a <?php just before it? In that case, it looks like that PHP define is stuck outside of a PHP code block (in HTML block), but is missing its PHP start tag and is being interpreted as HTML text. Try adding <?php before the define line. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.