Imagecreatefrompng Problem

I was confused about uploading file all this day from morning up to an hour ago. It was okay when I uploaded it on my localhost. Then after I published it on server it got error when I tried to upload image. The error was something like this :

No data received

Unable to load the webpage because the server sent no data. Here are some suggestions: Reload this webpage later.

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

I thought it was about moderation. I tried to change the moderation from 644, 666 764, to 777. Nothing happened.

Fyi, the server is Freebsd.

Then I crawled the stackoverflow web, then got the solution! This was what I found.


Found the problem!
Abort is caused by the function imagecreatefrompng from pd_lib with png support.


portupgrade -rf png
portmaster -r png

and then apache restart solved it.


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:


You are commenting using your account. Logout /  Ubah )

Foto Google+

You are commenting using your Google+ account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )


Connecting to %s