Menu

Cant Delete sdf file

Help
BlakBox
2004-09-20
2013-06-03
  • BlakBox

    BlakBox - 2004-09-20

    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

     
    • Musawir Ali

      Musawir Ali - 2004-09-24

      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.

       
    • Stephen Hale

      Stephen Hale - 2004-09-30

      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

       
    • MamboVince

      MamboVince - 2005-01-14

      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

       

Log in to post a comment.