WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] eshop Warning in downloadables- Help? (20 posts)

  1. cleasterwood
    Member
    Posted 5 years ago #

    I can't fix this error.

    Warning: copy(/home/a../public_html/wp-content/uploads/../eshop_downloads/.htpasswd) [function.copy]: failed to open stream: No such file or directory in /home/a../public_html/wp-content/plugins/eshop/cart-functions.php on line 1112

    Warning: chmod() [function.chmod]: No such file or directory in /home/a.../public_html/wp-content/plugins/eshop/cart-functions.php on line 1113

    Warning: copy(/home/a/public_html/wp-content/uploads/../eshop_downloads/.htaccess) [function.copy]: failed to open stream: No such file or directory in /home/a.../public_html/wp-content/plugins/eshop/cart-functions.php on line 1112

    Warning: chmod() [function.chmod]: No such file or directory in /home/a../public_html/wp-content/plugins/eshop/cart-functions.php on line 1113

    I tried creating a folder a eshop_downloads file & corresponding .htaccess & .htpassword, but it's not working. What am I missing?

  2. cleasterwood
    Member
    Posted 5 years ago #

    Oh, & the chmod has been changed, but it's not being recognized.

  3. cleasterwood
    Member
    Posted 5 years ago #

    Anyone?

  4. elfin
    Moderator
    Posted 5 years ago #

    From eshop > help:

    Notes on activation

    When eShop is actiavted it adds database tables, and adds data where necessary to those, and native wordpress, tables. Additionally there are some automatically created pages.

    To ensure updates to the plugin doesn't over write changes you have made certain directories and files are copied to new locations on the first activation only.

    * wp-content/eshop_downloads is created from plugins/eshop/downloads
    * wp-content/uploads/eshop_files is created from plugins/eshop/files

    So, for example, when you edit your style, the actual eshop.css file that is being amended is located in wp-content/uploads/eshop_files.

    so copy files from the plugin directories above to the new locations and you should be fine.

  5. cleasterwood
    Member
    Posted 5 years ago #

    OMG! Thank You!!!!
    Worked like a charm.

  6. cleasterwood
    Member
    Posted 5 years ago #

    Ok, I got it to work, but where are my downloads saved to when I upload them through e-shop? I can't find them anywhere in my ftp account.

  7. elfin
    Moderator
    Posted 5 years ago #

    they are stored in wp-content/eshop_downloads

  8. cleasterwood
    Member
    Posted 5 years ago #

    Oh, OK. Are you aware of any compatibility issues with other plug-ins? I was able to upload "Downloadables", but then I installed some other plugins & the "upload" option stopped working. It just sits there & then after it finishes, tells me "You have no downloads products."
    I deactivated all other plug-ins & then I deactivated & reactived eshop, but nothing happened. Any other ideas, short of deleting all plugins & reinstalling them 1 at a time?

    By the way, great plugin once I got my other issue worked out. If my shop does well I'll be able to donate.

  9. elfin
    Moderator
    Posted 5 years ago #

    Other plugins shouldn't be affecting things for uploading 'downloadables'. So if you find the plugin which is causing a conflict, pleas let me know.

    There is a solution, which was written to overcome large uploads. Upload the file to the wp-content/eshop_downloads directory, then visit the eShop > Downloads page and you should be able to add it there.

  10. cleasterwood
    Member
    Posted 5 years ago #

    Ok, thanks. Will let you know cause I really don't want to manually upload every time I have a large file. All my files are large. The file's not really that big, but you never know. It benefits everyone if I could narrow down a bug. :)

  11. cleasterwood
    Member
    Posted 5 years ago #

    Well, it's not compatibility or bug. It must be file size. Is that going to affect my customers' download experience at all?

  12. cleasterwood
    Member
    Posted 5 years ago #

    Ok, so I just uploaded the files manually, but they still aren't showing in the Downloadables Section. What CHMOD settings should I use on the files?

  13. elfin
    Moderator
    Posted 5 years ago #

    The upload limitation is a server setting, not an eShop setting.

    If you've uploaded to the correct directory and they aren't showing then there is a problem somewhere. But I think without access to your site to try and track down why you are having problems, I'm not going to be able to help.

    However, I'd need FTP and WordPress access - if you're prepared to send me details for those then I'll see what I can do.

    elfin@elfden.co.uk (please put your username from here in the subject)

  14. cleasterwood
    Member
    Posted 5 years ago #

    My server allows 200 MB uploads via browser, so that's not a problem. It worked once, then stopped when I installed plugins so it must be related. I'll try a few other ideas. If all else fails, I'll shoot you an email. ;)

  15. cleasterwood
    Member
    Posted 5 years ago #

    Ok, when I uploaded a different file- a successful upload, e-shop finally asked me if I wanted to add the unknown downloads. I clicked the link to ok it and now they're showing.
    There are no other plugins installed.

  16. elfin
    Moderator
    Posted 5 years ago #

    200Mb uploads may cause the script to time out.

    Glad the others are now showing, not sure why they didn't show the before though.

  17. cleasterwood
    Member
    Posted 5 years ago #

    My files aren't usually over 40 MB. I'm adding & testing the plugins one at a time right now.
    Can I put or upload them in my public ftp & point the shop to it? If so, could you tell me how. :)
    Thanks

  18. elfin
    Moderator
    Posted 5 years ago #

    sorry but they have to be uploaded to wp-content/eshop_downloads

  19. cleasterwood
    Member
    Posted 5 years ago #

    Will my customers still be able to download them. If the server is timing out on me, then it's surely going to timeout on them isn't it? That has to be the problem because now the window's telling me the "Connection was interrupted".

  20. elfin
    Moderator
    Posted 5 years ago #

    do a test purchase, or a live 1p product (products can be added to password protected posts/pages) purchase and test the downloads.

Topic Closed

This topic has been closed to new replies.

About this Topic