cleasterwood
Member
Posted 3 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?
cleasterwood
Member
Posted 3 years ago #
Oh, & the chmod has been changed, but it's not being recognized.
cleasterwood
Member
Posted 3 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.
cleasterwood
Member
Posted 3 years ago #
OMG! Thank You!!!!
Worked like a charm.
cleasterwood
Member
Posted 3 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.
they are stored in wp-content/eshop_downloads
cleasterwood
Member
Posted 3 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.
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.
cleasterwood
Member
Posted 3 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. :)
cleasterwood
Member
Posted 3 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?
cleasterwood
Member
Posted 3 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?
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)
cleasterwood
Member
Posted 3 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. ;)
cleasterwood
Member
Posted 3 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.
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.
cleasterwood
Member
Posted 3 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
sorry but they have to be uploaded to wp-content/eshop_downloads
cleasterwood
Member
Posted 3 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".
do a test purchase, or a live 1p product (products can be added to password protected posts/pages) purchase and test the downloads.