WordPress.org

Ready to get started?Download WordPress

Forums

Delightful Downloads
[resolved] The specified file does not exist (16 posts)

  1. bethwinkle@comcast.net
    Member
    Posted 1 year ago #

    I upload the file in your program, and it always says, file does not exist. I have tried jogs, pdf's and even zipped file. What do I do??

    http://wordpress.org/extend/plugins/delightful-downloads/

  2. indiramm
    Member
    Posted 1 year ago #

    The same happens to me.
    I can upload.
    but select existing file is not working (it shows nothing at all) and if I paste an URL, it says existing file does not exist, even if it is a file I uploaded some minutes ago, for another download.
    any ideas? I am clueless

  3. rumple010
    Member
    Posted 1 year ago #

    I'm seeing the same problem. I installed the plugin and uploaded some files. I'm able to generate shortcodes when I edit a page but every file I've tried gives me the same error when I try to download it.

    File does not exist!

    I get these errors in my httpd-error.log file.

    [Sat Apr 13 21:17:23.288309 2013] [:error] [pid 15168] [client 192.168.42.29:527
    37] PHP Notice: Undefined variable: root in /usr/local/www/apache24/data/wp-con
    tent/plugins/delightful-downloads/includes/js/jqueryFileTree/connectors/jqueryFi
    leTree.php on line 21, referer: https://rhea/wp-admin/post-new.php?post_type=ded
    o_download
    [Sat Apr 13 21:17:23.288346 2013] [:error] [pid 15168] [client 192.168.42.29:527
    37] PHP Notice: Undefined variable: root in /usr/local/www/apache24/data/wp-con
    tent/plugins/delightful-downloads/includes/js/jqueryFileTree/connectors/jqueryFi
    leTree.php on line 22, referer: https://rhea/wp-admin/post-new.php?post_type=ded
    o_download
    [Sat Apr 13 21:17:23.288402 2013] [:error] [pid 15168] [client 192.168.42.29:527
    37] PHP Notice: Undefined variable: root in /usr/local/www/apache24/data/wp-con
    tent/plugins/delightful-downloads/includes/js/jqueryFileTree/connectors/jqueryFi
    leTree.php on line 28, referer: https://rhea/wp-admin/post-new.php?post_type=ded
    o_download
    [Sat Apr 13 21:17:23.288423 2013] [:error] [pid 15168] [client 192.168.42.29:527
    37] PHP Notice: Undefined variable: root in /usr/local/www/apache24/data/wp-con
    tent/plugins/delightful-downloads/includes/js/jqueryFileTree/connectors/jqueryFi
    /var/log/httpd-error.log: unmodified: line 1

  4. rumple010
    Member
    Posted 1 year ago #

    I'm seeing the same file does not exist error when I upload a file from my local computer. The file does get uploaded, though. It is copied into wp-content/uploads/delightful-downloads/2013/04 on my server and it appears on the list of files in the Downloads page.

    I'm using WordPress 3.5.1.

  5. gjnamibia
    Member
    Posted 1 year ago #

    Three weeks later, and the problem still exists - uploading files works nice, they actually also get listed in the plugins "All Downloads" list, and including shortcodes also renders the buttons on the page correctly, but right after the file has uploaded you get a red warning box at the top "File does not exist" - and the links of the buttons simply send you to a rather bland error page.

    This needs some rather urgent fixing. What else can I do to figure out what goes wrong here?

  6. carblanco
    Member
    Posted 1 year ago #

    Same problem here.
    ┬┐Any other recommended plugin?

  7. rumple010
    Member
    Posted 1 year ago #

    I found a way to get rid of the dreaded 'File does not exist' error, but I had to manually edit the WordPress database to do it.

    In the postmeta table, each download target has a row with a value of _dedo_file_url in the meta_key column. I changed https:// to http:// in the meta_value column. As soon as I did that, I could download the corresponding file from my website.

    The only reason I could think of that https got stuck into the meta_value column is that I force WordPress to use ssl for all admin pages.

  8. ryanpilbeam
    Member
    Posted 1 year ago #

    Just thought I'd chime in - had the same problem, file exists, but the plugin reported the file didn't.

    Did a bit of digging in the code, the $file_path variable used when submitting the update form wasn't taking into account my subdomain.

    I changed the dedo_root_dir() function to use $_SERVER['REAL_DOCUMENT_ROOT'] instead of $_SERVER['DOCUMENT_ROOT'] and this fixed the problem.

    Ryan

  9. Lou Friedman
    Member
    Posted 8 months ago #

    Hi guys - I'm having the exact same problem when running Delightful Downloads on my dev subdomain. I tried following the steps taken above to 1)search my DB to see if the issue is there and 2)Update the code in functions.php as Ryan did to change the document root.

    Findings: My DB lists the correct path: http://dev.mysite.com/wp-content/uploads/delightful-downloads/2013/10/filename.pdf

    Updating the code to $_SERVER['REAL_DOCUMENT_ROOT'] has no effect.

    Do I need to uninstall the plugin and reinstall for that change to take place?

    Instead of $_SERVER['REAL_DOCUMENT_ROOT'], should it be $_SERVER['/dev/']?

  10. esmi
    Forum Moderator
    Posted 8 months ago #

    @Lou Friedman: As per the Forum Welcome, please post your own topic.

  11. A5hleyRich
    Member
    Plugin Author

    Posted 8 months ago #

    The fix for this issue will be uploaded within the next few days.

  12. A5hleyRich
    Member
    Plugin Author

    Posted 8 months ago #

    Please update to version 1.2.1 to resolve the issue.

  13. thats-design
    Member
    Posted 5 months ago #

    I have the last version and still have the same error ! please help

  14. A5hleyRich
    Member
    Plugin Author

    Posted 5 months ago #

    Hi,

    Can you please send your server information to hello[at]ashleyrich.com. You can find the information from the support link under the plugins page.

    Regards,

    Ashley

  15. aliferis
    Member
    Posted 3 months ago #

    Hi Have this issue too (April 7th 2014) ?

    any fix ?

  16. A5hleyRich
    Member
    Plugin Author

    Posted 3 months ago #

    Can you please send your server information to hello[at]delightfulwp.com. You can find the information in the settings screen under the support tab.

    Regards,

    Ashley

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic