rayw1679:
1and1 said that wasn't their problem,
I wouldn't expect them to say anything else.
rayw1679:
so I'm deleting them with FileZilla.
That'll be fine, BUT, how many files were there? Did you take a look at any of them? With a well oiled zencart store you'll rarely get any of these error/debug files, so if you ARE getting lots of them it is a good indication that your store has another problem that needs to be looked into, and the problem emptying the cache folder is the least of your problems.
rayw1679:
Could it be a contamined php module?.
It is certainly possible, but it certainly isn't the 1st thing that I'd be considering.
rayw1679:
Does anyone know which module performs this task? If so, would it make sense to replace the module with one from a clean install and see if that solves the problem?
A more important question is, does the problem still persist now that you've deleted the files using fileZilla? If the 500 error has gone away I'd be inclined to forget the problem ever existed and go back to figure out why the files are being created in the 1st place. IOW, the 500 error may just be a symptom rather than the problem itself.
Cheers
Rod