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

#   migration to new host: Export sends wrong headers

##

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

Less More

- Posts: 19
- Thank you received: 1
-
-

14 years 2 months ago -  14 years 2 months ago [\#61343](#61343) by [Apple](/forum/user/8398-apple "View Apple's Profile")  *[migration to new host: Export sends wrong headers](/forum/3-bug-report/61343-migration-to-new-host-export-sends-wrong-headers#61343 "I configured Hikashop on one host and then moved to another one. At the first one all worked well, on the new one when press product &quot;Export&quot; instead of the .CSV I get several Warning messages:  and .CSV text follows right after warnings in my browser.  Maybe this is because of different PHP settings?  On the first host I had:  While on the second one:  How do I fix this problem?")* was created by *[Apple](/forum/user/8398-apple "View Apple's Profile")*

I configured Hikashop on one host and then moved to another one.
At the first one all worked well, on the new one when press product "Export" instead of the .CSV I get several Warning messages:

> Warning: Cannot modify header information - headers already sent by (output started at /MY\_PATH\_TO\_JOOMLA\_FOLDER/plugins/system/hikashopuser.php:21) in /MY\_PATH\_TO\_JOOMLA\_FOLDER/administrator/components/com\_hikashop/views/product/tmpl/export.php on line 355

and .CSV text follows right after warnings in my browser.

Maybe this is because of different PHP settings?

On the first host I had:

> PHP Version 5.2.5
>
> System Linux SERVER\_NAME 2.6.9-67.0.1.EL #1 Wed Dec 19 15:50:25 EST 2007 i686
> Build Date Mar 13 2008 04:37:09
> Configure Command './configure' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-sockets' '--enable-zip' '--prefix=/usr/local' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php\_with\_imap\_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-png-dir=/usr' '--with-pspell' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr/X11R6' '--with-zlib' '--with-zlib-dir=/usr'

While on the second one:

> PHP Version 5.2.17
>
> System FreeBSD SERVER\_NAME 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Sep 30 22:32:51 MSD 2011 amd64
> Build Date Oct 31 2011 15:13:21
> Configure Command './configure' '--with-apache=../apache' '--enable-dbase' '--with-mysql=/usr/local' '--with-pdo-mysql=/usr/local' '--with-mysqli=/usr/local/bin/mysql\_config' '--with-pgsql' '--with-pdo-pgsql' '--with-pdo-sqlite=/usr/local' '--with-gd' '--enable-gd-native-ttf' '--with-ttf=/usr/local/lib' '--with-freetype-dir=/usr/local/lib' '--with-gettext' '--enable-magic-quotes' '--with-xsl' '--with-libxml-dir=/usr/local' '--with-imap=../imap/' '--with-imap-ssl=../imap/' '--enable-force-cgi-redirect' '--with-mime-magic' '--enable-sysvshm' '--enable-sysvsem' '--with-zlib' '--with-curl=/usr/local' '--with-iconv=/usr/local' '--with-bz2' '--with-jpeg-dir=/usr/local' '--enable-calendar' '--enable-ftp' '--enable-mbstring=all' '--enable-soap' '--with-openssl' '--with-mcrypt' '--enable-zip' '--enable-inline-optimization' '--enable-exif' '--enable-sockets' '--enable-bcmath' '--with-xmlrpc' '--with-ming' '--with-imagick' '--with-mhash' '--enable-exif' '--with-t1lib' '--with-tidy'

How do I fix this problem?

Last edit: 14 years 2 months ago by [Apple](/forum/user/8398-apple "View Apple's Profile").

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

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

Less More

- Posts: 19
- Thank you received: 1
-
-

14 years 2 months ago [\#61431](#61431) by [Apple](/forum/user/8398-apple "View Apple's Profile")  Replied by *[Apple](/forum/user/8398-apple "View Apple's Profile")* on topic *[Re: migration to new host: Export sends wrong headers](/forum/3-bug-report/61343-migration-to-new-host-export-sends-wrong-headers#61431 "I configured Hikashop on one host and then moved to another one. At the first one all worked well, on the new one when press product &quot;Export&quot; instead of the .CSV I get several Warning messages:  and .CSV text follows right after warnings in my browser.  Maybe this is because of different PHP settings?  On the first host I had:  While on the second one:  How do I fix this problem?")*

SOLVED
Deleted empty string between &lt;?php tags in /MY_PATH_TO_JOOMLA_FOLDER/plugins/system/hikashopuser.php

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

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

[](#top)
