I've read the manual and can't figure out the problem.
I'm a newbie trying to do a developer's job but I like the challenge.
Question:
What does it mean when it says for security make the downloadables outside of the root? I'm hosting several sites on one plan.
www.site.com is where VM is. Does it mean I create a downloadables directy in the /public_html e.g., /public_html/downloadables. Do I include /home/hostusername/public_html/downloadables.
Or: /home/host-username/public_html/domainname.com/downloadables.
I also read the chmod should be 644 for that file. Is this correct or what is correct.
On the backend, when I FTP a file, it is not shown in the dropdown menu to choose. When I put in the direct URL where the file is located, it shows up on the frontend where the product is.
I'm trying to configure this properly to offer paid downloadables in various file extensions.
PLEASE HELP!!
I'm getting an error messages.
Warning: move_uploaded_file(/public_html/downloadsXXXX.pdf) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/XXXX/public_html/XXXXX.com/administrator/components/com_virtuemart/classes/ps_product_files.php on line 815
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpCsI9tc' to '/public_html/downloadsXXXX.pdf' in /home/XXXXX/public_html/XXXXX.com/administrator/components/com_virtuemart/classes/ps_product_files.php on line 815
Appreciate assistance!
Regards,
Jhazzi