• Resolved dampir

    (@dampir)


    Hi

    I had the visual composer working with no issues. I updated to v34.1 and when I try to edit or create a page with visual composer, it starts downloading assets with the message:
    Downloading assets 1 of 7: Google Maps
    Don’t close this window while the download is in progress

    But the download fails with the message:
    Oops … Something Went Wrong
    WordPress Error: could not create directory

    The isn’t any errors in the browser console. I only have a FTP access to the hosting server, but the wp-content/uploads folder and all the folders in wp-content/uploads/visualcomposer-assets have write permissions.

    Can I look some log to see which directory is trying to create? Or is there any way to skip the download of the assets and edit the page?

    Regards

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Michael M

    (@mixey)

    Hi,

    Please try again should work now. We upgraded our infrastructure and there was a small downtime due to DNS records update.

    Plugin Support Rohan Khandeparkar

    (@rohanvc)

    Hi,

    Can you navigate to: Visual Composer -> Dashboard -> System Status, and check if you have any error listed there? If so, please share it with us.

    Thread Starter dampir

    (@dampir)

    Hi

    I think it’s something on my end. It still fails with the could not create directory error.

    Thread Starter dampir

    (@dampir)

    Hi, Rohan

    The only error is the “The Zip extension is not installed”, but i believe that extension has never been enabled in that server.

    Thank you

    Plugin Support Rohan Khandeparkar

    (@rohanvc)

    Hi,

    Thanks for sharing. Can you contact the hosting provider and get the Zip extension enabled on your server to make sure that it is not affecting the issue?

    Thread Starter dampir

    (@dampir)

    Hi

    The hosting provider has enabled de Zip extension. Now the Visual Composer shows the next error:

    Oops ... Something Went Wrong
    We could not create a directory for the plugin in wp-content/uploads. Check if your server has "write" permissions for wp-content/uploads.

    But that directory has write permissions.

    The hosting provider also told me that in the error log of the server there are some entries like:
    [Thu Feb 25 09:25:43.368744 2021] [php7:warn] [pid 79960] [client XXX.XXX.XXX.XXX:XXXX] PHP Warning: ftp_pwd() expects parameter 1 to be resource, null given in /<username-folder>/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 230, referer: https://iberoame.usal.es/wp-admin/admin.php?page=vcv-update

    Thanks for the help

    Plugin Support Rohan Khandeparkar

    (@rohanvc)

    Hi,

    The error log suggests an issue with FS_METHOD. It must be direct. In your case the filesystem is trying to initialize via FTP. However, the files must be downloaded locally as they contain their own controllers. You can forward this to the hosting provider, so that the change can be done.

    Thread Starter dampir

    (@dampir)

    Hi and thank you very much.

    While I wait for the hosting provider, I tried to add the define of the FS_METHOD in the wp-config and it downloaded the assets without any problem.

    Plugin Support Michael M

    (@mixey)

    We are glad we could help you out!
    Please consider reviewing our plugin (here at ww.wp.xz.cn) it will help other users to find us and get information on how good our product is.

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Error while “Downloading Assets”’ is closed to new replies.