| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Final solution to smarty template_c cache error? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Final solution to smarty template_c cache error?
Hi Fellas - I've had the same issues with the template_c directory, all the permissions problems and so forth. I'm not sure how they started for most of you, but for me it just started happening out of nowhere.. Which was a little un-nerving, as I'm getting ready to let this site go live..
Thanks to the forums here i've been able to solve most of the problems.. BUT, after all the fixes that I had to perform there is still a mkdir error on a few templates.. ? The question that I am posing is - Do we have to create the templates_c directory and ALL the folders that seem to be eventually created - to solve this problem once and for all..? Thanks for listening - Lots of great info floating around in here, thanks for your help, dss. Code:
Which of course results in :: Code:
|
|||||||
#2
|
|||||||||
|
|||||||||
Code:
tempaltes_c/ is created upon installation however all subdirs are created from the actually Smarty.class template engine, hence the reason chmod 777 and change owner nobody. This way your webserver can write to the directory. If your running apache from another user other than nobody then you'll need to change it to the same permissions as your webserver is running. http://smarty.php.net/
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
thanks BOOMER
-- that helps... thanks a million... i had renamed the templates_c dir to delete_me and created a new dir called templates_c which i chmod'd to 777 -- BUT the template engine had to still create all the subdirectories which is where i was having the problem... didn't know if i had to go in and create all the sub folders too? i asked my webhost to go in and change the permissions of all the sub directories and that seemed to solve the problem.... thanks again, dss...
p.s. - x-cart said the problem stems from the difference in https and http users.. i need to research exactly what they are talking about.. it makes a little sense but not total sense to me yet.... cheers... |
|||||||
#4
|
|||||||
|
|||||||
Quote:
Could that be the reason for this problem? v3.3 Registered member logs in - adding item to Wishlist returns Smarty Errors .....for some reason it's going to https on Add to Wishlist. I put Registering in https so is that affecting the Wishlist somehow? In test mode right now so using SSL of host not my domain name. |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|