Getting an error with Smarty.class.php

I keep getting this error on Smarty.class.php



It says Warning: Smarty error: unable to read resource: “addons/promotions/bottom.tpl” in ****************/store/classes/templater/Smarty.class.php on line 1095



Any idea what I need to do to get this to go away? I am pretty sure all permissions were set right.



Also how do I get my store out of demo mode? I accidently set it to install demo items and I need to get rid of that as well.

check this thread out…it looks like permissions of some sort



s-combs did a great job on permissions based on server environment



[URL=“http://forum.cs-cart.com/showthread.php?t=4549”]http://forum.cs-cart.com/showthread.php?t=4549[/URL]

From the store side (not admin). I am getting a smarty error when I click on the “purchase a certificate” link. The error is noted below.



[COLOR=“Red”]Warning: Smarty error: unable to read resource: “addons/gift_certificates/gift_certificates_update.tpl” in /XXXX/XXXXXX/X/X/X/website/html/supplystore/classes/templater/Smarty.class.php on line 1095[/COLOR]



I have checked all permissions as per S-Combs detailed information on permission settings.



The error has a part in it that states “/gift_certificates_update.tpl”. This file is located in the skins/basic/admin/addons/gift_certificates/. I don’t see a gift_certificates_update.tpl anywhere else.



HELP!!!



Thanks

MaryMae

The “gift_certificates_update.tpl” file (this file is different from the one located in the “admin” subdirectory) should be also located in the “skins/[CUSTOMER_ACTIVE_SKIN]/customer/addons/gift_certificates” directory of your CS-Cart.



Please check it.

There is not a gift_certificates_update.tpl in skins/basic/customer/addons/gift_certificates directory. Shouldn’t it have been installed when the rest of the files? Where do I grab the file from since I need it?



Thanks orangegirl,



MaryMae

Yes, it should have been installed when you installed CS-Cart. Please check the “var/skins_repository/base/customer/addons/gift_certificates” directory. If there is the mentioned file there copy it to the appropriate directory.



If there no such a file there please check your File Area page of the Customer Help Desk, I have uploaded this file there for you.

I didn’t have any files in the directories or sub directories under the basic skin in skin repository. However, I did have the file in New Vision, so I took it from there and copied it over. I guess that’s okay!? The error I received before is now gone. Thank you bunches for your help orangegirl. Much appreciated.



MaryMae

Yes, you are able to use the file from any other directory. I am glad to hear that your problem has been solved.

Hi



I have same error “Product added to your cartWarning: Smarty error: unable to read resource: “views/products/components/product_notification.tpl” in /home/micefs/public_html/lib/templater/Smarty.class.php on line 1095”



somebody help me ?

Hello, mkcvnvn



The problem requires the investigation on your server. Please contact us via Customer Help Desk and provide us with a temporary access to your server.