Old 11-26-2013, 03:13 PM   #451
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

don't know what you mean? imdb snip?
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 11-26-2013, 05:03 PM   #452
Henkie2
Member
 
Join Date: Dec 2011
Posts: 58
Default

Quote:
Originally Posted by o_dog View Post
don't know what you mean? imdb snip?
Sorry :P the imdb at (plugin/imdb.itcl) how can i get name change: cover.jpg i tried to change the default folder.jpg to cover.jpg
I dont get it it's still gives me the default folder.jpg.

Last edited by Henkie2; 12-07-2013 at 04:11 AM.
Henkie2 is offline   Reply With Quote
Old 12-09-2013, 10:51 AM   #453
brackebuschtino
Member
FlashFXP Registered User
 
Join Date: Feb 2012
Location: /dev/null
Posts: 40
Default

o_dog, any chance to add https - support to curl.exe so it can be used for https-URLs please?
brackebuschtino is offline   Reply With Quote
Old 12-09-2013, 11:02 AM   #454
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

It should already accept https
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 12-10-2013, 08:42 AM   #455
brackebuschtino
Member
FlashFXP Registered User
 
Join Date: Feb 2012
Location: /dev/null
Posts: 40
Default

Seems, it doesn't. Here is what it try:
Code:
set url "https://..."

iputs -nobuffer " "
iputs -nobuffer " Executing query to $url"

catch {exec ../scripts/ioNiNJA/MiSC/curl.exe --compressed  $url} temp

iputs -nobuffer " response: $temp"
The value of $temp is:
Quote:
response: curl: (1) Protocol https not supported or disabled in libcurl
brackebuschtino is offline   Reply With Quote
Old 01-04-2014, 09:56 PM   #456
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

check in cmd. curl--help or curl /h etc....
it's itcl and the exe is independent. You can just replace the curl.exe with one that accepts https if this one doesn't. It should still work without any problems in ioninja.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 01-07-2014, 05:26 PM   #457
_badaas
Junior Member
 
Join Date: Jan 2014
Posts: 1
Default

blimey o_dog you still at it!! ;_)
_badaas is offline   Reply With Quote
Old 02-11-2014, 05:52 PM   #458
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default After deleting files, the links in iMDB-Top250 folder are available

Hi @ all,

after uploading a xvid-file generated by the IMDB plugin in a separate folder the IMDb-TOP250. So far so good ...
About "jeza.ioFTPD.Tools" folder are deleted about memory space reasons when they have exceeded a certain number.
If indeed now one of the folder has been deleted by "jeza.ioFTPD.Tools" and there was a link to the IMDB TOP250 directory is the link yet, but is not deleted!?

Now to my question:
How can I remove these non-functioning links automatically from the IMDB TOP250 directory?

Here's what I've tested, but does not work:

Code:
set ioNJ (cleanup_dirs) {
/ _iMDB-TOP250 / | / _incomplete / 
}
Does anyone have an idea?
Thanks for any tips.
MONGi is offline   Reply With Quote
Old 02-15-2014, 07:46 PM   #459
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

no | and no spaces. meaning no " ".
set ioNJ (cleanup_dirs) {
/_iMDB-TOP250/
/_incomplete/
}
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 02-15-2014, 08:33 PM   #460
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default

Quote:
Originally Posted by o_dog View Post
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?

Last edited by MONGi; 02-15-2014 at 10:40 PM.
MONGi is offline   Reply With Quote
Old 02-15-2014, 11:21 PM   #461
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

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.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 02-16-2014, 06:39 AM   #462
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
Old 02-16-2014, 11:03 AM   #463
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

STOP sending me personal messages. They're annoying and will not make me help you, quite the opposite actually.

First of all you can't copy the init.tcl from nxtools without editing it. This is explained in the redme. You need to add stuff to it.

The script works for symlink cleanup as far as i know, if you want to report a bug i would need confirmation from someone else. Cleanup works here, and it removes dead junctions without a problem.

If the script is setup right there should be no errors.
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Old 02-16-2014, 11:26 AM   #464
MONGi
Member
 
Join Date: May 2012
Posts: 72
Default

thank you for your support, your approach would examine
MONGi is offline   Reply With Quote
Old 02-16-2014, 11:30 AM   #465
o_dog
Senior Member
 
Join Date: May 2007
Posts: 692
Default

I have no idea what that means
__________________
ioNiNJA
o_dog is offline   Reply With Quote
Reply

Tags
added, fixes, replace, thread, update

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 04:19 AM.

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