After line 592 which is $response-setContent(readfile($sciezka));
There are:
$response-sendContent();
return sfView::NONE;
I deleted $response-sendContent();
so there are only:
$response-setContent(readfile($sciezka));
return sfView::NONE;
in the endStill the same error. Headers already
oops, disregard that - i've didn't read your source, sorry.
2009/3/25 Tomasz Ignatiuk tomek.ignat...@gmail.com
After line 592 which is $response-setContent(readfile($sciezka));
There are:
$response-sendContent();
return sfView::NONE;
I deleted $response-sendContent();
so there are only:
What's 'broken'? You mean you can't open it with adobe reader/other
pdf viewer? If you check the contents of the file, does it look like a
valid pdf?
On Tue, Mar 24, 2009 at 12:51, Tomasz Ignatiuk tomek.ignat...@gmail.com wrote:
Hi, I use this code for downloading files. If I download image, it
File is damaged and it couldn't be repaired - this shows while I try to
open it with adobe acrobat/reader. I don;t know how to check it in a
different way.
2009/3/24 Fási Gábor maerl...@gmail.com
What's 'broken'? You mean you can't open it with adobe reader/other
pdf viewer? If you check the
Open it as raw file, for example with the help of vim.
Tomasz Ignatiuk wrote:
File is damaged and it couldn't be repaired - this shows while I try
to open it with adobe acrobat/reader. I don;t know how to check it in
a different way.
2009/3/24 Fási Gábor maerl...@gmail.com
I opened with a VIM. Many strange alphanumeric stuff inside but in the end
there is a warning few times:
bWarning/b: Cannot modify header information - headers already sent by
(output started at
/home//apps/backend/modules/dokument/actions/actions.class.php:592) in
On Tue, Mar 24, 2009 at 5:46 PM, Tomasz Ignatiuk
tomek.ignat...@gmail.comwrote:
I opened with a VIM. Many strange alphanumeric stuff inside but in the end
there is a warning few times:
bWarning/b: Cannot modify header information - headers already sent by
(output started at
It worked, thank you very much!!! But how did you know? Why it is happening?
2009/3/24 Paolo Mainardi paolomaina...@gmail.com
On Tue, Mar 24, 2009 at 5:46 PM, Tomasz Ignatiuk tomek.ignat...@gmail.com
wrote:
I opened with a VIM. Many strange alphanumeric stuff inside but in the end
there
On Tue, Mar 24, 2009 at 5:54 PM, Tomasz Ignatiuk
tomek.ignat...@gmail.comwrote:
It worked, thank you very much!!! But how did you know? Why it is
happening?
Because the prod controller, strip out all the php error reporting.
Check your action, probably there are some errors on Header
No erros in log, but this headers already sent is strange.
On 24 Mar, 18:32, Paolo Mainardi paolomaina...@gmail.com wrote:
On Tue, Mar 24, 2009 at 5:54 PM, Tomasz Ignatiuk
tomek.ignat...@gmail.comwrote:
It worked, thank you very much!!! But how did you know? Why it is
happening?
Because
On Tue, 24 Mar 2009, Tomasz Ignatiuk wrote:
No erros in log, but this headers already sent is strange.
Means you're action generated some output and often its from an error
message or warning.
--
A
--~--~-~--~~~---~--~~
You received this message because
11 matches
Mail list logo