a. In your Admin->Configuration->Logging, what are all your settings?
If anything's set to true, change it to false. Which ones did you have to change?
b. This script will delete all *.log and *.sql files in your ./cache folder. That may make your FTP or File Manager tool able to display what's left. But this will only help if it was Zen Cart that created the extra files in your ./cache folder in the first place. If something else made them, then you'll have to work with GD support for more specific detail.
Paste the following into notepad:
Code:
<?php
/**
* delete all *.log and *.sql files from the ./cache folder
*/
$thePath = './cache/';
echo '<br />Locating and deleting *.log and *.sql files from this folder: ' . $thePath . '<br />';
$counter = 0;
if ($theDir = @dir($thePath)) {
while ($theFile = $theDir->read()) {
if (is_file($thePath . $theFile)) {
if (preg_match('/\.sql$/', $theFile) > 0 || preg_match('/\.log$/', $theFile) > 0) {
echo '<br />Removing file: ' . $thePath . $theFile;
unlink($thePath . $theFile);
$counter++;
}
}
}
$theDir->close();
}
unset($theDir, $theFile);
echo ($counter == 0) ? '<br />No files found matching the criteria.' : '<br />Done';
Save the file as "empty_cache.php" and upload it to your server ... into the same folder as your ./cache folder exists.
Then point your browser to it ... ie: instead of typing www.your_domain.com/index.php, type www.your_domain.com/empty_cache.php
BEWARE ... THERE ARE NO SAFETIES ON THIS ... IT WILL JUST DO ITS DELETES WITHOUT WARNINGS.
Be sure to delete the empty_cache.php file from your server when you're done.
Make a note of any output it shows in your browser ... it'd be interesting to know the filenames it finds.
Bookmarks