Hi, I already knew my server ran php in safe mode but I don't understand why I'm receiving this message. The code I'm trying to run is:
mkdir("$path/$directory", 0777);
chmod("$path/$directory", 0777);
mkdir("$path/$directory/basstabs", 0777);
chmod("$path/$directory/basstabs", 0777);
mkdir("$path/$directory/drumtabs", 0777);
chmod("$path/$directory/drumtabs", 0777);
mkdir("$path/$directory/guitartabs", 0777);
chmod("$path/$directory/guitartabs", 0777);
mkdir("$path/$directory/lyrics", 0777);
chmod("$path/$directory/lyrics", 0777);
When I ran this the first directory is created but none of the sub directories are created. The message I receive is at the bottom when I set the variable $directory equal to bandname. I would appreciate you help. Thanx in advance.
Warning: SAFE MODE Restriction in effect. The script whose uid is 560 is not allowed to access /home/virtual/site56/fst/var/ owned by uid 48 in /home/virtual/site56/fst/var/ on line 112
Warning: Unable to access /home/virtual/site56/fst/var/ in /home/virtual/site56/fst/var/ on line 113
Warning: chmod failed: No such file or directory in /home/virtual/site56/fst/var/ on line 113
Warning: SAFE MODE Restriction in effect. The script whose uid is 560 is not allowed to access /home/virtual/site56/fst/var/ owned by uid 48 in /home/virtual/site56/fst/var/ on line 114
Warning: Unable to access /home/virtual/site56/fst/var/ in /home/virtual/site56/fst/var/ on line 115
Warning: chmod failed: No such file or directory in /home/virtual/site56/fst/var/ on line 115
Warning: SAFE MODE Restriction in effect. The script whose uid is 560 is not allowed to access /home/virtual/site56/fst/var/ owned by uid 48 in /home/virtual/site56/fst/var/ on line 116
Warning: Unable to access /home/virtual/site56/fst/var/ in /home/virtual/site56/fst/var/ on line 117
Warning: chmod failed: No such file or directory in /home/virtual/site56/fst/var/ on line 117
Warning: SAFE MODE Restriction in effect. The script whose uid is 560 is not allowed to access /home/virtual/site56/fst/var/ owned by uid 48 in /home/virtual/site56/fst/var/ on line 118
Warning: Unable to access /home/virtual/site56/fst/var/ in /home/virtual/site56/fst/var/ on line 119
Warning: chmod failed: No such file or directory in /home/virtual/site56/fst/var/ on line 119
mkdir("$path/$directory", 0777);
chmod("$path/$directory", 0777);
mkdir("$path/$directory/basstabs", 0777);
chmod("$path/$directory/basstabs", 0777);
mkdir("$path/$directory/drumtabs", 0777);
chmod("$path/$directory/drumtabs", 0777);
mkdir("$path/$directory/guitartabs", 0777);
chmod("$path/$directory/guitartabs", 0777);
mkdir("$path/$directory/lyrics", 0777);
chmod("$path/$directory/lyrics", 0777);
When I ran this the first directory is created but none of the sub directories are created. The message I receive is at the bottom when I set the variable $directory equal to bandname. I would appreciate you help. Thanx in advance.
Warning: SAFE MODE Restriction in effect. The script whose uid is 560 is not allowed to access /home/virtual/site56/fst/var/ owned by uid 48 in /home/virtual/site56/fst/var/ on line 112
Warning: Unable to access /home/virtual/site56/fst/var/ in /home/virtual/site56/fst/var/ on line 113
Warning: chmod failed: No such file or directory in /home/virtual/site56/fst/var/ on line 113
Warning: SAFE MODE Restriction in effect. The script whose uid is 560 is not allowed to access /home/virtual/site56/fst/var/ owned by uid 48 in /home/virtual/site56/fst/var/ on line 114
Warning: Unable to access /home/virtual/site56/fst/var/ in /home/virtual/site56/fst/var/ on line 115
Warning: chmod failed: No such file or directory in /home/virtual/site56/fst/var/ on line 115
Warning: SAFE MODE Restriction in effect. The script whose uid is 560 is not allowed to access /home/virtual/site56/fst/var/ owned by uid 48 in /home/virtual/site56/fst/var/ on line 116
Warning: Unable to access /home/virtual/site56/fst/var/ in /home/virtual/site56/fst/var/ on line 117
Warning: chmod failed: No such file or directory in /home/virtual/site56/fst/var/ on line 117
Warning: SAFE MODE Restriction in effect. The script whose uid is 560 is not allowed to access /home/virtual/site56/fst/var/ owned by uid 48 in /home/virtual/site56/fst/var/ on line 118
Warning: Unable to access /home/virtual/site56/fst/var/ in /home/virtual/site56/fst/var/ on line 119
Warning: chmod failed: No such file or directory in /home/virtual/site56/fst/var/ on line 119