Forums

[Plugin: W3 Total Cache] Media Library & CDN Problems (23 posts)

  1. MarkHeppner
    Member
    Posted 2 years ago #

    I set up a subdomain to use for my CDN and so far everything is working great. However, it will not upload my media library for some reason. When I use the "export media library to CDN" button, it opens up and I start the transfer. It says there are 15 files to upload, but it only uploads 4. The fifth one is the actual "uploads" directory, but it keeps recognizing it as a file, not a directory. It just says "unable to upload file" for the "uploads" directory, then it stops. Previously, it wouldn't upload anything, so I manually created the "uploads" directory in the static part of my domain, and it worked. Well, the 4 image files uploaded.

    Wrong permissions? FTP error? Any ideas?

  2. Frederick Townes
    Member
    Posted 2 years ago #

    Can you paste the output here for review?

  3. navimeister
    Member
    Posted 2 years ago #

    I have similar problem, but mine is worse. I can't upload anything. Something must be wrong with FTP. First I thought it can't connect to FTP, but it can: if I manually upload a few files, and then try to export media library, I get the message that the files already exist. So the FTP connection exists, but the plugin can't upload for some reason. I get this message for all the files:

    wp-includes/images/crystal/audio.png Unable to upload file
    wp-includes/images/crystal/text.png Unable to upload file
    wp-includes/images/crystal/video.png Unable to upload file
    wp-includes/images/crystal/default.png Unable to upload file
    wp-includes/images/crystal/code.png Unable to upload file
    wp-includes/images/crystal/spreadsheet.png Unable to upload file
    wp-includes/images/crystal/document.png Unable to upload file
    wp-includes/images/crystal/interactive.png Unable to upload file
    wp-includes/images/crystal/archive.png Unable to upload file

    I also get FTP error message when testing:
    Test failed. Error: Unable to upload file: /home/users/web/xxxxx/xxxxxxxxxxxxx/wp-content/uploads/2010/03/test_file_8a32e6bed477ce466943e0ed03625275.

    Any ideas? I tried to change the static library's chmod to 777, and no change.

  4. Frederick Townes
    Member
    Posted 2 years ago #

    @navimeister you've confirmed that you can FTP with a normal FTP client also? It appears there is a permission issue.

  5. navimeister
    Member
    Posted 2 years ago #

    Yes, I can FTP with normal FTP client.

  6. Frederick Townes
    Member
    Posted 2 years ago #

    Have you tried passive mode in the plugin?

  7. navimeister
    Member
    Posted 2 years ago #

    I did, still the same error.

  8. Frederick Townes
    Member
    Posted 2 years ago #

    Yes, I can FTP with normal FTP client.

    FTP upload has been supported since the first release, so I have to ask. You tried to use the same credentials to upload the files mentioned and they worked with your normal FTP client? I'm not simply asking about successful connections.

  9. navimeister
    Member
    Posted 2 years ago #

    Yes, I can upload, overwrite, download with normal FTP client. Tried with the same username, the same folders & files, and it works.

  10. Frederick Townes
    Member
    Posted 2 years ago #

    Ok, it's best to submit a bug submission via the support tab of the plugin with access to your server.

  11. InterTrade
    Member
    Posted 2 years ago #

    I've got the same problem, and when I click on the support tab, I get the following message: "Fatal error: Call to undefined function get_user_by() in /home4/sleepama/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php on line 1238".

  12. Frederick Townes
    Member
    Posted 2 years ago #

    Either the plugin is missing files or another plugin is interfering. Are you able to check both cases (disable the rest or reinstall)?

  13. navjottomer
    Member
    Posted 2 years ago #

    I also have problem with self-hosted CDN, it is not working for me. Whenever i click on test button i get the following message: "Test failed. Error: Unable to connect to localhost:21."

  14. Frederick Townes
    Member
    Posted 2 years ago #

    "Test failed. Error: Unable to connect to localhost:21."

    Try putting 127.0.0.1 or the hostname you would use in your FTP client.

  15. navjottomer
    Member
    Posted 2 years ago #

    Try putting 127.0.0.1 or the hostname you would use in your FTP client.

    I tried both but still the same error.

  16. Frederick Townes
    Member
    Posted 2 years ago #

    Fatal error: Call to undefined function get_user_by() in /home4/sleepama/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php on line 1238

    This is fixed in the next release. Contact me for a preview version.

  17. Frederick Townes
    Member
    Posted 2 years ago #

    The only possible issues behind test failed are:

    1) wrong cdn settings
    2) permissions
    3) firewall issues (is port 21 closed)
    4) passive mode issues (try disabling)

  18. navjottomer
    Member
    Posted 2 years ago #

    The only possible issues behind test failed are:

    1) wrong cdn settings
    2) permissions
    3) firewall issues (is port 21 closed)
    4) passive mode issues (try disabling)

    1) CDN settings means ftp setting (correct me if i am wrong) are ok because it is working in my ftp client .
    2) Permissions are correct i double checked.
    3) How can i know that, it is a firewall issue. Actually port 21 is working in my ftp client and when I go through ssh and connect to localhost.
    4) I tried both passive mode disabled and enabled.

    Please help me!

  19. Frederick Townes
    Member
    Posted 2 years ago #

    I'm trying! So don't use localhost or 127.0.0.1, use the hostname you use in your desktop FTP client.

  20. navjottomer
    Member
    Posted 2 years ago #

    I'm trying! So don't use localhost or 127.0.0.1, use the hostname you use in your desktop FTP client.

    I used [ftp.tuffclassified.com] but it is also not working.

  21. Frederick Townes
    Member
    Posted 2 years ago #

    Please submit a bug submission report from the support tab of the plugin with access to WP Admin and server for resolution to this issue. There are no known bugs related to this topic.

  22. RayZ61
    Member
    Posted 1 year ago #

    Hi there. I've got same problem with CND FTP server config.

    I've tested upload. It has upload folders but not files.
    This poits to correct FTP settings.

    is there solutions to upload files too?

  23. Frederick Townes
    Member
    Posted 1 year ago #

    I have to ask you submit a bug submission form as well so I can try to investigate.

Topic Closed

This topic has been closed to new replies.

About this Topic