[ewiki] postgresql and uploads

I tried to check the forums, but the sourceforge site is down.  Sorry if
this is already
addressed.

I am running ewiki on SUSE Enterprise 9 with postgresql as the backend.
 It mostly works
as expected, with the exception of uploads.  I have tried both image
uploads and general
uploads.  It seems as if text-based uploads work properly, but whenever
I try to upload binary
data, it gets garbled somehow.  In particular, the file size changes.

When I try to view the image in the wiki, I just get the title
information.  When I try to view 
it directly, I get:

"The image
"http://wikitest.megatron/alliancewiki.php?binary=internal%3A%2F%2Fefa169bdde1198de66964c917651f19f.png";
cannot be displayed, because it contains errors."

Additionally, when I do a wget on the file, I get only 8 bytes.  This
happens with all
.png files I have tried to upload.  With PDFs, I get a varying number
of bytes, but
always less than what I sent.

Does anyone have any suggestions for me?

This is the last major issue preventing a live rollout internally. 
 (I already have people working on patches for the other minor issues)

Thanks for your help,

-Josh More


Other related posts: