View Full Version : NXTools- New Version

03-28-2005, 05:42 AM

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.

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
(procedure "PreTimeCheck" line 12)
invoked from within
"PreTimeCheck $VirtualPath"

Do you know what's wrong?



03-28-2005, 12:52 PM
Whoops, small typo. :p

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.

03-28-2005, 03:50 PM

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

I watch it with phpmyadmin on xampp.

Do you what coul be wrong?



04-02-2005, 10:43 AM
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.

04-02-2005, 03:00 PM
PaRaNoiD_JaCK: Check logs\systemerror.log then.

04-02-2005, 03:24 PM
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 :/

04-02-2005, 05:34 PM
Glad you read the upgrading instructions and changelog...

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
- Renamed config options: misc(UTC_Time) to misc(UtcTime) and
pre(ChownUID) to pre(ChownUserId).
- Repeat steps 1 to 3 in the installation section.

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.

04-02-2005, 06:05 PM
Thank you for clearing that up during my stupidity. All works great now.



04-03-2005, 10:46 PM
Hi all,

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

It would be very cool!!!!