Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I just moved my site from dev subdomain to main site and I got this error message
warning: mkdir() [function.mkdir]: Permission denied in /home/site/public_html/sites/all/modules/imagecache/imagecache.module on line 164.
anyone know what that means?
Comments
Comment #1
dopry CreditAttribution: dopry commentedYeah, your server doesn't have permission to create the imagecache directory. check your permissions.
Comment #2
femrich CreditAttribution: femrich commentedI'm experiencing the same problem. Here's what I was doing:
I have a test website on a server at address www.A and wanted to move it to www.B, the live site address. I had my host setup the site at www.B, then copied my files (including imagecache files), themes, and modules from the site A installation to the site B installation. Then, on the advice of my host, rather than create a copy of the (large) database for site A, I simply rewrote the drupal configuration file for site B to use the same database as site A.
The new site B seems to perfectly reproduce site A except for an error like the error noted above, which appears persistently throughout site B.
my error:
warning: mkdir() [function.mkdir]: File exists in /home/femrich/public_html/kimeptimes/sites/all/modules/imagecache/imagecache.module on line 483.
I have checked and double-checked permissions throughout both installations and they are identical.
Is there something this scenario suggests that might tell you what could be going on, or how I could trouble-shoot it? I did see another thread (http://drupal.org/node/227325) suggesting a solution of deleting and then recreating imagecache presents. I have not tried that yet, as I would prefer to begin with a neater solution as I would like to associate these two sites to share the database over time. Any suggestions?
Thanks.
Comment #3
femrich CreditAttribution: femrich commentedChanging this to critical as it disables imagecache.
Comment #4
robomalo CreditAttribution: robomalo commentedI am having the same issue in the latest 5.x version. It started after I upgraded to imagecache 2.
Comment #5
psynaptic CreditAttribution: psynaptic commentedI've just been looking into this and it seems like it was a group/owner permissions thing. I changed all the files within my files directory to be owned by, and within the group, apache.
Comment #6
dman CreditAttribution: dman commentedIn an attempt to clean up the issue queue a little, Please have a look at Troubleshooting imagecache MIGRATION and I'll close this issue for now. Hopefully it's OK.
Comment #7
elianmGreat! This was really helpful. Thanks psynaptic.
Comment #8
carloseduardo CreditAttribution: carloseduardo commentedHello.
I have problems with OpenScholar.
warning: mkdir() [function.mkdir]: Permission denied in /Applications/MAMP/htdocs/SCHOLAR/sites/all/modules/contrib/imagecache/imagecache.module on line 555.
How can i fix it?
Comment #9
carloseduardo CreditAttribution: carloseduardo commentedHello friends.
I wanto to use OpenScholar, but i can't, i have a WARNING.
Somebody can help me?
warning: mkdir() [function.mkdir]: Permission denied in /Applications/MAMP/htdocs/SCHOLAR/sites/all/modules/contrib/imagecache/imagecache.module on line 555.
Comment #10
andyhickner CreditAttribution: andyhickner commentedI struggled with this for hours, double-checking permissions and filesystem paths. Finally fixed it by deleting & re-installing ImageCache. Worked like a charm.
Comment #11
apaderno