[Skip to main content](#vessel-content)

#   Attachment files &amp; Browser

##

- **[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")**
- [![Pluscom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34901-pluscom "View Pluscom's Profile") Topic Author
- [ Offline](/forum/user/34901-pluscom)

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 11 months ago -  11 years 11 months ago [\#178687](#178687) by [Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")  *[Attachment files &amp; Browser](/forum/26-product-category-display/872858-attachment-files-browser#178687 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")* was created by *[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.2.3
-- PHP version -- : 5.4.30
-- Browser(s) name and version -- : Firefox 33.0
-- Error-message(debug-mod must be tuned on) -- : C:\Users\$me$\AppData\Local\Temp\IzU7JU6i.pdf.part can not be saved, because the source file could not be read.

hello,

I'm new to this forum, pardon me if I take wrong.

I use Hikashop on one of my sites, and I had previously never had a problem.
This site is a "catalog", ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...

My problem is on my attachment files, on my Hikashop product.
Google Chrome 38.0, no worries.
Internet Explorer 11, the first test returns me "$file could not be downloaded." When I try again, it downloads the file.
Firefox 33.0, the error message is "Failed". And if I leave the download dialog open long enough, I have "C:\Users\$me\AppData\Local\Temp\IzU7JU6i.pdf.part can not be saved, because the source file could not be read . "

While it was working on Firefox 32.

I have some knowledge of PHP / TPL, but that side I do not really see where the problem is.
I put Hikashop to date, and I have not changed any source file to disable the store mode.

I hope to have a support!
thank you ![:)](/media/kunena/emoticons/8.png ":)")

PS: check the database returns no error.

PS-2 : I was about to post on french forum. This is the translation. I hope I did well ![:/](/irritated.gif ":/")

Last edit: 11 years 11 months ago by [Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

11 years 11 months ago [\#178689](#178689) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Fichier joints &amp; navigateur](/forum/26-product-category-display/872858-attachment-files-browser#178689 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")*

Bonjour,
J'ai effectué quelques tests directement sur votre site et le téléchargement du fichier FT 316 c'est bien déroulé sur Chrome/FireFox/IE 11
Rencontrez vous ce problème aussi sur d'autre ordinateurs ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")**
- [![Pluscom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34901-pluscom "View Pluscom's Profile") Topic Author
- [ Offline](/forum/user/34901-pluscom)

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 11 months ago [\#178815](#178815) by [Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")  Replied by *[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")* on topic *[Fichier joints &amp; navigateur](/forum/26-product-category-display/872858-attachment-files-browser#178815 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")*

Bonjour,

Déjà merci de prendre le temps de me répondre ![:)](/media/kunena/emoticons/8.png ":)")
Effectivement cela arrive sur plusieurs ordinateurs.

Nous travaillons en bureaux, je n'avais pas ce problème sur mes navigateurs, puis une collègue m'a prévenue de ce soucis de téléchargement après que notre client ce soit plaint.

Après avoir mis à jour mon navigateur Firefox, j'ai eu les même problèmes que le client et que ma collègue.

Sur mon ordinateur personnel (MacbookPro, Firefox 30.0 &amp; Chrome 38.0) ça fonctionne très bien.

Donc je me dis que ce problème doit arriver à d'autres personnes aussi, ou d'autres ordinateurs sinon notre client ne ce serait pas plaint.

Je ne sais pas trop par ou chercher. J'ai regardé le fichier hikashop_file où il y'a le lien de téléchargement, j'ai essayé de rajouter l'attrivut html5 download="$nom", j'ai aussi essayé de modifier le .htaccess pour forcer le téléchargement du navigateur Firefox car cela pouvait peut être venir de la boite de dialogue, mais rien n'a fonctionné...

Merci de votre patience !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 11 months ago [\#178829](#178829) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fichier joints &amp; navigateur](/forum/26-product-category-display/872858-attachment-files-browser#178829 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")*

Bonjour,

C'est vraiment étrange.

Essayez voir de changer le code: Code:

if ($is_resume) { if ($seek_start &gt; 0 &#124;&#124; $seek_end &lt; ($size - 1)) { header('HTTP/1.1 206 Partial Content'); } header('Accept-Ranges: bytes'); header('Content-Range: bytes '.$seek_start.'-'.$seek_end.'/'.$size); }

en: Code:

if ($is_resume) { header('Accept-Ranges: bytes'); if ($seek_start &gt; 0 &#124;&#124; $seek_end &lt; ($size - 1)) { header('HTTP/1.1 206 Partial Content'); header('Content-Range: bytes '.$seek_start.'-'.$seek_end.'/'.$size); } }

dans le fichier administrator/components/com_hikashop/classes/file.php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")**
- [![Pluscom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34901-pluscom "View Pluscom's Profile") Topic Author
- [ Offline](/forum/user/34901-pluscom)

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 11 months ago [\#178927](#178927) by [Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")  Replied by *[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")* on topic *[Fichier joints &amp; navigateur](/forum/26-product-category-display/872858-attachment-files-browser#178927 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")*

Bonjour,

Merci de votre aide,
J'ai malheureusement toujours les même symptômes après avoir changé le code comme ci-dessus.

Sous Firefox 33 la boite de dialogue s'ouvre, si je lance le téléchargement j'ai le message "Erreur", et si je laisse la boite de dialogue, toujours le message comme quoi le fichier ne peut être sauvegardé, car le fichier source ne peut être lu.

Chrome fonctionne toujours après la modification du code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#178963](#178963) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Fichier joints &amp; navigateur](/forum/26-product-category-display/872858-attachment-files-browser#178963 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")*

Bonjour,

J'utilise depuis de nombreux mois Firefox Aurora (actuellement en version 35) et j'ai également Firefox "classique" d'installé (donc en version 33).
Je n'ai pas été capable de reproduire votre soucis sur mes sites locaux ou de développement avec l'un ou l'autre de ces navigateur. Je n'ai pas non plus remarqué de soucis depuis plusieurs mois lorsque FIrefox Aurora était en version 33 ou 34.

J'aurais donc besoin d'un compte de test sur votre site afin de pouvoir faire un essaie de télécharger et comprendre ce qu'il se passe.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")**
- [![Pluscom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34901-pluscom "View Pluscom's Profile") Topic Author
- [ Offline](/forum/user/34901-pluscom)

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 11 months ago [\#179259](#179259) by [Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")  Replied by *[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")* on topic *[Fichier joints &amp; navigateur](/forum/26-product-category-display/872858-attachment-files-browser#179259 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")*

Bonjour Jerome,

Je vous ai envoyé un MP avec les informations demandées.
Merci encore.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#179491](#179491) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Fichier joints &amp; navigateur](/forum/26-product-category-display/872858-attachment-files-browser#179491 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")*

Bonjour,

Le soucis que vous avez vient de votre configuration serveur qui force la compression "gzip" alors que nous sommes en train d'envoyer un fichier binaire.
Alors que PHP peut tout à fait compresser en gzip à la volé du texte pour les pages normales, il ne le fait pas pour de l'envoie de données binaires et apache2 n'est pas censé ajouter cet header.

Firefox récupère bien le fichier mais c'est vers la fin du téléchargement qu'il remarque que la quantité de données brute n'est pas équivalente à celle indiquée ; puisque le GZIP a changé la donne avec sa compression.
Le deflate ne soit être ajouté que sur les données texte, comme indiqué un peu partout sur la toile.
[ www.alsacreations.com/article/lire/914-c...ss-gzip-deflate.html](http://www.alsacreations.com/article/lire/914-compression-pages-html-css-gzip-deflate.html)
(Sauf que "AddOutputFilterByType" est déprécié)
[ httpd.apache.org/docs/2.2/filter.html#using](http://httpd.apache.org/docs/2.2/filter.html#using)

Nous avons une option "deactivate_buffering_and_compression" dans HikaShop mais elle ne semble pas forcer assez les paramètres.
Je vous propose donc de modifier dans le fichier "administrator/components/com_hikashop/classes/file.php" : Code:

$config = hikashop_config(); if($config-&gt;get('deactivate_buffering_and_compression',0)){ ini_set('output_buffering', 0); ini_set('zlib.output_compression', 0); while(ob_get_level()) @ob_end_clean(); }

Par ceci: Code:

$config = hikashop_config(); if($config-&gt;get('deactivate_buffering_and_compression',0)){ ini_set('output_buffering', 0); ini_set('zlib.output_compression', 0); @ini_set('output_handler', ''); @apache_setenv('no-gzip', 1); while(ob_get_level()) @ob_end_clean(); }

En espérant que cela suffise à désactiver la compression dans Apache. Mais cela reste très très lié à la configuration serveur.
Ce qui au final est logique puisque sinon personne avec Firefox 33 ne pourrait télécharger HikaShop sur notre serveur.

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")**
- [![Pluscom's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34901-pluscom "View Pluscom's Profile") Topic Author
- [ Offline](/forum/user/34901-pluscom)

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 11 months ago [\#179585](#179585) by [Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")  Replied by *[Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")* on topic *[Fichier joints &amp; navigateur](/forum/26-product-category-display/872858-attachment-files-browser#179585 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")*

Bonjour,

Tout d'abord merci encore de l'investissement que vous m'avez tous accordé.

Le code que vous m'avez partagé me donne une nouvelle erreur lorsque je télécharge un PDF : Le fichier est introuvable, vérifier syntaxe etc.. et ceci sur tous mes navigateurs et tous les pdf.

Mais vous m'avez mis sur la voie. J'ai donc regardé mon .htaccess, et j'y ai enlevé la compression gzip (je sais c'est un peu radical), et maintenant je peux télécharger les fichiers.

Je ne sais pas pourquoi votre code, qui pourtant effectue exactement la même chose mais plus optimisé car uniquement sur les pdf, ne fonctionne pas.

En attendant je me satisferais de laisser en commentaire les lignes de compression gzip. Code:

\## Mod_rewrite in use. RewriteEngine On # Apache 2.0 #SetOutputFilter DEFLATE #AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/javascript

Si jamais vous repassez par ici un jour et que vous trouvez une meilleure solution, je suis ouvert à toutes propositions.

Merci encore à vous !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 11 months ago [\#179615](#179615) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Fichier joints &amp; navigateur](/forum/26-product-category-display/872858-attachment-files-browser#179615 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.30 -- Browser(s) name and version -- : Firefox 33.0 -- Error-message(debug-mod must be tuned on) -- : C:&#92;Users&#92;$me$&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read.  hello,  I'm new to this forum, pardon me if I take wrong.  I use Hikashop on one of my sites, and I had previously never had a problem. This site is a &quot;catalog&quot;, ie Hikashop just serves to show the products, I disabled all payment options, shopping, etc ...  My problem is on my attachment files, on my Hikashop product. Google Chrome 38.0, no worries. Internet Explorer 11, the first test returns me &quot;$file could not be downloaded.&quot; When I try again, it downloads the file. Firefox 33.0, the error message is &quot;Failed&quot;. And if I leave the download dialog open long enough, I have &quot;C:&#92;Users&#92;$me&#92;AppData&#92;Local&#92;Temp&#92;IzU7JU6i.pdf.part can not be saved, because the source file could not be read . &quot;  While it was working on Firefox 32.  I have some knowledge of PHP / TPL, but that side I do not really see where the problem is. I put Hikashop to date, and I have not changed any source file to disable the store mode.  I hope to have a support! thank you :)  PS: check the database returns no error.  PS-2 : I was about to post on french forum. This is the translation. I hope I did well :/")*

Bonjour,

Il semblerait que les deux lignes soient un petit peu trop radicales alors.

Lorsque vous envoyez un fichier zip ; il est déjà compressé et apache ne peut pas re-compresser le flux à la volée.
Un fichier PDF n'est pas compressé, il contient certes du binaire mais il contient également du texte au format XML ; et ce texte lui se compresse à la volée.

Je pense que vous pouvez laisser votre FilterByType pour "text.css" et "application/javascript" ; cela ne devrait pas avoir d'incidence.
C'est probablement "text/html" ou "text/xml" qui pose soucis (pour "text/plain" je reste mitigé).

Cordialement,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Pluscom](/forum/user/34901-pluscom "View Pluscom's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzI4NTgtYXR0YWNobWVudC1maWxlcy1icm93c2VyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.283 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
