Can't delete blocks on server?

Permalink Browser Info Environment
Hey all,

I'm just playing with this Add-On and can't seem to delete the blocks on the server. I've tried changing permissions, but no luck. Any ideas?

Type: Discussion
Status: New
juddc
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Some users have reported this issue. Unfortunately I haven't been able to come up with an ideal solution to it. The issue is that your hosting company has your server set so that files created by the web server process are not deletable by you as a user when you FTP into the server.

There is a feature I've added that I hoped would solve this issue, and you can try it and see if it works -- but note that this would only apply to future blocks you create with Designer Content (not the ones you've already created and are having problems with now). To do this, add the following line of code to the end of your config/site.php file:
define('DESIGNER_CONTENT_FILE_CHMOD', 0666);


To get rid of the ones you have, you'll need to ask your web hosting company's tech support to delete those for you. (Or if you want to get complicated, you could write a php script that deletes them and run that script from your server -- so the web server process is the thing deleting the files and not you. But this is kind of annoying and opens you up to potential security risks if you aren't extremely comfortable with the ins and outs of PHP and server permission systems).

Sorry this is causing you trouble -- I wish it were easier to address.

-Jordan
juddc replied on at Permalink Reply
juddc
Thanks - Yeah its a little frustrating not to be able to get rid of those blocks. I'll let you know if I come up with anything.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.