Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Getting an error with Smarty.class.php Rate Topic   - - - - -

 
  • PILMAN
  • Junior Member
  • Members
  • Join Date: 01-Nov 07
  • 1 posts

Posted 01 November 2007 - 07:24 PM #1

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.

 
  • MikeFold
  • Senior Member
  • Members
  • Join Date: 24-Nov 06
  • 1034 posts

Posted 01 November 2007 - 07:59 PM #2

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

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

http://forum.cs-cart...read.php?t=4549
[SIZE="1"]Seamlessly Upgraded to 1.3.5sp4 from 1.3.4sp3
Live: Playboy Collectors Gallery
(Adult)[/SIZE]

[SIZE="2"]LOOKING FOR A FEW COPIES OF THE NEW LITHUANIA PLAYBOY ISSUES...AND COLOMBIA ISSUES.....
FEEL FREE TO Private Message Me....THANKS[/SIZE]


[SIZE="1"]Slightly Modded Default Red | Zardos Lightbox | Sitemap | Multicards Payment Mod |
Cart & Checkout Pages Modified |
[/SIZE]

 
  • MaryMae
  • Member
  • Members
  • Join Date: 02-Mar 08
  • 97 posts

Posted 09 October 2008 - 02:39 AM #3

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.

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

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

 
  • orangegirl
  • Support engineer
  • CS-Cart Support
  • Join Date: 08-Jan 08
  • 589 posts

Posted 09 October 2008 - 10:27 AM #4

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.

 
  • MaryMae
  • Member
  • Members
  • Join Date: 02-Mar 08
  • 97 posts

Posted 09 October 2008 - 02:22 PM #5

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

 
  • orangegirl
  • Support engineer
  • CS-Cart Support
  • Join Date: 08-Jan 08
  • 589 posts

Posted 10 October 2008 - 12:18 PM #6

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.

 
  • MaryMae
  • Member
  • Members
  • Join Date: 02-Mar 08
  • 97 posts

Posted 10 October 2008 - 02:57 PM #7

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

 
  • orangegirl
  • Support engineer
  • CS-Cart Support
  • Join Date: 08-Jan 08
  • 589 posts

Posted 13 October 2008 - 10:33 AM #8

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

 
  • mkcvnvn
  • Junior Member
  • Members
  • Join Date: 21-Apr 11
  • 7 posts

Posted 21 April 2011 - 11:04 AM #9

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 ?

 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3814 posts

Posted 21 April 2011 - 12:05 PM #10

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.

Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation