From: Nick J. <ni...@na...> - 2001-07-03 22:14:42
|
On Tue, Jul 03, 2001 at 03:02:34PM -0700, Nick Jennings wrote: > Hello, > > I've been working on creating an advanced theme for webmin. I'm having > a problem in that with one module I am starting on, the simple use > of &init_config sends web-lib.pl in an endless loop, crashing my machine > if I do not kill it soon enough. > > Is there any clause in the code that will re-execute itself in any > circumstance? Ah, I found the problem. The user didn't have correct perms to enter the category, and so the error function was called with calls the header function. Which I've patched to allow table based menu display. I renamed the old header function to header_common and a new one to header_table and the header function tries to determin which to call. It puked on the error calling in and hence, got another error (I believe). I have error call header_common directly now and things work again. :) > > -- > Nick Jennings > > > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > -- Nick Jennings |