Smarty Error

I recently started using the paid version of CS-Cart I have been having an fatal error: smarty error, showing up for certain items:



[url]http://www.highlyinspired.com/~stevens/store/index.php?target=categories&category_id=93[/url]



I didn’t have this problem with the trail version, and when I search the forums I found a thread that talked about this problem being permissions. I used this thread:



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



My server is a freeBSD, using Apache version 1.3.33 (Unix)



I am not a server guy but I assumed I should set the permissions based on PHP running as an Apache Module.





Another detail that may help to answer the problem, I also backed up my template from the trail version and uploaded that to the store, and afterwards I had to go in a change the permissions.



Thank you for any help you can provide.

It looks like the error only shows with products that have a discounted price. The fault looks to be in common_templates/modifier.tpl. Try replacing this file from the repository to see what happens.



Line 4 should read:

```php

{if $display_sign}{if $class}{/if}{if $mod_value > 0}+{else}-{/if}{if $class}{/if}{/if}

```



Assuming your using 1.3.5