I just installed G2RC2 on an OpenBSD system -- seems to install and run just fine. When I upload images (via several means), their thumbnails AND the originals show up broken. If I look at the JPG on disk, it's fine. When I download it via my browser (or lynx) and do a hex dump, it appear to have one extra character at the begining: a newline (character 10 dec)! Where does that come from?!
Here's the output from 'lynx -source -mime_header http://...' of a full-sized image via G2:
HTTP/1.1 200 OK
Date: Fri, 26 Aug 2005 20:13:49 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.3 mod_ssl/2.8.15 OpenSSL/0.9.7b
X-Powered-By: PHP/4.3.3
Content-Disposition: inline; filename="127_2751.JPG"
Content-length: 468400
Last-Modified: Wed, 24 Aug 2005 19:36:06 GMT
Expires: Sun, 17 Jan 2038 12:00:00 GMT
Connection: close
Content-Type: image/jpeg
<BINARY DATA STARTS HERE, after TWO newlines>
I didn't have trouble with G1 1.4. There are lots of other PHP apps running successfully on this machine.
-- Nathan P.
----
Gallery version = 2.0-rc-2 core 0.9.36
PHP version = 4.3.3 apache
Webserver = Apache/1.3.28 (Unix) PHP/4.3.3 mod_ssl/2.8.15 OpenSSL/0.9.7b
Database = mysql 3.23.57
Toolkits = Exif, ImageMagick, NetPBM
Operating system = OpenBSD 3.4 RAID#0 i386
Browser = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050717
Posts: 8601
check you don't have an extra newline in your config.php