6.0.0-alpha12
6/9/25

[#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 10/13/2005 (7179 days ago)
Due
Updated 10/14/2005 (7178 days ago)
Assigned 10/14/2005 (7178 days ago)
Resolved 10/14/2005 (7178 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/14/2005 08:56:29 AM 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.
10/14/2005 08:36:41 AM 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" }
10/14/2005 08:05:42 AM 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.
10/13/2005 11:57:27 AM c (dot) menssen (at) web (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
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