Fix Cache Key
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. |
![]() |
v1.5.0, v1.5.1 |
![]() |
DrByte |
![]() |
DrByte - 7 Jan 2012 |
![]() |
37,662 |
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. . |
|||||||||||||
|
|||||||||||||
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. |
|||||||||||||
|
|||||||||||||
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. */ |
|||||||||||||
|
|||||||||||||