FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Error with images after upgrade to 3.0.5
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Aw: Re: Aw: Re: Error with images after upgrade to 3.0.5 [message #183328 is a reply to message #183317] Sun, 20 October 2013 18:56 Go to previous messageGo to previous message
Kabir is currently offline  Kabir   Germany
Messages: 29
Registered: September 2004
Karma:
Junior Member
this test script works on the server:

<?php

    $file ='/var/www/FUDforum/files/29948.atch';

  header('Content-Description: File Transfer');
    header('Cache-Control: public');

header("Content-type: image/gif");
    header("Content-Transfer-Encoding: binary");
    header('Content-Disposition: attachment; filename='. basename($file));
    header('Content-Length: '.filesize($file));
    ob_clean(); #THIS!
    flush();
    readfile($file);


?>


Any hints or proposals what or where can debug ?

Thx

[Updated on: Sun, 20 October 2013 18:56]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Locking Forums in 3.0.5 makes perms 000
Next Topic: [3.0.5] bug with cyrillic subject from usenet
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 07:46:28 GMT 2024

Total time taken to generate the page: 0.04036 seconds