|
Posted by Andy Hassall on 08/04/06 22:22
On 4 Aug 2006 15:12:05 -0700, "comp.lang.php" <phillip.s.powell@gmail.com>
wrote:
>Yes, to no avail. It still forces you to download "index.php". There
>is no error, no warning, nothing. PHP doesn't register any kind of
>message whatseover; in fact, it sounds more like a segfault, in short,
>*there is no PHP anymore*
If there was a segfault there'd be a record of it in the Apache error log - is
there?
>> (1) What _is_ output by the script when it fails?
>
>Nothing. You're forced to download index.php
Then at least _something_ was output. Accept the download - how long is the
file you download? Is it zero-length or not?
>> (2) Can you reduce it to a _minimal_ test script - sounds like it could go all
>> the way down to imagecreatefromjpeg() followed by imagejpeg() ?
>
>It doesn't. It dies right at imagecreatefromjpeg() every time. Never
>gets any further than that.
So you have reproduced the problem on a new minimal script containing only a
call to imagecreatefromjpeg() and nothing else?
What is memory_limit set to?
What are the properties of the JPEG file?
>> (3) If you still can't work it out from there can you make available to the
>> group examples of (a) an image that fails and (b) a similar one that doesn't
>> fail?
>
>I don't have an immediate way of producing them publically; they're on
>a government-protected server that's not open to the general public; I
>would have to attach them here, which I don't think Google Groups
>allows to do.
You don't have another website you can put it on? Failing that you could email
one to me if you wanted and I could have a look to see if there's anything
strange about the JPEG, unless you're not allowed to distribute it.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Navigation:
[Reply to this message]
|