Zen Cart Logo
Forums / Basic Configuration / How to find out if new Cache Location is working?

How to find out if new Cache Location is working?

Views: 554

Results 1 to 7 of 7
8 Jan 2013, 2:24 AM
#1
imfsub12 avatar

imfsub12

Zen Follower

Join Date:
Aug 2008
Location:
Halifax, NS
Posts:
274
Plugin Contributions:
0

How to find out if new Cache Location is working?

I'm following the site sercurtiy recommendations for the Folder Purposes
http://store.xtremegunshootingcenter.com/docs/important_site_security_recommendations.html
cache location

I have changed both locations above my public_html folder (running cpanel)

how do i know if its working or not as there are no files there as of now.. and there are in my old cache dir.

thanks

8 Jan 2013, 4:46 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to find out if new Cache Location is working?

What is in your configure.php file for it??

8 Jan 2013, 5:23 PM
#3
imfsub12 avatar

imfsub12

Zen Follower

Join Date:
Aug 2008
Location:
Halifax, NS
Posts:
274
Plugin Contributions:
0

Re: How to find out if new Cache Location is working?

I followed the instructions to move it outside of my public_html folder

here it is

// The next 2 "defines" are for SQL cache support.
// For SQL_CACHE_METHOD, you can select from: none, database, or file
// If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache
// or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
// ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash
define('SQL_CACHE_METHOD', 'none');
** define('DIR_FS_SQL_CACHE', '/home/DIR/cache-DIR');**

8 Jan 2013, 5:25 PM
#4
imfsub12 avatar

imfsub12

Zen Follower

Join Date:
Aug 2008
Location:
Halifax, NS
Posts:
274
Plugin Contributions:
0

Re: How to find out if new Cache Location is working?

Let me try this

the folder was set to 755

and i now set it to 666

After reading the clip i just copied.. OPPS..

8 Jan 2013, 8:11 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to find out if new Cache Location is working?

imfsub12:

define('DIR_FS_SQL_CACHE', '/home/DIR/cache-DIR');
If your DIR_FS_CATALOG is defined as '/home/DIR/public_html/' then the DIR_FS_SQL_CACHE you posted is probably correct.

9 Jan 2013, 1:14 AM
#6
imfsub12 avatar

imfsub12

Zen Follower

Join Date:
Aug 2008
Location:
Halifax, NS
Posts:
274
Plugin Contributions:
0

Re: How to find out if new Cache Location is working?

will see if its working yet? not sure if it is or not..

9 Jan 2013, 3:42 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: How to find out if new Cache Location is working?

imfsub12:

how do i know if its working or not as there are no files there as of now.. and there are in my old cache dir.
What are the names of the files in the old one?
What are the dates on those files?