Delete files problem

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
Dan-G
Posts: 50
Joined: Fri 11. Apr 2008, 12:14

Delete files problem

Post 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
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Delete files problem

Post by flip-flop »

1. Clear the trashcan in filemanager
2. "remove delete files" in admin

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Dan-G
Posts: 50
Joined: Fri 11. Apr 2008, 12:14

Re: Delete files problem

Post by Dan-G »

Ah there we go. So simple... Thank you!
User avatar
Dan-G
Posts: 50
Joined: Fri 11. Apr 2008, 12:14

Re: Delete files problem

Post 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?!
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Delete files problem

Post by flip-flop »

Would it help?

Image

Knut
Last edited by flip-flop on Mon 23. Aug 2010, 23:47, edited 2 times in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Delete files problem

Post by update »

:lol:
This would help everyone I bet! One-click-easy-go! :lol:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
Dan-G
Posts: 50
Joined: Fri 11. Apr 2008, 12:14

Re: Delete files problem

Post by Dan-G »

That would be brilliant!

Do these custom links exist?!
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Delete files problem

Post by flip-flop »

Yes it does.

I will publish it this weekend.

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: Delete files problem

Post 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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Dan-G
Posts: 50
Joined: Fri 11. Apr 2008, 12:14

Re: Delete files problem

Post 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
Post Reply