网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 网站建设 > ZenCart
User Name
Password
 
FAQ Members List Calendar Cheap Glasses Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1   IP: 58.241.198.80
Old 2015-05-16, 04:18 PM
Idaho Falls Idaho Falls is offline
初级会员
 
Join Date: 2009-09-19
Posts: 1
Idaho Falls 现在声名狼藉
Default Need to delete some files in cache directory

Our hosting company has told us we are over double the limit of files on our account and we urgently need to delete some.

They say most of the files are in the cache directory.

What does this directory hold and how safe is it to delete files there ?

Where else can we delete files to give room ?
Reply With Quote
  #2   IP: 58.241.198.80
Old 2015-05-16, 04:18 PM
Isaias Isaias is offline
初级会员
 
Join Date: 2006-10-02
Posts: 1
Isaias 现在声名狼藉
Default

In v1.3.9, the /cache/ folder stores the following:

a) Default files (these are the only "required" files in this folder):
.htaccess
index.php

b) PHP error log files named "myDebug-xxxxxxxxx.log"
These files are generated whenever a PHP error occurs on your site.
Anytime you find these files present, it means you have problems in your site that need fixing. The details are contained in the files themselves.
Delete the files once you've recorded the error message and have put a plan in place to fix the errors.

c) zc_XXXXXXXXX.sql files
These are temporary files storing cached data. The system normally clears them out automatically after an hour, but it's safe for you to delete them anytime.

d) sess_xxxxxxxxxx files
These are session storage files, and expire after 24 minutes, and the system normally clears them out after expiry.
They can be deleted if they're more than 24 minutes old.

e) *.log files for various payment modules
These are debug logs used for troubleshooting payment module problems, and can be deleted if you're not trying to fix a specific problem. Turn those logs off inside your payment module settings in your admin.

f) some addons like ceon uri mapping might have additional folders under the cache directory, and these are used to store cached page mapping rules you've configured. Best to leave them alone unless you're intending to reset all your URLs you've configured with that module.


g) A different folder:
/includes/modules/payment/paypal/logs/ --- all the *.log files in this folder are temporary for troubleshooting purposes, and can be deleted. Turn the logs off inside your paypal payment module settings


NOTE: In v1.5.0 and newer, the *.log files from b) and e) and g) above are found in the /logs/ folder instead. The other files are still found in the cache folder.
AND, even in 1.3.9, these are most likely the files that are taking up the most excess space on your site. Remove them and deal with whatever problems caused them to be put there in the first place!!!!!!!!


h) Another folder:
bmz_cache -- this folder stores cached images for Image Handler plugin use. If you're not using that plugin, you can delete this folder if it's present.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Magento: How to delete/remove all products from all categories Random Lake Magento 0 2015-04-24 04:37 AM
Disable directory listings topvip 网络资源 0 2012-09-30 11:10 AM
PR6 Web Directory List car Web Directory 0 2007-11-01 02:18 PM
What are the Strongest Directories? smiling 网站链接开发 1 2007-07-28 09:26 PM
10 Tips to a More Profitable Directory sunshine Web Directory 0 2007-05-09 08:37 PM

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 10:52 PM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.