View Single Post
  #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