Quote:
Originally Posted by o_dog
no | and no spaces. meaning no " ".
set ioNJ (cleanup_dirs) {
/_iMDB-TOP250/
/_incomplete/
}
|
Hello, thanks for your quick answer, but now i get follow error after command site symclean in the _iMDB-TOP250 directory:
Code:
----
02-16-2014 04:05:02 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
invalid command name "::ioNiNJA::symlink_clean"
while executing
"::ioNiNJA::symlink_clean "
("SYMCLEAN" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 1124)
----
Also i get the follow error after a Server restart:
Code:
02-16-2014 04:22:28 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
invalid command name "::ioNiNJA::CWD"
while executing
"::ioNiNJA::CWD "
("CWD" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN { ::ioNiNJA::symlink_clean }
RESCAN { ::ioNiNJA::ZipScript::rescan }
RESORT { source "../scripts/ioNi..."
(file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 1124)
----
Ive extract the init.itcl from ioninja zip-archiv in the scripts and the ioninja Directory and write manually the code from init.itcl (nxtools) to the end of the extracted init.itcl .
Code:
#
# nxScripts - Scripts by neoxed.
# Copyright (c) 2004-2008 neoxed
#
# Module Name:
# Init
#
# Author:
# neoxed (neoxed@gmail.com)
#
# Abstract:
# Implements a configuration and extension loader.
#
set nx(scripts) {
{../scripts/nxAutoNuke/nxAutoNuke.cfg}
{../scripts/nxTools/nxTools.cfg}
{../scripts/nxLib.tcl}
}
######################################################################
proc nxLoadError {type message} {
if {![catch {set handle [open "../logs/nxError.log" a]}]} {
set now [clock format [clock seconds] -format "%m-%d-%Y %H:%M:%S"]
puts $handle "$now - [format %-12s $type] : $message"
close $handle
}
}
foreach name $nx(scripts) {
if {[catch {source [file normalize $name]} error]} {
nxLoadError LoadScript $error
}
}
foreach name {nxHelper sqlite3} {
if {[catch {package require $name} error]} {
nxLoadError LoadPackage $error
}
}
#############################################################
# Copy this file to the "../ioFTPD/scripts/" dir
# if it already exists add the following lines to the existing
# one at the bottom of the file
if {[catch {source "../scripts/ioNiNJA/ioNiNJA.cfg"} error]} {
return
}
if {[catch {source "../scripts/ioNiNJA/themes/$ioNJ(themefile)"} error]} {
return
}
if {[catch {source "../scripts/ioNiNJA/MiSC/NiNJALiB.tcl"} error]} {
return
}
if {[catch {package require http 2.7.1} error]} {
return
}
Whats wrong?