Have any of you heard of this? Maybe it's too many people trying to create a directory at one time, or the folder is filled up..?Warning: mkdir(/home/magicvid/html/download/890ab3c61d90d409893082e7a72046fa): Too many links in /home/magicvid/public_html/view.php on line 393
Warning: symlink(): No such file or directory in /home/magicvid/public_html/view.php on line 402
Warning: Cannot modify header information - headers already sent by (output started at /home/magicvid/public_html/view.php:393) in /home/magicvid/public_html/view.php on line 408
[NOT SOLVED] mkdir - too many links?
Moderator: General Moderators
[NOT SOLVED] mkdir - too many links?
A client of mine is receiving this error:
Last edited by phice on Wed Aug 18, 2004 2:10 am, edited 1 time in total.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Phenom wrote:Just for the sake of curiosity, can you show the relevant code?
Code: Select all
umask("0000");
$dir=md5(crypt("download"));
mkdir("/home/magicvid/html/download/$dir");
if (($data[format]=="rm" || $data[format]=="ram") && $m=="s") {
if ($data[format]=="rm") { $base=str_replace(".rm","",$url);
} else { $base=str_replace(".ram","",$url); }
system("echo "http://download.magicvideodepot.com/$dir/$base.ram" > /home/magicvid/html/download/$dir/$base.rm");
symlink("/home/magicvid/download/$url","/home/magicvid/html/download/$dir/$base.ram");
$url=$base.".rm";
} else {
symlink("/home/magicvid/download/$url","/home/magicvid/html/download/$dir/$url");
}
$url="http://download.magicvideodepot.com/$dir/$url";- Fredix
- Forum Contributor
- Posts: 101
- Joined: Fri Jul 18, 2003 2:16 pm
- Location: Wehr (Eifel) Germany
- Contact:
sorry for my dumb question that probably doe not help you but reading your code I'm wondering if
is really correct, I mean is it maybe $data['format'] or $data[$format] ??
Code: Select all
<?php
$data[format]
?>