Welcome, Guest
Please Login or Register.
Lost Password?
im can\'t create a virtualmin plugin script (1 viewing)
Post Reply

TOPIC: im can\'t create a virtualmin plugin script

#9212
zodman (User)
Posts: 6
graphgraph
im can't create a virtualmin plugin script 2007/12/23 17:43  
Ok im read the docu of plugin script. and create this files.
im have a GPL version

root@zod:/usr/share/webmin/virtualmin-wget# ls -al
total 36
drwxr-xr-x 4 root root 4096 2007-12-23 21:21 .
drwxr-xr-x 124 root root 8192 2007-12-23 20:26 ..
d-wx--x--x 2 root root 4096 2007-12-23 20:45 help
d-wx--x--x 2 root root 4096 2007-12-23 20:45 lang
--wx--x--x 1 root root 42 2007-12-23 20:27 module.info
--wx--x--x 1 root root 104 2007-12-23 21:21 virtual_feature.pl
--wx--x--x 1 root root 137 2007-12-23 21:21 virtualmin-wget-lib.pl

virtual_feature.pl haves:

Code:

#!/usr/bin/perl do 'virtual-wget-lib.pl'; sub feature_name {     return "A description of your plugin"; }




virtualmin-wget-lib.pl haves:
Code:

#!/usr/bin/perl do '../web-lib.pl'; &init_config(); do '../ui-lib.pl'; &foreign_require("virtual-server", "virtual-server-lib.pl"); 1;



im delete the webmin cache :)
When a i go to system settings>>features and plugins>>
im get the error:

require virtualmin-wget/virtual_feature.pl failed :

Died at (eval 28) line 4.


Some suggest to fix it ? im wrong ?
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.