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

#   Downloadable ZIP files displaying to screen

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 3 weeks ago [\#173890](#173890) by [rmis](/forum/user/34354-rmis "View rmis's Profile")  *[Downloadable ZIP files displaying to screen](/forum/26-product-category-display/872010-downloadable-zip-files-displaying-to-screen#173890 "-- url of the page with the problem -- :   www.rmisos.net/shop-downloads  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.33 -- Browser(s) name and version -- : Firefox 26  After upgrading from version 2.2.2 to 2.3.3 the downloads are broken. The headers are getting sent before the download headers get sent and so the browser thinks it is getting HTML rather than a ZIP file.  Using the Firefox Live HTTP headers plugin I see this:   www.rmisos.net/shop-downloads/order/down...le&#95;id-64/order&#95;id-54  GET /shop-downloads/order/download/file&#95;id-64/order&#95;id-54 HTTP/1.1 Host:   www.rmisos.net  User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86&#95;64; rv:26.0) Gecko/20100101 Firefox/26.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,&#42;/&#42;;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer:   www.rmisos.net/shop-downloads  Cookie: SERVERID=elite1; b77c27571174501cd00dfb7f6ee4ce65=959tm1e2c7okfmktfmj8v7uuo3 Connection: keep-alive  HTTP/1.1 200 OK Date: Wed, 01 Oct 2014 10:56:07 GMT Server: Apache/2.2.15 (CentOS) X-Powered-By: PHP/5.4.33 Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8  Looking at the Apache error log, I can see this: &#91;Wed Oct 01 12:49:40 2014&#93; &#91;error&#93; &#91;client 91.186.19.66&#93; PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rmisos.net/httpdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1) in /var/www/vhosts/rmisos.net/httpdocs/administrator/components/com&#95;hikashop/classes/file.php on line 483, referer:   www.rmisos.net/shop-downloads  It says the header output was started in administrator/components/com&#95;hikashop/helpers/helper.php, but unfortunately it doesn't tell me the line number.  Can you help me track this down? I'm sending you a login via email so you can see for yourselves.")* was created by *[rmis](/forum/user/34354-rmis "View rmis's Profile")*

-- url of the page with the problem -- : [ www.rmisos.net/shop-downloads](https://www.rmisos.net/shop-downloads)
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.2.3
-- PHP version -- : 5.4.33
-- Browser(s) name and version -- : Firefox 26

After upgrading from version 2.2.2 to 2.3.3 the downloads are broken. The headers are getting sent before the download headers get sent and so the browser thinks it is getting HTML rather than a ZIP file.

Using the Firefox Live HTTP headers plugin I see this:
[ www.rmisos.net/shop-downloads/order/down...le\_id-64/order\_id-54](https://www.rmisos.net/shop-downloads/order/download/file_id-64/order_id-54)

GET /shop-downloads/order/download/file_id-64/order_id-54 HTTP/1.1
Host: [ www.rmisos.net](http://www.rmisos.net)
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: [ www.rmisos.net/shop-downloads](https://www.rmisos.net/shop-downloads)
Cookie: SERVERID=elite1; b77c27571174501cd00dfb7f6ee4ce65=959tm1e2c7okfmktfmj8v7uuo3
Connection: keep-alive

HTTP/1.1 200 OK
Date: Wed, 01 Oct 2014 10:56:07 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: PHP/5.4.33
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

Looking at the Apache error log, I can see this:
[Wed Oct 01 12:49:40 2014] [error] [client 91.186.19.66] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rmisos.net/httpdocs/administrator/components/com_hikashop/helpers/helper.php:1) in /var/www/vhosts/rmisos.net/httpdocs/administrator/components/com_hikashop/classes/file.php on line 483, referer: [ www.rmisos.net/shop-downloads](https://www.rmisos.net/shop-downloads)

It says the header output was started in administrator/components/com_hikashop/helpers/helper.php, but unfortunately it doesn't tell me the line number.

Can you help me track this down? I'm sending you a login via email so you can see for yourselves.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzIwMTAtZG93bmxvYWRhYmxlLXppcC1maWxlcy1kaXNwbGF5aW5nLXRvLXNjcmVlbj90bXBsPW1hcmtkb3du) 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
-
-

12 years 3 weeks ago [\#173897](#173897) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Downloadable ZIP files displaying to screen](/forum/26-product-category-display/872010-downloadable-zip-files-displaying-to-screen#173897 "-- url of the page with the problem -- :   www.rmisos.net/shop-downloads  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.33 -- Browser(s) name and version -- : Firefox 26  After upgrading from version 2.2.2 to 2.3.3 the downloads are broken. The headers are getting sent before the download headers get sent and so the browser thinks it is getting HTML rather than a ZIP file.  Using the Firefox Live HTTP headers plugin I see this:   www.rmisos.net/shop-downloads/order/down...le&#95;id-64/order&#95;id-54  GET /shop-downloads/order/download/file&#95;id-64/order&#95;id-54 HTTP/1.1 Host:   www.rmisos.net  User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86&#95;64; rv:26.0) Gecko/20100101 Firefox/26.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,&#42;/&#42;;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer:   www.rmisos.net/shop-downloads  Cookie: SERVERID=elite1; b77c27571174501cd00dfb7f6ee4ce65=959tm1e2c7okfmktfmj8v7uuo3 Connection: keep-alive  HTTP/1.1 200 OK Date: Wed, 01 Oct 2014 10:56:07 GMT Server: Apache/2.2.15 (CentOS) X-Powered-By: PHP/5.4.33 Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8  Looking at the Apache error log, I can see this: &#91;Wed Oct 01 12:49:40 2014&#93; &#91;error&#93; &#91;client 91.186.19.66&#93; PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rmisos.net/httpdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1) in /var/www/vhosts/rmisos.net/httpdocs/administrator/components/com&#95;hikashop/classes/file.php on line 483, referer:   www.rmisos.net/shop-downloads  It says the header output was started in administrator/components/com&#95;hikashop/helpers/helper.php, but unfortunately it doesn't tell me the line number.  Can you help me track this down? I'm sending you a login via email so you can see for yourselves.")*

Hi,

You have that problem:
[ www.hikashop.com/support/forum/product-c...t-download-file.html](http://www.hikashop.com/support/forum/product-category-display/871873-can-not-download-file.html)

The following user(s) said Thank You: [rmis](/forum/user/34354-rmis "View rmis's Profile")

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

12 years 3 weeks ago [\#174226](#174226) by [rmis](/forum/user/34354-rmis "View rmis's Profile")  Replied by *[rmis](/forum/user/34354-rmis "View rmis's Profile")* on topic *[Downloadable ZIP files displaying to screen](/forum/26-product-category-display/872010-downloadable-zip-files-displaying-to-screen#174226 "-- url of the page with the problem -- :   www.rmisos.net/shop-downloads  -- HikaShop version -- : 2.3.3 -- Joomla version -- : 3.2.3 -- PHP version -- : 5.4.33 -- Browser(s) name and version -- : Firefox 26  After upgrading from version 2.2.2 to 2.3.3 the downloads are broken. The headers are getting sent before the download headers get sent and so the browser thinks it is getting HTML rather than a ZIP file.  Using the Firefox Live HTTP headers plugin I see this:   www.rmisos.net/shop-downloads/order/down...le&#95;id-64/order&#95;id-54  GET /shop-downloads/order/download/file&#95;id-64/order&#95;id-54 HTTP/1.1 Host:   www.rmisos.net  User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86&#95;64; rv:26.0) Gecko/20100101 Firefox/26.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,&#42;/&#42;;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer:   www.rmisos.net/shop-downloads  Cookie: SERVERID=elite1; b77c27571174501cd00dfb7f6ee4ce65=959tm1e2c7okfmktfmj8v7uuo3 Connection: keep-alive  HTTP/1.1 200 OK Date: Wed, 01 Oct 2014 10:56:07 GMT Server: Apache/2.2.15 (CentOS) X-Powered-By: PHP/5.4.33 Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8  Looking at the Apache error log, I can see this: &#91;Wed Oct 01 12:49:40 2014&#93; &#91;error&#93; &#91;client 91.186.19.66&#93; PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/rmisos.net/httpdocs/administrator/components/com&#95;hikashop/helpers/helper.php:1) in /var/www/vhosts/rmisos.net/httpdocs/administrator/components/com&#95;hikashop/classes/file.php on line 483, referer:   www.rmisos.net/shop-downloads  It says the header output was started in administrator/components/com&#95;hikashop/helpers/helper.php, but unfortunately it doesn't tell me the line number.  Can you help me track this down? I'm sending you a login via email so you can see for yourselves.")*

Thanks for response.

I converted the file administrator/components/com_hikashop/helpers/helper.php to be UTF8 without BOM and now downloads work again.

Problem solved!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzIwMTAtZG93bmxvYWRhYmxlLXppcC1maWxlcy1kaXNwbGF5aW5nLXRvLXNjcmVlbj90bXBsPW1hcmtkb3du) 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.162 seconds

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

[](#top)
