PDA

View Full Version : New Date Area?


tw3ek51m
09-14-2011, 03:47 AM
yeah gday, bit of a noob question, but im running out of ideas to get nxtool's newdate working, keep getting:

[2] 200-.-[NewDate]--------------------------------------------------------------.
[2] 200-| The newdate area "Default" is not defined. |
[2] 200-'------------------------------------------------------------------------'

09-14-2011 17:59:52 - NewDateArea : unknown newdate area "Default"

anyone know the location or area to define this properly?

set newdate(Default) {
{MP3 {New MP3} {/MP3/_arch/2011/%w} {G:\Site\MP3\_arch\2011\%w} {G:\Site\MP3\_arch\mp3-week} True 0 0 0 777}
{MP3 {Close MP3} {/MP3/_arch/2011/%w} {G:\Site\MP3\_arch\2011\%w} {G:\Site\MP3\_arch\mp3-previous} False -1 0 0 555}
}
(weekly)
from the nxtools file. thanks in advance :)

SRH99
09-14-2011, 09:30 AM
Does G:\Site\MP3\_arch\2011\ exist in filesystem?

Yil
09-14-2011, 01:49 PM
Couple of things... In order for nxTools to be able to resolve paths to sections you need to make sure it has access to a user and the VFS file to use, these are defined via
set misc(MountUser) "ioFTPD"
set misc(MountFile) "../etc/default.vfs"

Next, because '\' in TCL quotes the following character most TCL scripts use '/' as the path separator in config files because that's what TCL itself uses and that's what is returned via the ioFTPD TCL extensions. Thus your paths like G:\Site\MP3\... needs to be G:/Site/MP3/...

tw3ek51m
09-16-2011, 10:17 AM
thanks for your time, yes it exists in the filesystem,

I changed the details to what yours is:

set misc(MountUser) "ioFTPD"
set misc(MountFile) "../etc/default.vfs"

and also changed the slashes aswell to no avail. Still kindof lost, or perhaps a setting somewhere is wrong, is there a failsafe if 'default area' is defined in ioftpd.ini/default.vfs properly? or is this an nxtools problem.

tw3ek51m
09-20-2011, 08:25 AM
hmm, seems my message before didnt go through..

anyway ive tried the above solutions, changed the user/vfs file to the one defined by above, and the slashes, does not seem to work, and yes the directory does exist.

Is this a nxtools related problem? or does setting the 'default area' is in the .vfs file or ioftpd.ini ?