Go Back   FlashFXP Forums > > > >

Web interface PHP, iTCL scripts to ease administration.

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-03-2004, 11:36 AM   #1
iXi
Senior Member
ioFTPD Foundation User
 
Join Date: Nov 2002
Posts: 220
Default Question about the test.php

When i execut the test.php in http2 fordern.. via http interface i always get this errors why?
Quote:
foo
User: anonymous
User: darkone
User: ioFTPD

Warning: io_user_name(): Invalid UID in d:\ioFTPD\text\http\test.php on line 21
User:
Uid :0
Gid :0
Mode:448
Has access!
Uid :101
Gid :101
Mode:448
Client list:
Kill Cid: 1 Uid: -1 Host: *@localhost
Kill Cid: 2 Uid: -1 Host: *@localhost

..

Warning: io_fs_open(): 2 in d:\ioFTPD\text\http\test.php on line 114

Warning: io_fs_close() expects parameter 1 to be resource, boolean given in d:\ioFTPD\text\http\test.php on line 121

Warning: io_fs_open(): 2 in d:\ioFTPD\text\http\test.php on line 114

Warning: io_fs_close() expects parameter 1 to be resource, boolean given in d:\ioFTPD\text\http\test.php on line 121

Warning: io_fs_open(): 3 in d:\ioFTPD\text\http\test.php on line 114

Warning: io_fs_close() expects parameter 1 to be resource, boolean given in d:\ioFTPD\text\http\test.php on line 121
0:0 home
0:0 mnt
0:0 private
0:0 pub

List took 4.76837158203E-007 seconds to execute
iXi is offline   Reply With Quote
Old 03-03-2004, 12:05 PM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

expected.
this file is only to show how to use the different functions.
not expected to work as is.
Mouton is offline   Reply With Quote
Old 04-04-2004, 08:36 AM   #3
Farch
Junior Member
 
Join Date: Jul 2002
Posts: 5
Default

I am on it. but..
who`s that?
Quote:
Uid: -1

Warning: io_user_name(): Invalid UID in D:\Inet\ioFTPD\text\http2\index.php on line 58
Name: Cid: 4 Uid: -1
Farch is offline   Reply With Quote
Old 04-04-2004, 09:13 AM   #4
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

SITE SWHO
Check if there is a CID=4 and if so, who it is.

Check the PHP code to see what users it's listing, etc.

-1 = invalid btw...
Mouton is offline   Reply With Quote
Old 05-01-2004, 11:22 PM   #5
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Yep.. http connections aren't bound to user id atm (i'll reveal commands for changing process owner from httpd at some later point)
darkone is offline   Reply With Quote
Reply

Tags
dioftpdtexthttptest.php, line, uid, user, warning

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
bandwidth control zoranb General Discussion 1 05-24-2005 02:02 AM
Ctrl + no longer works in 3.0 Keymaster General Discussion 8 08-16-2004 12:01 AM


All times are GMT -5. The time now is 02:21 PM.

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