#966 File uploads produce different format ?

v1.7.3
closed-out-of-date
nobody
5
2004-02-07
2003-10-23
No

Hi guys,

I have been playing with tikiwiki for the past few days.
One thing I couldn’t figure out why is:

When I upload files/images it seems like their format
have been changed, because after I uploaded and then
downloaded the files again from tikiwiki I couldn’t open
them. Then I tried uploading a text file for testing, and
this is what I got after I downloaded it back from
tikiwiki:

Original file content:

------------------------------------------

testing

1

2

3

4

5

6

7

8

9

0

testing

1.

2..

3...

4....

5.....

6......

7.......

8........

9.........

0..........

------------------------------------------------------
-----------------------------

Result after uploading-downloading:

------------------------------------------------------
------------------------

<br />
<b>Warning</b>: Undefined index: filesize in
<b>/home/fredy.namdin/public_html/tiki_1_7_2/tikiwiki_1.
7.2/tiki-download_file.php</b> on line <b>83</b><br />
<br />
<b>Warning</b>: Cannot add header information -
headers already sent by (output started
at /home/fredy.namdin/public_html/tiki_1_7_2/tikiwiki_1.7
.2/tiki-download_file.php:83) in
<b>/home/fredy.namdin/public_html/tiki_1_7_2/tikiwiki_1.
7.2/tiki-download_file.php</b> on line <b>83</b><br />
<br />
<b>Warning</b>: Cannot add header information -
headers already sent by (output started
at /home/fredy.namdin/public_html/tiki_1_7_2/tikiwiki_1.7
.2/tiki-download_file.php:83) in
<b>/home/fredy.namdin/public_html/tiki_1_7_2/tikiwiki_1.
7.2/tiki-download_file.php</b> on line <b>87</b><br />
<br />
<b>Warning</b>: Cannot add header information -
headers already sent by (output started
at /home/fredy.namdin/public_html/tiki_1_7_2/tikiwiki_1.7
.2/tiki-download_file.php:83) in
<b>/home/fredy.namdin/public_html/tiki_1_7_2/tikiwiki_1.
7.2/tiki-download_file.php</b> on line <b>88</b><br />
<br />
<b>Warning</b>: Cannot add header information -
headers already sent by (output started
at /home/fredy.namdin/public_html/tiki_1_7_2/tikiwiki_1.7
.2/tiki-download_file.php:83) in
<b>/home/fredy.namdin/public_html/tiki_1_7_2/tikiwiki_1.
7.2/tiki-download_file.php</b> on line <b>89</b><br />
testing

1

2

3

4

5

6

7

8

9

0

testing

1.

2..

3...

4....

5.....

6......

7.......

8........

9.........

0..........

------------------------------------------------------
---------------------------------------------------

Does anyone have any idea of why it happened ?

Warm regards,

Fredy Namdin

Discussion

  • Fredy Namdin

    Fredy Namdin - 2003-10-28
    • milestone: 337038 --> v1.7.3
     
  • Philippe Cloutier

    • status: open --> closed
     
  • Philippe Cloutier

    Logged In: YES
    user_id=738765

    I know 1.7.2 had something wrong about file downloads.
    I tested and I can't get this either with 1.8 or 1.7 CVS.

     
  • Philippe Cloutier

    • labels: 544455 --> Feature Partially Broken
    • status: closed --> closed-out-of-date
     

Log in to post a comment.