I just installed phpform from fantastico and then I updated it with the 2.09 file from here and when I try and go and delete the sample form I get this error below. I checked the permissions and they seem ok, any suggestions.
Warning: unlink(use/sdf/admin/config.inc.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/data.dat): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/delete_file_rec.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/delete_rec.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/global.inc.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/index.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: rmdir(use/sdf/admin): Directory not empty in /home/blakiced/public_html/Form/copyfunc.php on line 58
Warning: unlink(use/sdf/files/02_42_28_haar.html): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: rmdir(use/sdf/files): Directory not empty in /home/blakiced/public_html/Form/copyfunc.php on line 58
Warning: rmdir(use/sdf): Directory not empty in /home/blakiced/public_html/Form/copyfunc.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at /home/blakiced/public_html/Form/copyfunc.php:54) in /home/blakiced/public_html/Form/del_form.php on line 13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
again, the best solution is not using Fantastico. Remember, prevention is better than cure :P I have mentioned a number of times that Fantastico's implementation/installation of the phpFormGenerator is whacky and it does wierd things. So you are better off downloading and installing the program on your own.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are still having this problem, it may be because the 'use' or 'sdf' directory does has the right permissions, but the files inside don't. Try using the command
chmod -R 777
or you can do the files individually, with your FTP/SFTP client.
A reason this might be happening is the webserver runs as a different user than you. It sees you as the owner of those files and wont let the webserver delete them, because it doesnt own them. Changing permissions on those files (not just the directories) will allow the program to delete them for you.
Steve
-------------------
Microterra Technical Staff
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just installed phpform from fantastico and then I updated it with the 2.09 file from here and when I try and go and delete the sample form I get this error below. I checked the permissions and they seem ok, any suggestions.
Warning: unlink(use/sdf/admin/config.inc.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/data.dat): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/delete_file_rec.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/delete_rec.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/global.inc.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: unlink(use/sdf/admin/index.php): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: rmdir(use/sdf/admin): Directory not empty in /home/blakiced/public_html/Form/copyfunc.php on line 58
Warning: unlink(use/sdf/files/02_42_28_haar.html): Permission denied in /home/blakiced/public_html/Form/copyfunc.php on line 54
Warning: rmdir(use/sdf/files): Directory not empty in /home/blakiced/public_html/Form/copyfunc.php on line 58
Warning: rmdir(use/sdf): Directory not empty in /home/blakiced/public_html/Form/copyfunc.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at /home/blakiced/public_html/Form/copyfunc.php:54) in /home/blakiced/public_html/Form/del_form.php on line 13
again, the best solution is not using Fantastico. Remember, prevention is better than cure :P I have mentioned a number of times that Fantastico's implementation/installation of the phpFormGenerator is whacky and it does wierd things. So you are better off downloading and installing the program on your own.
If you are still having this problem, it may be because the 'use' or 'sdf' directory does has the right permissions, but the files inside don't. Try using the command
chmod -R 777
or you can do the files individually, with your FTP/SFTP client.
A reason this might be happening is the webserver runs as a different user than you. It sees you as the owner of those files and wont let the webserver delete them, because it doesnt own them. Changing permissions on those files (not just the directories) will allow the program to delete them for you.
Steve
-------------------
Microterra Technical Staff
Hi,
most subfolders and files unders the /use/ directory are coming up as owner and group 99, rather than my own username.
Cannot see a way to change this twith FTP, any ideas?
I just want to delete some test installs.
Thanks