Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

onsale coupons error

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 10-27-2010, 12:53 PM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default onsale coupons error

I have the onsale mod and I am getting this error when it tries to send a coupon out to a customer who has completed a sale.

[26-Oct-2010 20:25:40] Warning: Smarty error: unable to read resource: "mail/onsale_coupons.tpl" in /home/sites/www.uscandleco.com/web/Smarty-2.6.12/Smarty.class.php on line 1095
[27-Oct-2010 09:10:39] Warning: Smarty error: unable to read resource: "mail/onsale_coupons.tpl" in /home/sites/www.uscandleco.com/web/Smarty-2.6.12/Smarty.class.php on line 1095

here is the code from lines around 1095

/**
* trigger Smarty error
*
* @param string $error_msg
* @param integer $error_type
*/
function trigger_error($error_msg, $error_type = E_USER_WARNING)
{
trigger_error("Smarty error: $error_msg", $error_type);
}


Any ideas? I have the onsale_coupons.tpl file set to 644, does it need to be something else?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
  #2  
Old 10-27-2010, 02:37 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: onsale coupons error

Moving to Third Party Add-Ons - did you open a ticket with AlteredCart?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-28-2010, 05:33 AM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default Re: onsale coupons error

Hi Balinor, I did not open a ticket. I don't have any left and didn't want to buy more if I didn't have to. Figured I check here first.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3
mods:
reCaptcha
running on UNIX

www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2
mods:
reCaptcha
cdseo pro
running on UNIX
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:00 PM.

   

 
X-Cart forums © 2001-2020