DIgital download file depending on attribute - or something else

24.10.2014 01:52
#1
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
DIgital download file depending on attribute - or something else

Hi again :)

Files for download, of the same product - i have two variants - mp3 and flac.

How can i set this up - other than having two different products?

I can set an attribute (Quality: mp3, flac) - but how to set the different file download for different attribute?

Is this possible?

Thank you in advance,
Nikola.


Joomla: 3.3.3
JoomShopping: 4.4.0
 
24.10.2014 07:40
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: DIgital download file depending on attribute - or something else

http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/7/2394.html?lang=en

 
24.10.2014 14:07
#3
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

Thank you sir!

 
25.10.2014 15:15
#4
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

Hi,
i am still having issues with this...

I added 'Additional values' per attribute (file name and description), i saved the product.

When i reopen the additional values and click on the file name - i get 502 bad gateway error.

If i purchase the file - and click on the download link (on the order in the frontend) - i get 502 bad gateway error.

I have set my php.ini as shown here:
http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/7/5044.html?lang=en#3

I dont know what to do next, please help, thank you!


Letzte Änderung: 25.10.2014 15:15
 
25.10.2014 15:22
#5
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

Update: SOMETIMES i get this instead of the 502:
Error
Number downloads of file is restricted

Max total of download sale file = 5
Max total of day sale file = 180

If i set these to zeros (unlimited) - i get the 502 again...


Letzte Änderung: 25.10.2014 15:26
 
25.10.2014 15:59
#6
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

It gets weirder, some files work, some do not.

Only difference i see is the file size... Larger files seem to not work :(

 
25.10.2014 16:21
#7
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

More weirdness - looking at ftp/refreshing the file list - the files for which i get the 502 error get DELETED!!!
I guess this is because i did a delete action on it on the attribute/additional values...

Can i remove the file from attribute without deleting the file?


Letzte Änderung: 25.10.2014 16:23
 
25.10.2014 18:40
#8
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

I should say - this doesn't resolve the 502, i can reproduce it (without me being silly and deleting it from jshopping)...

Is there some other parameter in php.ini that could cause nginx to say 502 for a large file lets say over 200MB?

 
25.10.2014 21:14
#9
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: DIgital download file depending on attribute - or something else

http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/7/5044.html?lang=en#4

 
25.10.2014 22:45
#10
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

Hi, i did set those as noted in the post you point out, it doesn't change the 502 error, any specific parameter i could set to be higher?

//although i already tried that too :(

 
26.10.2014 19:59
#11
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: DIgital download file depending on attribute - or something else

1. Use FTP for copy file
folder: \components\com_jshopping\files\files_products
2.Configuration / other
Product file upload (via ftp): 1
3. Products edit / set name file

 
27.10.2014 21:40
#12
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

Do i have to add the file name both in the Attribute/Additional values AND in the Product/Files? (in order the attributes to work)

(I tried:
- file name in Files, without attributes
- file name both in Files and in Attributes/Additional values
- file name just in Attributes/Additional values
in all cases I got the same error for 'large' files...

So, i guess the answer to the above question is No...
)

It must be some hosting php parameter limitation i think, although all the recommended parameters in the above post were saved successfully to my php.ini...


Letzte Änderung: 27.10.2014 21:44
 
29.10.2014 23:26
#13
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

I am trying to solve this in any way possible so please answer before i get into more trouble, thanks...

Is there a JoomShopping limitation of number of files per product or attribute?

I must divide larger files into smaller ones...
So, can i have for example 27 files for digital product download in one product or attribute?

 
30.10.2014 08:10
#14
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: DIgital download file depending on attribute - or something else

No limit.
Problem in your server.

 
30.10.2014 20:27
#15
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

Thanks!

 
31.10.2014 21:48
#16
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

Update:
this is the answer i got from the hosting company:

"The download process is requesting more than 1 GB of memory from Apache thus its giving error. Please optimize code or you can also consider hosting your account in VPS server."

 
01.11.2014 18:08
#17
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: DIgital download file depending on attribute - or something else

Use Ftp for upload file.

 
04.11.2014 15:02
#18
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

I did...

 
05.11.2014 09:39
#19
nixonie
Joomshopping forum user no avatar
Name: Nikola
14.07.2014
Posts: 19
Quote
Aw: DIgital download file depending on attribute - or something else

The error and the issue described above is when you try to DOWNLOAD the product file via the shop.

 


Copyrights MAXXmarketing GmbH. All Rights Reserved
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.