Thread: ioNiNJA
View Single Post
Old 02-16-2014, 06:39 AM  
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default

Quote:
Originally Posted by o_dog View Post
my guess, an error in ioninja.cfg and it fails to load on startup. But thats just a guess.

This is a config screwup and i will not help you with it since the script itself is not fault. Fix it and see if it works.
Hello o_dog,

Thank you for your answer, but please look at my example to proceed again. Based on the error message you're most likely the only one who can tell which an error is generated.

Ive extract ioNiNJA.cfg and init.itcl (original from ioNiNJA.1.0.Beta4.2012-10-02 zip-archiv) again to D:\ioFTPD\scripts\ioNiNJA

Also ive extract the init.itcl (original from nxTools-v1.2.1 zip-archiv and no init.itcl exist before) again to D:\ioFTPD\scripts

After a restart or enter the command site symclean in the _incomplete dir (at the Moment one broken link) ive get follow error:
Code:
02-16-2014 12:32:32 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ioNJ(load_cfg_startup)": no such variable
    while executing
"if { !$ioNJ(load_cfg_startup) } {
	if {[catch {source "../scripts/ioNiNJA/ioNiNJA.cfg"} error]} {
		iputs -nobuffer $error
		return
	}

	if {[catch {s..."
    (file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 4)
----
02-16-2014 12:32:33 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
can't read "ioNJ(load_cfg_startup)": no such variable
    while executing
"if { !$ioNJ(load_cfg_startup) } {
	if {[catch {source "../scripts/ioNiNJA/ioNiNJA.cfg"} error]} {
		iputs -nobuffer $error
		return
	}

	if {[catch {s..."
    (file "..\scripts\ioNiNJA\ioNiNJA.itcl" line 4)
----
EDIT:

Ok, i have restore my old configuration now and Change only:

set ioNJ (cleanup_dirs) {
/_iMDB-TOP250/
/_incomplete/
}

Now i get the message in flashfxp after command site symclean:
Code:
[13:03:03] 200-250- Checking: D:/ioFTPD/sites/_iMDB-TOP250/***FILENAME***
[13:03:03] 550 Command failed (script): No such file or Directory.
Thats right, in _iMDB-TOP250 are the linking, but the original file in a other Directory dont exist any more...
I would like do delete the linking now.
The links in _iNCOMPLETE are the same, if i try to manually use the command site symclean.

No error in error.log.

Its broken links, but ioftpd/ioninja dont clean/detete it.

Last edited by MONGi; 02-16-2014 at 08:57 AM.
MONGi is offline   Reply With Quote