| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
smarty error....need help!! | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
smarty error....need help!!
Suddenly i got this error :Warning: Smarty error: problem writing '../templates_c/%%151/%%1512206380/home.tpl.php.' in /home/movienett/www/shop/Smarty-2.3.0/Smarty.class.php on line 589
here is my home.tpl, does anyone see any bugs here ? Code:
|
|||||||
#2
|
|||||||
|
|||||||
__________________
X-Cart Versions: 4.1.10 and 4.2.0 |
|||||||
#3
|
|||||||
|
|||||||
Just tried the cleanup, but no luck...
|
|||||||
#4
|
|||||||
|
|||||||
It appears you got rid of your smarty tag - { include file="rectangle_top.tpl" }. Was this intentional? Try adding it back in.
If that doesn't work save a copy of your current code and try restoring the original home.tpl file. If the error doesn't go away you will know it's not in your home.tpl file. If it does go away, begin adding in the code from your saved file until the error appears. It's a bit tedious, but you should find it soon enough. |
|||||||
#5
|
|||||||
|
|||||||
well, i did remove the "rectangle.tpl", and it worked fine after that, so the bug is somewhere else...im gonna try restore the home.tpl now
|
|||||||
#6
|
|||||||
|
|||||||
one more thing...the body tag is intact
|
|||||||
#7
|
|||||||
|
|||||||
I don't know how I missed that.
|
|||||||
#8
|
|||||||
|
|||||||
i restored home.tpl, but the smarty error was still there....this is weird, havent changed anything, and suddenly this happens..
|
|||||||
#9
|
|||||||
|
|||||||
I took a closer look at your smarty error. Make sure that the chown on your templates_c directory is nobody/nobody and that the directory is chmod'd to 777. I think smarty is trying to recompile your home.tpl (because you made changes to it), but can't because the templates_c directory isn't set up properly.
|
|||||||
#10
|
|||||||
|
|||||||
nothing helps...guess i have to contact x-cart folks...ill post the solution !
|
|||||||
|
|||
X-Cart forums © 2001-2020
|