[ic] File Manager
docelic at mail.inet.hr
Mon Oct 17 11:57:48 EDT 2005
On Mon, 17 Oct 2005 11:25:22 -0400
maillists <lists at gmnet.net> wrote:
> Hello List:
> I am working on building a "file manager" within Interchange for
> non-admin users. I am stuck trying to set up a way to "delete" files.
> I have a simple tag that I can't seem to make work, and I get nothing in
> the error log.
You are looking at not-the-right-one log file, then.
If you implemented the tag on catalog-level, 'unlink' would be trapped
by Safe and error log message displayed. (see 'man opcode'..)
If it's a global usertag, then it's possible that things are OK as far
as IC is concerned, but then running ulink under a different user (or
something else) affects the situation in a way you did not expect.
As Gert says, you could put
Variable DEBUG 1
in your catalog.cfg, and use this line in your usertag to report
unlink($file) or ::logDebug('cannot unlink file: ' . $!);
More information about the interchange-users