| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
fatal error when I click on a subcategory | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
fatal error when I click on a subcategory
First of all, I can't get my subcategories to display on launch. The root has to be clicked, which I don't like. Second, when I click on a subcategory, I get this fatal error:
Fatal error: Smarty plugin error: [in customer/main/subcategories.tpl line 28]: unknown tag - '"Categories"|lower' in /home/permutat/public_html/xcart/Smarty-2.3.0/Smarty.class.php on line 1993 Please tell me how to solve both these problems. |
|||||||
#2
|
|||||||
|
|||||||
Hi,
Was this working out of the box or has it stopped working since you modified the templates? What version are you running?
__________________
ex x-cart guru |
|||||||
#3
|
|||||||
|
|||||||
Same error.
The same thing is happening to me at www.wanderingp.com. I have more info on it though. (Or at least what is going on with mine.)
This error: Fatal error: Smarty plugin error: [in customer/main/subcategories.tpl line 28]: unknown tag - '"Categories"|lower' in /home2/peddler/public_html/Smarty-2.3.0/Smarty.class.php on line 1993 Happens right after I compiled my templates into Emglish and then reloading my customer front-end and clicking on any category. If i restore the templates and reload the customer frontend, it works fine. Compile again, gives the same error. So I know what caused it, just not how to resolve it. Any help would be appreciated. More info: ver. 3.3.3 Also, I just reset my host, and reinstalled xcart. same problem. Thanks, Scott Steiner Wandering Peddlers |
|||||||
#4
|
|||||||||
|
|||||||||
make sure under Smarty-2.3.0/plugins/ that the file modifier.lower.php exists, if it doesn't, create it and copy paste the following code in it:
Code:
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#5
|
|||||||
|
|||||||
great call :P
__________________
ex x-cart guru |
|||||||
#6
|
|||||||
|
|||||||
That file exists and contains the correct code.
|
|||||||
#7
|
|||||||
|
|||||||
Fixed it!
Ok. So I finally resolved it.
in /customer/main/subcategories.tpl - Basically it put in {"Categories"|lower}. After compiling, it should be "Categories"|lower - no {}. After i took those out its working like a charm. the code it put in after compiling to English (about lines 24-30): Code:
Code that fixed it: Code:
Thanks everyone for all your help! |
|||||||
#8
|
|||||||
|
|||||||
I just encountered the same problem today and used your solution thanks.
__________________
Security is mostly a superstition. It does not exist in nature nor do the children of men as a whole experience it. Avoiding danger is no safer in the long run than outright exposure. Life is either a daring adventure or nothing. - Hellen Keller |
|||||||
#9
|
|||||||
|
|||||||
Re: Fixed it!
[quote="Wanderingp"]Ok. So I finally resolved it.
Thanks again for posting your fix. I had the same situation after compiling to English and your fix fixed it.
__________________
\"I\'d rather have a bottle in front of me than a frontal lobotomy.\" Tom Waits |
|||||||
|
|||
X-Cart forums © 2001-2020
|