Fix Cache Key

Description
The Fix Cache Key utility is used to reset your "SESSION_WRITE_DIRECTORY" key in the database after switching servers or relocating your Zen Cart installation from one folder to another.

Compatible with Zen Cart versions 1.2.x and 1.3.x and 1.5.0 and 1.5.1. IT IS NO LONGER NEEDED FROM v1.5.3 and newer.

NORMAL USAGE INSTRUCTIONS:
* 1. Make sure the DIR_FS_SQL_CACHE setting is correct in your /includes/configure.php file.
* 2. Copy this file to the folder where "index.php" exists for your Zen Cart site
* 3. Run it (ie: use your browser and enter the URL to the file you just uploaded)
* 4. The cache setting from your configure.php file will be displayed, followed by the cache setting from your database.
* If they match, it will say "No changes required."
* If they do not match, it will synchronize the database to match the configure.php setting.
* 5. VERY IMPORTANT .... WHEN DONE, DELETE THIS FILE FROM YOUR SERVER!!!!!!!!!!!
* If you don't delete it (or at least rename it to something very obscure), then you run the risk of somebody using it to find out information about your server configuration, which could compromise your site's security. Thus, deleting this file when finished is the best approach.
+ Download Latest

Submit An Updated Version
Zen Cart® Versions v1.5.0, v1.5.1
Original Author DrByte
Last Updated by DrByte - 7 Jan 2012
Downloads 37,594

Version History

Fix Cache Key   -   Version: v1.2
v1.2 is a VERY MINOR update.
Added optional ?local=1 parameter to pick up the /includes/local/ version of configure.php ONLY SUITABLE FOR DEVELOPER USE.

FOR NORMAL USE, there is NO need to use ANY parameters. Simply follow the normal usage instructions described above. They are also contained inside the file.


.
  + Download
Zen Cart® Versions v1.5.0, v1.5.1
Date Added 7 Jan 2012
Author DrByte
File Size 2.0 KB
PHP 5.3 Safe? Yes
Downloads 10,200
 
Fix Cache Key   -   Version: v1.1
Compatible with all Zen Cart v1.x.x releases.

This update simply adjust things slightly to prevent some PHP error messages from triggering/displaying.
  + Download
Zen Cart® Versions v1.5.0
Date Added 8 Dec 2011
Author DrByte
File Size 2.0 KB
PHP 5.3 Safe? Yes
Downloads 503
 
Fix Cache Key   -   Version: 1
/*
* This utility is used to reset your "SESSION_WRITE_DIRECTORY" key after switching servers.
*
* 1. Make sure the DIR_FS_SQL_CACHE setting is correct in your /includes/configure.php file.
* 2. Copy this file to the folder where "index.php" exists for your Zen Cart site
* 3. Run it
* 4. The cache setting from your configure.php file will be displayed, followed by
* the cache setting from your database.
* If they match, it will say "No changes required."
* If they do not match, it will synchronize the database to match the configure.php setting.
* 5. VERY IMPORTANT .... WHEN DONE, DELETE THIS FILE FROM YOUR SERVER!!!!!!!!!!!
* If you don't delete it (or at least rename it to something very obscure), then you run the
* risk of somebody using it to find out information about your server configuration, which
* could compromise your site's security. Thus, deleting this file when finished is the best approach.
*/
  + Download
Zen Cart® Versions v1.3.9
Date Added 29 May 2006
Author DrByte
File Size 2.0 KB
PHP 5.3 Safe? Yes
Downloads 26,891
 


disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR