import / export ERROR: Could not create cache directory

This topic contains 15 replies, has 3 voices, and was last updated by  pointbweb 8 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #289063

    pointbweb
    Expired Member
    Post count: 24

    Trying to export (anything – listings, categories, locations, neighborhoods) keep getting this error:
    ERROR: Could not create cache directory. This is usually due to inconsistent file permissions.

    I’ve tried pretty much giving all the folders full write permissions but nothing has worked. Why can’t the error message indicate WHICH FOLDER needs permissions???

    #289071

    Guust
    Moderator
    Post count: 29970

    It is the wp-content/uploads/ folder, where it tries to create a wp-content/uploads/cache subfolder.
    You will need to enable write permissions, 755 should work.

    #289073

    pointbweb
    Expired Member
    Post count: 24

    Nope. Same error. I tried 777 on all the subfolders as well. Still errors.

    #289090

    pointbweb
    Expired Member
    Post count: 24

    I was able to get the sample csv files. I populated one of those and tried importing Listings and got the same error: ERROR: Could not create cache directory. This is usually due to inconsistent file permissions.

    I checked the uploads folder and GD DID create: /wp-content/uploads/2016/10/temp_1 and it DID dump my csv file in there before it quit.

    Need to get this resolved.

    #289104

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    Please provide wp-admin AND FTP info in a private reply (only staff can see) and i will take a look, most likely we need to change the way WordPress writes files to one of the other types.

    Thanks,

    Stiofan

    #289105

    pointbweb
    Expired Member
    Post count: 24
    This reply has been marked as private.
    #289180

    pointbweb
    Expired Member
    Post count: 24

    Anything…….?

    #289229

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    FTP seems wrong can you check it “530 Login authentication failed”

    Thanks,

    Stiofan

    #289232

    pointbweb
    Expired Member
    Post count: 24
    This reply has been marked as private.
    #289233

    pointbweb
    Expired Member
    Post count: 24

    oops – please mark that as private nevermind

    #289249

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #289472

    pointbweb
    Expired Member
    Post count: 24

    That is the correct path. But when I try to import, it creates the _temp1 folder in home/choices/public_html/_mod.choicesforachange.org/wp-content/uploads/2016/10/ and uploads my csv to it, but still errors.

    #289482

    pointbweb
    Expired Member
    Post count: 24

    …ok, since you are in a different time zone and I need to get this resolved, I moved the entire site from a subdomain account to it’s own account and updated all the paths, ownership and permissions and I am getting the EXACT SAME PROBLEMS.

    I’ll give you the updated FTP access info and hope you can fix this ASAP.

    #289484

    pointbweb
    Expired Member
    Post count: 24
    This reply has been marked as private.
    #289590

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Thanks for the info, i checked in your wp-config.php and from the comments it looks like u or some dev have been having problems with this in the past with WordPress file system, i have added this line to that file and it seems to work:

    define( 'FS_METHOD', 'direct' );

    Please check and confirm.

    Thanks,

    Stiofan

Viewing 15 posts - 1 through 15 (of 16 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount