Go Back   FlashFXP Forums > > > >

NeoXed's scripts nxAutoNuke, nxTools, etc.

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-28-2005, 05:42 AM   #1
r32
Member
 
Join Date: Sep 2004
Posts: 61
Default NXTools- New Version

Hi!

I've installed the new version of your great nxtools. The most things work fine, but i have a problem with the "pre"-thing.

I've made a db called "pretimes" and a table with the same name.

While premkd i get an error in my systemerror.log.


Quote:
can't read "mysql(ConnHandle)": no such element in array
while executing
"if {$mysql(ConnHandle) != -1} {
catch {::mysql::close $mysql(ConnHandle)}
set mysql(ConnHandle) -1
}"
(procedure "MySqlClose" line 3)
invoked from within
"MySqlClose"
(procedure "PreTimeCheck" line 12)
invoked from within
"PreTimeCheck $VirtualPath"
("premkd"
Do you know what's wrong?

Bye

R32
r32 is offline   Reply With Quote
Old 03-28-2005, 12:52 PM   #2
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Whoops, small typo.

Fixed in 0.9.9a, http://www.ioftpd.com/scripts/script.php?id=167.

Just replace the scripts\nxTools\nxDupe.tcl file with the one from 0.9.9a.
neoxed is offline   Reply With Quote
Old 03-28-2005, 03:50 PM   #3
r32
Member
 
Join Date: Sep 2004
Posts: 61
Default

Hi!


Yes now premkd works, but nothing happens in the sql-db.

I watch it with phpmyadmin on xampp.


Do you what coul be wrong?


Bye


r32
r32 is offline   Reply With Quote
Old 04-02-2005, 10:43 AM   #4
PaRaNoiD_JaCK
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 101
Default

Doesnt seem to work at my end. Gets to the following event then hangs until it times out.

[L] 331 Password required for PaRaNoiD_JaCK.
[L] PASS (hidden).

Theres no log in the nxerror.log even at all when this happens.

Im using ioftpd v5.8.5r on win2oo3 SP1.
PaRaNoiD_JaCK is offline   Reply With Quote
Old 04-02-2005, 03:00 PM   #5
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

PaRaNoiD_JaCK: Check logs\systemerror.log then.
neoxed is offline   Reply With Quote
Old 04-02-2005, 03:24 PM   #6
PaRaNoiD_JaCK
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 101
Default

Thanks going to check it out.

This is the result:

04-02-2005 21:50:11 "..\scripts\nxTools\nxClose.itcl" terminated abnormally

Nothing else is logged :/

PaRaNoiD_JaCK is offline   Reply With Quote
Old 04-02-2005, 05:34 PM   #7
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Glad you read the upgrading instructions and changelog...

Code:
0.9.8 -> 0.9.9 - Replace all files located in /scripts/nxTools/.
               - Remove your nukes and requests database from /scripts/nxTools/data/
                 and recreate them using the "SITE DB CREATE" command.
               - Changed config option: dupe(RebuildPaths), newdate(Default), and
                 pretime(CheckPaths).
               - Renamed config options: misc(UTC_Time) to misc(UtcTime) and
                 pre(ChownUID) to pre(ChownUserId).
               - Repeat steps 1 to 3 in the installation section.
Code:
nxTools v0.9.9 (03-27-2005):
  NEW: SITE BOT BW to view the site's current usage.
  NEW: SITE NUKETOP [-max <limit>] [group] to view the top-nuked users.
  NEW: The SITE DB CREATE command checks database schema versions.
  CHG: All configuration files and extensions are loaded by init.itcl when the interpreter is initialized.
  CHG: Cleaned up database opening and improved error messages.
  CHG: Directory tags are safely removed, in case there are files inside.
  CHG: Moved all functions into the ::nxTools namespace, and scripts into a child namespace.
  CHG: Newdate area, pre check path, and rebuild path options are now defined in a Tcl list format.
  CHG: Redesigned the nukes database; nukees are now stored in a separate table.
  CHG: Renamed all .itcl extensions to .tcl, since iTcl is short for "incr Tcl". 
  CHG: SITE REQUESTS to view requests, instead of "SITE REQUEST" with no parameters.
  CHG: The original nukes database records are updated when releases are unnuked and re-nuked.
  FIX: Approved releases that already exist were also added to the approve list.
  FIX: Pre areas weren't listed on SITE PRE HELP.
  FIX: The security check on SITE UNDUPE was not working properly.
neoxed is offline   Reply With Quote
Old 04-02-2005, 06:05 PM   #8
PaRaNoiD_JaCK
Senior Member
FlashFXP Beta Tester
ioFTPD Foundation User
 
Join Date: Mar 2005
Posts: 101
Default

Thank you for clearing that up during my stupidity. All works great now.

thanks.

PaRaNoiD_JaCK is offline   Reply With Quote
Old 04-03-2005, 10:46 PM   #9
MidasKing
Senior Member
ioFTPD Foundation User
 
Join Date: Nov 2003
Posts: 108
Default

Hi all,

Exists some way to have a list of releases approved in channel, using nxTools? (!APPROVEDLIST)

It would be very cool!!!!
MidasKing is offline   Reply With Quote
Reply

Tags
$mysqlconnhandle, line, mysqlclose, mysqlconnhandle, procedure

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
To The FlashFXP Soft Admin. AcE-FTPlus General Discussion 0 04-30-2005 05:23 AM


All times are GMT -5. The time now is 10:56 AM.

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