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.

See: http://forums.freebsd.org/showthread.php?t=20393

Code:
portupgrade -rf png
or
portmaster -r png

and then apache restart solved it.

Tinggalkan Balasan

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

Logo WordPress.com

You are commenting using your WordPress.com 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 )

Foto Google+

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

Connecting to %s