![]() |
clean.php and "Clear templates cache" do nothing
i have version 3.4.8. and i've tried both of these and i'm still not seeing my changes. i used clean.php, changed the templates_c folder and made a new one (setting 777), and when i view my page after that, it's the same. this is driving me nutz. any help?
|
does it give you an error or anything?
Here is my cleanup.php, I have used it twice so I know it works. Backup your cleanup.php and copy and paste this code. Just incase something is bugged with yours. <? chdir("templates_c"); system("rm -rf -- .* *"); ?> The compiled templates cache ("templates_c" directory) has been cleaned up. |
i took a look and it says exactly what yours does. dunno what's going on.
|
What are you expecting it to do???
|
wha? cleanup.php?
|
sometimes php doesn't have access to such a system call, especially if your on a windows server, simply delete the entire folder yourself, and let x-cart/smarty regenerate the templates_c folder for you ;)
|
when i do that, i just get this:
Can't write template cache in the directory: /home/bakeme2/public_html/xcart/templates_c. Please check if it exists, and have writable permissions. it won't create one on it's own. |
then recreate the dir.
mkdir templates_c chmod 777 templates_c ;) |
mkdir templates_c ? is that a command i'm supposed to give somewhere? sorry, i'm new to this stuff.
|
Just create the directory with FTP, and set the CHMOD permissions to 777
|
All times are GMT -8. The time now is 07:05 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.