Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-23-2011, 05:48 AM   #1
Stars
Junior Member
FlashFXP Beta Tester
 
Join Date: Jul 2009
Posts: 11
Default ioNiNJA Fatal error script

Hi,

I keep getting an error when i run a command like site resort / rescan mp3

site resort mp3 if I do i get this error

[L] 200-Reading: F:/-1) Mp3/incoming/0518
[L] 550 Command failed (script): Fatal script error.

i have this version ioNiNJA:
ioNiNJA.BETA.Stable.v0.8.9.6-2009-06-29

and version ioFTPD:
ioFTPD v7.7.2

I hope someone can help my

Regards Stars
Stars is offline   Reply With Quote
Old 05-23-2011, 06:47 PM   #2
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

You can goto the /logs directory and look at the SystemError.log file which should show you the details about TCL script errors which would give us something to go on.

Did this work before for you and you just upgraded ioFTPD and it stopped working? In ioFTPD v7.7.x the /lib directory was upgraded but you had to take some care to keep the nxtools/ioninja parts of that directory when upgrading it. It's possible you missed something there if it was working fine before. In fact, I anticipated this as a problem and ioFTPD now actually checks for the version of the /lib dir that it needs and won't start if something is wrong, but it doesn't do this for scripts. They would just fail with fatal script errors like you are seeing. This should be obvious from the error log files though.
Yil is offline   Reply With Quote
Old 05-24-2011, 04:09 AM   #3
Stars
Junior Member
FlashFXP Beta Tester
 
Join Date: Jul 2009
Posts: 11
Default

Quote:
05-24-2011 11:19:58 "..\scripts\ioNiNJA\ioNiNJA.itcl" terminated abnormally
--- ErrorInfo ---
couldn't compile regular expression pattern: parentheses () not balanced
while executing
"regsub -nocase $basedirs $dir $pwd"
(procedure "::ioNiNJA::resort" line 14)
invoked from within
"::ioNiNJA::resort "
("RESORT" arm line 1)
invoked from within
"switch -- [lindex $args 0] {
SYMCLEAN {
set temp [userfile open [resolve uid [lindex [user list] 0]]]
set temp [mountfile open ../etc/defaul..
This is one of my error

I have an new install ioftpd with ioioNiNJA

When i upload new files to the server then it works sort sctipt

Regards

Last edited by Stars; 05-24-2011 at 04:22 AM.
Stars is offline   Reply With Quote
Old 05-24-2011, 06:54 PM   #4
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

That sounds like a question best left answered by o_dog. However I'm sure the first thing you should try is to use the default ioNinja configuration to make sure you haven't goofed when editing the config file... My guess is something you modified isn't happy, in fact I bet it might be a quoting problem with ()'s in that regular expression.

Also, just in case this is an issue, can you confirm this is a simple alphanumeric directory path both in the VFS and on disk? No ()'s or other things that might confuse things.
Yil is offline   Reply With Quote
Old 05-25-2011, 02:54 AM   #5
Stars
Junior Member
FlashFXP Beta Tester
 
Join Date: Jul 2009
Posts: 11
Default

Thnx

I have change F:/-1) Mp3/incoming/ to F:/00-Mp3/incoming/ and works fine now.

There was an problem with -1)

Thnx
Stars is offline   Reply With Quote
Old 05-25-2011, 12:16 PM   #6
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

If the problem was with the path, you can maybe fix the problem by using this change...

regsub -nocase -- $basedirs $dir $pwd

That extra -- in there tells the command to stop trying to look for arguments which should make it avoid the error.
Yil is offline   Reply With Quote
Reply

Tags
error, ioftpd, mp3, resort, script

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:20 AM.

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