error trying to move themes to trash
Permalink
I keep getting the below error,
The following errors occurred when attempting to process your request:
* Unable to uninstall hobbit theme by moving it to the trash.
I have chmod the /files/trash/ folder to 777 and also have tried chown it to my username as the owner of the directory and I still can not move them to trash.
Can someone please tell me what I am doing wrong?
Thanks,
Ken
The following errors occurred when attempting to process your request:
* Unable to uninstall hobbit theme by moving it to the trash.
I have chmod the /files/trash/ folder to 777 and also have tried chown it to my username as the owner of the directory and I still can not move them to trash.
Can someone please tell me what I am doing wrong?
Thanks,
Ken
Been talking with buckminster1 via email and I find out from him that previous version had this issue, but I do have the current version that was suppose to correct this issue. Need help here.
I also got this problem, im using 5.2 RC2.
Ok, here is the deal. I have upgraded to 5.2.0 and that went smooth. I like Concrete 5, it is very easy to use and I am willing to wait for other add-ons, whoever, I do not like the total lack of support. I have posted two different questions and no a one has been answered.
This could cause me to leave. Talking to buckminster1 and reading the forums I found that that there was a bug with deleting the themes. buckminster1 suggested that I upgrade to 5.2 RC2, which I was running, downloaded from sourceforge. This was also confirmed by the dashboard and /tools/required/upgrade.php. Today I seen there was an upgrade, did what I needed to do and I am still unable to remove themes that I do not want. Someone please help me with this issue.
Again, I have check the permissions and owner/group on the folders and I don't see an issue. Please, Please, Please help!!!!
This could cause me to leave. Talking to buckminster1 and reading the forums I found that that there was a bug with deleting the themes. buckminster1 suggested that I upgrade to 5.2 RC2, which I was running, downloaded from sourceforge. This was also confirmed by the dashboard and /tools/required/upgrade.php. Today I seen there was an upgrade, did what I needed to do and I am still unable to remove themes that I do not want. Someone please help me with this issue.
Again, I have check the permissions and owner/group on the folders and I don't see an issue. Please, Please, Please help!!!!
I see this thread about not being able to cleanup themes you're not using.
I agree and sympathize, that's frustrating. I don't see it as a mission critical issue, but I can understand why it'd be infuriating.
Sadly, I can not fix this problem for you myself. I also, unfortunately, can not afford to pay someone to fix this problem for you today.
Perhaps someone might help you for free here? I dunno.
I wish I could provide a better answer for you, but the reality is we're not working on some grant here or crazy VC bucks. We get paid by the hour just like you, and to be frank - my people gotta eat.
If it's any consolation, I feel deeply bothered by our in-ability to deliver free or next to free support in addition to a free product - I'm just not sure how to pull that off.
I agree and sympathize, that's frustrating. I don't see it as a mission critical issue, but I can understand why it'd be infuriating.
Sadly, I can not fix this problem for you myself. I also, unfortunately, can not afford to pay someone to fix this problem for you today.
Perhaps someone might help you for free here? I dunno.
I wish I could provide a better answer for you, but the reality is we're not working on some grant here or crazy VC bucks. We get paid by the hour just like you, and to be frank - my people gotta eat.
If it's any consolation, I feel deeply bothered by our in-ability to deliver free or next to free support in addition to a free product - I'm just not sure how to pull that off.
There is an issue with the hobbit theme. As a general rule do not install any themes that appear as (No Name) and (No Description). This is a clear indication that something is wrong with that theme.
If you have installed a theme like this (ie the-hobbit) then you can manually delete it by:
1. Open your concrete5 database with your mySQL editor
2. Inspect the table "PageThemes"
3. Find the row that matches your problem theme - in this case it is "the-hobbit" as stated in the "ptHandle" column.
4. Delete this row
the theme will now be deleted from your installed packages and you can delete it from your directory.
If you have installed a theme like this (ie the-hobbit) then you can manually delete it by:
1. Open your concrete5 database with your mySQL editor
2. Inspect the table "PageThemes"
3. Find the row that matches your problem theme - in this case it is "the-hobbit" as stated in the "ptHandle" column.
4. Delete this row
the theme will now be deleted from your installed packages and you can delete it from your directory.
To anyone who is having this problem, do you think you could modify line 34 of concrete/models/page_theme_archive.php, changing
$r = @rename(DIR_FILES_THEMES . '/' . $theme, DIR_FILES_TRASH . '/' . $theme . time());
to
$r = rename(DIR_FILES_THEMES . '/' . $theme, DIR_FILES_TRASH . '/' . $theme . time());
(Removing the @ symbol). I'm wondering if there's some other reason that rename is failing besides the permissions (perhaps your system isn't setup to allow rename to actually change directories as well as names.)
$r = @rename(DIR_FILES_THEMES . '/' . $theme, DIR_FILES_TRASH . '/' . $theme . time());
to
$r = rename(DIR_FILES_THEMES . '/' . $theme, DIR_FILES_TRASH . '/' . $theme . time());
(Removing the @ symbol). I'm wondering if there's some other reason that rename is failing besides the permissions (perhaps your system isn't setup to allow rename to actually change directories as well as names.)
Warning: rename(/var/www/themes/the-column-cruiser-v2,/var/www/files/trash/the-column-cruiser-v21233967929) [function.rename]: Permission denied in /var/www/concrete/models/page_theme_archive.php on line 34
I have my own webserver and I have chmod and chown several different ways and it is a now go. I made the template directory 777 I have made the trash 777 and still no go.
I am glad that someone is trying something now, because I am looking at using this and using their hosting for my customers that I build websites for. The previous message really burned me. Had enough time to type a long message, instead off giving a few suggestions.
Thanks Andrew for you reply.
I have my own webserver and I have chmod and chown several different ways and it is a now go. I made the template directory 777 I have made the trash 777 and still no go.
I am glad that someone is trying something now, because I am looking at using this and using their hosting for my customers that I build websites for. The previous message really burned me. Had enough time to type a long message, instead off giving a few suggestions.
Thanks Andrew for you reply.
Hello dunvar,
Just want to make sure that you noticed TravisN's solution above.
The problem appears to be related to the theme not having a proper description.txt file (ie "No Name"). I had the same problem with a custom theme that I failed to include a description.txt in before installing.
As I understand it, the problem isn't related to permissions of directories on your web server, but simply the inability of Concrete to handle incorrectly configured themes.
Follow the instructions in TravisN's post to remove the offending theme(s).
Just want to make sure that you noticed TravisN's solution above.
The problem appears to be related to the theme not having a proper description.txt file (ie "No Name"). I had the same problem with a custom theme that I failed to include a description.txt in before installing.
As I understand it, the problem isn't related to permissions of directories on your web server, but simply the inability of Concrete to handle incorrectly configured themes.
Follow the instructions in TravisN's post to remove the offending theme(s).