Hi Victor,

Thanks, I just pushed a fix to master!

Have a nice day,

Florian

Am 22.05.2012 12:58, schrieb Victor Dubiniuk:
Extra empty lines after ?> are killing output.
I' d recommend all app developers to check their /appinfo/app.php for
closing PHP tag right now and remove it if  any.

May be it is a good idea to clear the output buffer after
OC_App::loadApps() execution.


----
Victor Dubiniuk
[email protected] <mailto:[email protected]>
http://www.linkedin.com/in/vicdeo

On Tue, May 22, 2012 at 1:40 PM, Victor Dubiniuk
<[email protected] <mailto:[email protected]>> wrote:

    Hi Thomas,

    remove the closing  ?>
    in the file  apps/files_odfviewer/appinfo/app.php
    to fix it.


    ----
    Victor Dubiniuk
    [email protected] <mailto:[email protected]>
    http://www.linkedin.com/in/vicdeo

    On Tue, May 22, 2012 at 2:14 AM, Thomas Müller
    <[email protected] <mailto:[email protected]>> wrote:

        Hi,

        has anybody of you deeper knowledge about php-gd?

        One of my ownCloud installation (done with the Debian package)
        is returning broken images for e.g.
        
http://localhost/owncloud-git/?app=gallery&getfile=ajax/thumbnail.php?img=/Winter.jpg
        
<http://localhost/owncloud-git/?app=gallery&getfile=ajax/thumbnail.php?img=/Winter.jpg>

        The thumbnail itself exists on both installations and it is
        posted back to the browser.

        The only difference is a new line between the content length and
        the data.
        This new line causes the browser not to show the image.

        Here is the interesting part of the working response:
        Transfer-Encoding: chunked
        Content-Type: image/jpeg

        2000
        ......JFIF.............>CREATOR: gd-jpeg v1.0 (using IJG JPEG
        v80), default quality

        and here the broken repsonse:
        Transfer-Encoding: chunked
        Content-Type: image/jpeg

        2001

        ......JFIF.............>CREATOR: gd-jpeg v1.0 (using IJG JPEG
        v80), default quality

        I appreciate any response and idea how to fix this issue!

        Thanks a lot,


        Thomas

        --
        Thomas Müller                 E-Mail: [email protected]
        <mailto:[email protected]>

        _______________________________________________
        Owncloud mailing list
        [email protected] <mailto:[email protected]>
        https://mail.kde.org/mailman/listinfo/owncloud





_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

--
Florian Hülsmann
<[email protected]>
http://cbix.de
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to