Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: Uploading Downloadables  (Read 811 times)
Jhazzi
Newbie
*
Posts: 8


« on: June 10, 2011, 12:31:08 PM »

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
« Last Edit: June 10, 2011, 12:36:20 PM by Jhazzi » Logged
BanquetTables.pro
Global Moderator
Hero Member
*
Posts: 4741



« Reply #1 on: June 13, 2011, 13:16:45 PM »

Outside of root means, another domains. etc.

ALSO, is the file too large to be uploading?

I dont know much about downloadables
Logged

"Banquet Tables Pro"
Jhazzi
Newbie
*
Posts: 8


« Reply #2 on: June 13, 2011, 13:23:13 PM »

Thank you very much for a reply.

No, I'm testing things and the file is a simple one page PDF, not an eBook, so the file is very small.

Another domain, so you're saying use: www. banquetpro.com/downloads instead of www.AcutalSite.com/downloads to put the downloadable files to be purchased? Hmmmm...

My best,
Jhazzi
Logged
BanquetTables.pro
Global Moderator
Hero Member
*
Posts: 4741



« Reply #3 on: June 13, 2011, 14:09:42 PM »

yes,,

OR You might can put them BEFORE public_html

I dont know how vmart does downloads though.
Logged

"Banquet Tables Pro"
Jhazzi
Newbie
*
Posts: 8


« Reply #4 on: June 13, 2011, 14:13:48 PM »

Okay, I have tried before the /public_html. I have posted for help at JoomlArt, as well. Received one response but it didn't work. Will get support to go in and fix it.

Thank you for your time and suggestions. Both were sincerely appreciated. When I get an answer, I'll post it here as it may benefit someone else and clue you in on downloadables a bit.

Happy day!

Jhazzzzzzzi
Logged
chokens86
Newbie
*
Posts: 1


« Reply #5 on: June 14, 2011, 01:18:14 AM »

Hi Jhazzi,

Any luck with the solution? I have the same issue too.
Logged
Jhazzi
Newbie
*
Posts: 8


« Reply #6 on: June 14, 2011, 01:30:29 AM »

Hi Chokens,

I haven't followed up at the other site yet but will. I feel certain they will fix it. I thought someone here could do it faster and came here.

I have a membership and the template had VM already installed. I'll submit a support ticket with all my FTP / password info and they'll go in and take care of it. It may take 24-72 hours. When they fix something, they post it in the forum (membership required) so that others can see it. I'll post it here when that happens. Okay?

This can be frustrating yet I find challenges a bit of fun. Smiley

Will let ya know. All the best with your site!

My best,
Jhazzi
Logged
BanquetTables.pro
Global Moderator
Hero Member
*
Posts: 4741



« Reply #7 on: June 14, 2011, 08:17:55 AM »

Joomlaart is a template maker

They wont help you with vmart
Logged

"Banquet Tables Pro"
Jhazzi
Newbie
*
Posts: 8


« Reply #8 on: June 14, 2011, 09:22:57 AM »

They have some very gifted forum moderators and I'm receiving help. They have a philosophy, if they use it [component etc.] in their templates and you are a paying member, (I have a developer account) they offer support. They have the best forums [support] I've ever experienced on the Internet!
Logged
Pages: [1]   Go Up
Print
Jump to: