Page 1 of 1

Delete files problem

Posted: Tue 13. Jul 2010, 20:28
by Dan-G
I have deleted various files in the phpwcms file manager and click 'remove delete files' in admin but they do not go to 'can_be_deleted' folder. I have permissions set at 777 for filearchive and can_be_deleted folder.

Eek! Have now run out of web space!

Dan

Re: Delete files problem

Posted: Tue 13. Jul 2010, 20:32
by flip-flop
1. Clear the trashcan in filemanager
2. "remove delete files" in admin

Knut

Re: Delete files problem

Posted: Wed 14. Jul 2010, 11:07
by Dan-G
Ah there we go. So simple... Thank you!

Re: Delete files problem

Posted: Wed 18. Aug 2010, 14:25
by Dan-G
I am raising this thread again because I have just had another client complain that they have exceeded their disk space despite having deleted all their files.

WHY on earth is it necessary to have FOUR steps to delete a file?!

1. Delete in file manager
2. Empty trash
3. Remove deleted files in Admin
4. Empty can be deleted folder via FTP

phpwcms is great for it's easy usability but this is just patently ridiculous! This process should end at step 2. I just cannot expect a client to go through all those steps.

ok, rant over... anyone got a fix?!

Re: Delete files problem

Posted: Thu 19. Aug 2010, 18:51
by flip-flop
Would it help?

Image

Knut

Re: Delete files problem

Posted: Thu 19. Aug 2010, 18:58
by update
:lol:
This would help everyone I bet! One-click-easy-go! :lol:

Re: Delete files problem

Posted: Fri 20. Aug 2010, 10:39
by Dan-G
That would be brilliant!

Do these custom links exist?!

Re: Delete files problem

Posted: Fri 20. Aug 2010, 19:49
by flip-flop
Yes it does.

I will publish it this weekend.

Knut

Re: Delete files problem

Posted: Mon 23. Aug 2010, 14:39
by flip-flop
Have a look: Custom links in "home"

Complete package: without any hack!!!!
- new startupX.php
- language files
- A passive file browser with some extensions
- act_fileX.php -> “delete all files from filecenter trash can

Knut

Re: Delete files problem

Posted: Thu 3. Feb 2011, 15:29
by Dan-G
Hey Knut,

Thanks for this. Works really nicely.

I did have to make some changes in startupX.php as it was not working finding the correct language. I made it include 'startupX_en.php' directly, which works fine for my purposes.

Code: Select all

// ====== Load the right backend custom language file =================== 

	include(PHPWCMS_ROOT.'/include/inc_ext/be_special/lang/backend/en/lang.inc.php');

// ====== Set up the right container around the output ===================

echo '<h1 class="title" style="margin: 0pt;">'.$BL["be_custom_link_title"].'</h1>';
echo '<div style="border:1px solid #ccc;padding:1px; margin-top:5px; background: #FFFEEF;">';

// ====== Load language sensitive startupX_YY file ===================

if (is_file(PHPWCMS_ROOT.'/include/inc_ext/be_special/startupX_en.php')) // language sensitive file?
	include(PHPWCMS_ROOT.'/include/inc_ext/be_special/startupX_en.php'); // reads the new startup file
Thanks again.
Dan