File product is not downloading

15.04.2015 22:53
#1
nacevedo
Joomshopping forum user no avatar
Name: Néstor
20.06.2014
Сообщения: 9
Quote
File product is not downloading

Hi, I am suddenly seeing that when someone is doing a purchase in my site and the customer does click in the link to download the file product it isn't being downloaded.

In localhost I've made the same test and is working but not else in my public site.

Any help would be nice.

Thanks in advance.


Joomla: 3.4.1
JoomShopping: 9.4.2
PHP: 5.5
MySQL: 5.6.21
Website Url: http://www.hyntibasoftware.computer
 
16.04.2015 07:54
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25941
Quote
Aw: File product is not downloading

test account / test order ?

Order status paid?

 
16.04.2015 16:57
#3
nacevedo
Joomshopping forum user no avatar
Name: Néstor
20.06.2014
Сообщения: 9
Quote
Aw: File product is not downloading

Hi. Order status in Complete or Paid

Is in production. customers doesn't need to register and the product is free.

This is the exact order link to download: http://www.hyntibasoftware.computer/index.php?option=com_jshopping&controller=product&task=getfile&oid=66&id=7&hash=8a84421da0b09eb4eb5d1e51adb51b38&rl=1

 
16.04.2015 20:59
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25941
Quote
Aw: File product is not downloading

Enable debug mode joomla.

 
18.04.2015 00:59
#5
nacevedo
Joomshopping forum user no avatar
Name: Néstor
20.06.2014
Сообщения: 9
Quote
Aw: File product is not downloading

Is enabled but is a blank page in both (localhost and production server) only that in localhost does the download proccess while in server doesn't do.

 
18.04.2015 08:22
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25941
Quote
Aw: File product is not downloading

Enable display error
Joomla / configuration
Error reporting: maximum

 
22.04.2015 18:24
#7
nacevedo
Joomshopping forum user no avatar
Name: Néstor
20.06.2014
Сообщения: 9
Quote
Aw: File product is not downloading

Hi, I'm sorry for the inconvenients but I've enabled all but as I said, it doesn't work because gets only a blank page (normal performance) but file download proccess dones't work.

And checking logs what I get is

[22/Apr/2015:16:12:34 +0000] "GET /index.php?option=com_jshopping&controller=product&task=getfile&oid=67&id=7&hash=1bff3b838ed4c485cb6f$
[22/Apr/2015:16:12:35 +0000] "GET /favicon.ico HTTP/1.1" 404 209 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like G$
[22/Apr/2015:16:12:39 +0000] "-" 408 - "-" "-"
[22/Apr/2015:16:12:44 +0000] "-" 408 - "-" "-"
[22/Apr/2015:16:12:44 +0000] "-" 408 - "-" "-"

Thanks in advance.
Aw: File product is not downloading

 
23.04.2015 07:56
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25941
Quote
Aw: File product is not downloading

url?
admin login?
ftp?
(privat)

 
06.05.2015 20:45
#9
nacevedo
Joomshopping forum user no avatar
Name: Néstor
20.06.2014
Сообщения: 9
Quote
Aw: File product is not downloading

Hi. I'm sorry for my late answer.

I've just tested. Download is working only in IE but not else in another web browsers however I have sent you access credentials.

Thanks in advance

 
06.05.2015 21:08
#10
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25941
Quote
Aw: File product is not downloading

Error in code
<script type="text/rocketscript">location.href='http://www.hyntibasoftware.computer/index.php?option=com_jshopping&controller=product&task=getfile&oid=66&id=7&hash=8a84421da0b09eb4eb5d1e51adb51b38';</script>

Need
<script type="text/javascript">

your change code joomshopping?

or use special plugins?

FIX:
- disable plugin.

Or

- change code joomshopping

components\com_jshopping\controllers\product.php

function getfile(){
...

print "<script type='text/javascript'>location.href='".$newurl."';</script>";
change to

print "<script>location.href='".$newurl."';</script>";


Последнее изменение: 06.05.2015 21:11
 
07.05.2015 22:27
#11
nacevedo
Joomshopping forum user no avatar
Name: Néstor
20.06.2014
Сообщения: 9
Quote
Aw: File product is not downloading

maybe cloudflare accelerator, I'll disable it and will try again.

 
14.05.2015 18:13
#12
nacevedo
Joomshopping forum user no avatar
Name: Néstor
20.06.2014
Сообщения: 9
Quote
Aw: File product is not downloading

Thank you, dissabling some of cloudflare it works again.

Rocketscript is a JS accelerator but I unknown that it changed a lot of things in js code structure.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
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.