ID: 20863 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Bogus Bug Type: Filesystem function related Operating System: SuSE 7.3 Pro PHP Version: 4CVS-2002-12-06 (stable) New Comment:
Most likely user error since this is the only report about it.. Previous Comments: ------------------------------------------------------------------------ [2002-12-06 12:32:48] [EMAIL PROTECTED] I am unsure as to what is going on. I do not see any symlinks at all actually. When I ran the same script with /usr/bin (no sub-direcories in /usr/bin) it ran fine (slowly, but fine). So this cannot be something referring to a memory buffer or cache. It is probably my coding. I appreciate your help very much. ------------------------------------------------------------------------ [2002-12-06 12:15:39] [EMAIL PROTECTED] Does your directory structure you are doing md5s on, have any recursive symlinks or any symlinks for that matter? ------------------------------------------------------------------------ [2002-12-06 12:14:20] [EMAIL PROTECTED] This is running as a script, from a shell (i.e. #!/usr/local/bin/php); not as a web app. We are trying to create a script that (scheduled from cron) will create MD5 for all files for a type of tracking system. ------------------------------------------------------------------------ [2002-12-06 12:08:31] [EMAIL PROTECTED] I added error_reporting(E_ALL) and got no errors or warnings. I actually do not get anything but the expected output... /home/webdev/$dir/$file : $md5 ...unless I change the md5 calculation to that of the binary one here: http://www.php.net/manual/en/function.md5-file.php. Then I get a FATAL: emalloc() Could not allocate xxxxx bytes. But this is not how I run this script. I always use the md5_file() or exec() functions to calc. the MD5 of the file. Other than the expected output, with or without E_ALL set, I get nothing, hanging after about 20 or so md5 calculations. Can you reproduce this when you copy+paste this and run it? ------------------------------------------------------------------------ [2002-12-06 11:45:50] [EMAIL PROTECTED] Could you please remove the @ from your script, which block error message and set error repoting level to E_ALL. Please include any warning messages in your reply. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20863 -- Edit this bug report at http://bugs.php.net/?id=20863&edit=1
