6.0.0-git
2019-03-20

[#2776] No String to Long Conversion @ posix_getpwuid / posix_getgrgid
Summary No String to Long Conversion @ posix_getpwuid / posix_getgrgid
Queue Gollem
Queue Version HEAD
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester c.menssen (at) web (dot) de
Created 2005-10-13 (4906 days ago)
Due
Updated 2005-10-14 (4905 days ago)
Assigned 2005-10-14 (4905 days ago)
Resolved 2005-10-14 (4905 days ago)
Milestone
Patch No

History
2005-10-14 08:56:29 Jan Schneider Comment #4
State ⇒ Not A Bug
Reply to this comment
Disable maplocalids in your Gollem configuration, your FTP server does 
map them already.
2005-10-14 08:36:41 c (dot) menssen (at) web (dot) de Comment #3 Reply to this comment
I'm using ProFTPD 1.2.10



string(4) "unix" array(9) { [0]=>  string(10) "drwxr-xr-x" [1]=>   
string(1) "2" [2]=>  string(5) "chris" [3]=>  string(4) "root" [4]=>   
string(2) "38" [5]=>  string(3) "Oct" [6]=>  string(2) "12" [7]=>   
string(5) "06:56" [8]=>  string(1) "." }

Warning: posix_getpwuid() expects parameter 1 to be long, string given 
in /usr/share/php/VFS/ftp.php on line 471



Warning: posix_getgrgid() expects parameter 1 to be long, string given 
in /usr/share/php/VFS/ftp.php on line 476

string(4) "unix" array(9) { [0]=> string(10) "-rw-r--r--" [1]=> 
string(1) "1" [2]=> string(5) "chris" [3]=> string(5) "users" [4]=> 
string(5) "37351" [5]=> string(3) "Oct" [6]=> string(2) "12" [7]=> 
string(5) "06:54" [8]=> string(9) "test.jpg" }
2005-10-14 08:05:42 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Please put a



var_dump($type, $item);



in line 463 and post the output. And tell us what FTP server you use.
2005-10-13 11:57:27 c (dot) menssen (at) web (dot) de Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ No String to Long Conversion @ posix_getpwuid / posix_getgrgid
Queue ⇒ Gollem
Reply to this comment
Warning: posix_getpwuid() expects parameter 1 to be long, string given 
in /usr/share/php/VFS/ftp.php on line 470



Warning: posix_getgrgid() expects parameter 1 to be long, string given 
in /usr/share/php/VFS/ftp.php on line 475

Saved Queries