Error after clicking Download button

Phoca Download - download manager
fspaan
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 Jan 2010, 13:10

Error after clicking Download button

Post by fspaan »

Dear Phoca,

After clicking the button 'Download' for a selected file, I receive the following error:
Warning: Header may not contain more than a single header, new line detected. in .../jo_dev/components/com_phocadownload/helpers/phocadownload.php on line 109 (../ is the full root path)

Warning: Cannot modify header information - headers already sent by (output started at (../ is the full root path) .../jo_dev/components/com_phocadownload/helpers/phocadownload.php:109) in /(../ is the full root path) .../jo_dev/components/com_phocadownload/helpers/phocadownload.php on line 110

Warning: Cannot modify header information - headers already sent by (output started at .../jo_dev/components/com_phocadownload/helpers/phocadownload.php:109) (../ is the full root path)in .../jo_dev/components/com_phocadownload/helpers/phocadownload.php on line 111 (../ is the full root path)
This is then followed by a binary list of the file, such as this:

Code: Select all

ÐÏࡱá>þÿ þÿÿÿþÿÿÿŒŽÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Ö(ÍÉá°Áâ\pC628BAA B°aÀ=   œ¯¼=ñÿïCalibri1Ü?¼ 
I have upgraded today to the latest version 1.3.1, Joomla 5.14, default template. It occurs both on FireFox as well as IE6

Where should I look into or what should I change?

Thanks a lot in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after clicking Download button

Post by Jan »

Hi, no idea what this should mean? I am testing it with 1.5.15 and get no such problem. Try to check your code if there is not sent somewhere some header? :idea:
If you find Phoca extensions useful, please support the project
fspaan
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 Jan 2010, 13:10

Re: Error after clicking Download button

Post by fspaan »

Thanks for replying,

I reminded that the files with this error were all msExcel files. So, I tried as .zip files.
No error, a normal download as it should be.

So, conclusion (or should I have read the manual): .xls files go wrong when downloading...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after clicking Download button

Post by Jan »

Maybe you should try to change the mime type of the excel files. :idea:

Jan
If you find Phoca extensions useful, please support the project
ducsi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Jul 2010, 15:13

Re: Error after clicking Download button

Post by ducsi »

Hello Phoca Hero,
I have the similar problem - instead of headers already sent messages -.
So when I hit the download I can see the binary data in the browser.
What should I check/change?
Thanks in advance,
Ducsi
ducsi
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 22 Jul 2010, 15:13

Re: Error after clicking Download button

Post by ducsi »

JoomFish was the problem!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error after clicking Download button

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
vanitanigoo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Aug 2010, 10:26

Re: Error after clicking Download button

Post by vanitanigoo »

I'm getting an error for downloading files from front end. Have tried remository, phoca download but the problem persists.

When I click to download the file it opens a blank page with ÐÏࡱá written in it.

The error started after I upgraded Joomla from 1.5.18 to 1.5.20.

I am also having similar error with converting the documents into PDF by Phoca PDF. Have tried all available solutions but none have worked till now.

My Website : www.vanitanigoo.info
My hosting server is godaddy.
php version is 5.2.x
vanitanigoo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Aug 2010, 10:26

Re: Error after clicking Download button

Post by vanitanigoo »

Very strange....this error persists for me even in the following environment.

Joomla 1.6
Phoca Download 2.0 Alpha 1
Php 5.2.8 - all settings are ok

I wiped out my previous version of Joomla 1.5.20 along-with the database.
vanitanigoo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Aug 2010, 10:26

Re: Error after clicking Download button

Post by vanitanigoo »

SOLVED :twisted:

My website is hosted by Godaddy and its a free version which was given with domain purchase. :)

I researched about their preloaded applications and got to know that in free webhosting they have made the new versions of Joomla as not compatible(probably they have introduced some restrictions). :cry: :cry: :cry: :cry: :cry:

Hence some features like file downloads, pdf facility are not working.

Got to shift to some other free hosting..... :evil:

Got the info at https://hostingconnection.godaddy.com/A ... oomla.aspx (login required)
Post Reply