X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   clean.php and "Clear templates cache" do nothing (https://forum.x-cart.com/showthread.php?t=4916)

AKR 10-23-2003 01:19 PM

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?

Gibberish 10-23-2003 02:28 PM

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.

AKR 10-23-2003 02:37 PM

i took a look and it says exactly what yours does. dunno what's going on.

DogByteMan 10-23-2003 05:41 PM

What are you expecting it to do???

AKR 10-23-2003 09:00 PM

wha? cleanup.php?

B00MER 10-24-2003 03:41 AM

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 ;)

AKR 10-25-2003 12:06 AM

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.

B00MER 10-25-2003 05:27 AM

then recreate the dir.

mkdir templates_c
chmod 777 templates_c

;)

AKR 10-25-2003 01:18 PM

mkdir templates_c ? is that a command i'm supposed to give somewhere? sorry, i'm new to this stuff.

B00MER 10-25-2003 01:40 PM

Just create the directory with FTP, and set the CHMOD permissions to 777

AKR 10-25-2003 09:03 PM

Re: clean.php and "Clear templates cache" do nothi
 
Quote:

Originally Posted by AKR
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.


been there, done that. :(

B00MER 10-26-2003 05:21 AM

Sounds like safemode may be enabled in your servers php.ini.

:?:

AKR 10-27-2003 01:39 PM

nope, i just checked on my hosts' forums.

AKR 10-27-2003 03:48 PM

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.

Gibberish 10-28-2003 09:23 AM

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.

B00MER 10-28-2003 09:27 AM

:arrow: http://www.thecounter.com/stats/2003/May/browser.php

AKR 10-29-2003 11:22 PM

Quote:

Originally Posted by Gibberish
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.


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.