![]() |
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
|
Re: clean.php and "Clear templates cache" do nothi
Quote:
been there, done that. :( |
Sounds like safemode may be enabled in your servers php.ini.
:?: |
nope, i just checked on my hosts' forums.
|
alright, so apparently, it was my stupid browser settings. i had my partner check it out on explorer and mozilla at her house and it showed changes in explorer-but not mozilla. so i went into internet settings in explorer and changed the caching to "every visit to the page" instead of "automatic." when i first started working on my cart, it WAS working fine for me and showing my changes every time, and then it stopped doing so last week. i have no idea why it stopped working. i'm STILL having troubles with the mozilla browser not showing changes.
|
Your always going to have a tough time making pages Mozilla, and Opera friendly.
90% of poeple use IE so unless Id say design for that. Also always cross platform, make sure your TD's dont get stretched out in a MAC cause Mac's tend to ignore width settings in tags and style sheets. |
|
Quote:
bah, i'm just gonna have something on my site that tells them they shouldn't have bought a mac. lol. i don't want their business. :wink: thanks for the info. boomer, thanks for the link. |
All times are GMT -8. The time now is 09:30 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.