Old 05-04-2004, 10:27 AM   #1
Ofloo
Member
 
Join Date: Jun 2003
Posts: 43
Default ioU pure tcl uptime script

# Commands:
# - site uptime

# [Events]
# OnServerStart = TCL ..\scripts\ioU\ioU.tcl start

# [FTP_Custom_Commands]
# uptime = TCL ..\scripts\ioU\ioU.tcl uptime

# [FTP_SITE_Permissions]
# uptime = *
Ofloo is offline   Reply With Quote
Old 05-04-2004, 10:30 AM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

post scripts in ioftpd.com/scripts/new_script.php
Mouton is offline   Reply With Quote
Old 05-04-2004, 02:13 PM   #3
Ofloo
Member
 
Join Date: Jun 2003
Posts: 43
Default

oh ok sorry
Ofloo is offline   Reply With Quote
Old 08-21-2004, 12:05 AM   #4
DR. GiGa BYTe
Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 80
Default

--------------------------- ErrorInfo ----------------------------
can't read "iou(time)": no such variable
while executing
"calcuptime $iou(time)"
invoked from within
"if {[string match -nocase start [lindex $args 0]]} {
setstarttime
} elseif {[string match -nocase uptime [lindex $args 0]]} {
iputs -nobuffer "ioF..."
(file "..\scripts\iou\ioU.tcl" line 50)
------------------------------------------------------------------

mmhhhh i don't know why i get this error, but as i remember it was working at the beginning.
meanwhile i tried some scripts, but i didnt changed the ioU config.

any ideas what it could be?

thanx
drgb
DR. GiGa BYTe is offline   Reply With Quote
Old 08-25-2004, 04:11 PM   #5
Ofloo
Member
 
Join Date: Jun 2003
Posts: 43
Default

this can mean that u unset the global variable witch to me is unlikely.. did u restart the server when u installed it ?

if u keep having this error use the older script difference between 0.2 and 0.1 = that 0.2 doesn't use a cache file to store the start time and 0.1 does .. if u keep loozing the variable use 0.1 its not a script error not likely that is unless the storage of global variables is removed in newer versions somehow .. also this is verry unlikely.. anyway this error means that the global variable does not exist.. either u didn't reboot after installing the script but u sad it worked so i suppose u did .. check the install instructions and if u done all that and still got the error try 0.1 there is no real changes besides that global variable so ..
Ofloo is offline   Reply With Quote
Reply

Tags
scriptsiouiou.tcl, start, tcl, uptime, [ftp_custom_commands]

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:44 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)