You need to login to send post. No account yet? Create one:
Create account

Help!!! I can't edit and delete files in folder created by Drupal Zenophile module!

1 reply [Last post]
Thomas

My FileZilla as well as webhosting's file manager is telling me I haven't permissions to edit or delete files and folder itself...

admin
You have to use PHP

This folder as well as files inside are created by PHP, so you are not its 'owner'. You have to change permissions or copy it on local disc, delete it from hosting, and copy it back again by FTP.

Snippet for change permissions is quite simple:

<?php  chmod("SOME_YOUR_theme", 0777); ?>

Save it into file ('perm.php' i.e.), upload into the same folder as is folder created by Zenophile module, give it permission to execute and browse destination of 'perm.php' in your web browser.

Deleting needs a little bit longer code, because you need delete folder recursively. This code you can find here.