From: Nicholas <nic...@pd...> - 2003-06-11 14:11:57
|
Joan, I'm using the latest version of PHP and Gallery (stable) on Windows, and haven't encountered any problem like the user is describing. Is there a sure-fire way to trigger this error, so I can test it/verify it on my own machine? Thanks, Nicholas > -----Original Message----- > From: gal...@li... > [mailto:gal...@li...] On Behalf > Of Joan McGalliard > Sent: Wednesday, June 11, 2003 12:26 AM > To: gal...@li... > Subject: [Gallery-devel] Testers Required! > > > [already sent to gallery-core. Apologies for duplication] > > On Tuesday, June 10, 2003, at 04:28 AM, Bharat Mediratta wrote: > > > > > Looks like we have a line on what might have caused the > problem with > > PHP 4.3.2 on windows: > > > > http://gallery.menalto.com/ > > index.php?name=PNphpBB2&file=viewtopic&t=6677 > > > > I propose a gallery-specific fix at the bottom of this > thread that may > > resolve the problem; if that pans out it should go into 1.3.4. > > > > -Bharat > > This didn't address the original users' errors, but that's not > surprising, as it corrupts files. The best we can hope for is it > doesn't corrupt files anymore. > > After reading the PHP.net man page, it seems all fopen calls > should be > "b" (and will be in future releases by default) so we are looking to > make 1.3.4 only do binary fopens. > > I've got a patch that changes every call to fopen to binary, in the > current 1.3.5, but we need to test it before we roll it out > in 1.3.5 or > bring it into 1.3.4. It is pretty straight forward to test. First, > install the patch: > http://www.mcgalliard.org/content/gallery/fopen.patch > > Then on an existing album, > 1) re run the configuration wizard > 2) add some photos using a URL in "add photos" > 3) create a new gallery, starting with empty album and > config.php and > check albums/.users/.htaccess > 4) add an album and a photo to new gallery. > > that's it. If you don't see any errors, then we should be ok. > > This tests: > serial and master serial > reading a url for images (look for Parsing ...for images) in > save photo check_netpbm and imagemagick - not on windows > setup: > test_write_to_dir > writing config.php > writing .htaccess > creating .htaccess in new .users directory > getFile - used in unserialize > safe_serialize > > It doesn't test: > *debug stuff in exec_internal - not tested > *reading serial in mirror code > *opening header.php in Nuke html_wrap/wrapper.header.default > > so if anyone has an environment to test them, I'd be grateful. > > thanks - report success to me (with php version, OS etc > details), and > problems either back to this list, or email myself, bharat > and beckett. > > Windows testers especially required. > > joan > > -- > Joan McGalliard, UK > http://www.mcgalliard.org > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The best thread debugger on the planet. Designed > with thread debugging features you've never dreamed of, try > TotalView 6 free at www.etnus.com. __[ g a l l e r y - d e v > e l ]_________________________ > > [ list info/archive --> http://gallery.sf.net/lists.php ] > [ gallery info/FAQ/download --> http://gallery.sf.net ] > |