Perhaps this broke it: (it looks like the most recent
change to mkdir())

http://cvs.php.net/diff.php/php4/ext/standard/file.c?r1=1.203&r2=1.204&ty=u

I am looking into it.
-James

On Mon, 6 May 2002, Rasmus Lerdorf wrote:

> Bug 16905 seems to be real and is biting a few people on *BSD.  It looks
> non-sensical to me and I don't really have decent access to a FreeBSD box
> anymore.  Could someone on FreeBSD take a close look at this one?
>
> -Rasmus
>
> ---------- Forwarded message ----------
> Date: Mon, 6 May 2002 10:28:10 -0400
> From: Don Wang <[EMAIL PROTECTED]>
> To: Troy <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Gallery-users] can't create albums
>
> Troy,
>
> I suspect that you have hit a PHP 4.2 bug (possibly under BSD environment).
> I had exactly same problem before. Bharat solved it for me. His patch is now
> located at:
>
> List:     gallery-users
> Subject:  [Gallery-users] PHP 4.2.0 new album issues
> From:     Brian Smyth <[EMAIL PROTECTED]>
> Date:     2002-05-02 4:18:48
> [Download message RAW]
>
> Just as an FYI, the issues I (and others) were having are due to a PHP
> bug: http://bugs.php.net/bug.php?id=16905
>
> Bharat worked around the issue, and a patch is in CVS: \
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gallery/gallery/platform/fs_u
> nix.php.di \
> ff?r1=1.12&r2=1.13
>
> It isn't a strictly FreeBSD issue, I encountered the problem on OpenBSD.
>
> Take care,
>
> Brian
> --
> Brian Smyth
> [EMAIL PROTECTED] || http://aries.etree.org/~hamal/
>
> -----Original Message-----
> From: Mediratta, Bharat [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 01, 2002 8:08 PM
> To: 'Don Wang'
> Subject: RE: New Album problem
> Ok, a whole lot of debugging later I've figured out the
> problem.  You're hitting this bug:
>
> http://bugs.php.net/bug.php?id=16905
>
> It would have saved a lot of time if I was able to see
> your Apache error log, but I couldn't find it.  At any
> rate, I've patched your code to work around this issue
> and will roll the patch back into the trunk.  Thanks for
> giving me access!
>
> -Bharat
>
> > -----Original Message-----
> > From: Don Wang [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 01, 2002 3:36 PM
> > To: Mediratta, Bharat
> > Subject: New Album problem
> >
> >
> > Bharat,
> >
> > When one clicks on "new Album", automatically 6 new untitle albums are
> > generated. Afterwards, each new click generates two more.
> >
> > I suspect this bug is php 4.2 upgrade related, although I
> > know little about
> > php to prove it. Right now I count at least three people
> > having the exact
> > same problem.
>
> >
> >
> > List:     gallery-users
> > Subject:  RE: [Gallery-users] Problem adding new album
> > (albums/album01-10)
> > From:     "Mediratta, Bharat" <[EMAIL PROTECTED]>
> > Date:     2002-05-01 4:40:20
> > [Download message RAW]
> >
> >
> >
> > > From: Brian Smyth [mailto:[EMAIL PROTECTED]]
> > >
> > > When my admin user tries to create a new album, 10 new album
> > > directories named album01 through album10 (and so on if I try to
> > > add more albums) are created in my albums/ directory and I get
> > > a "Document contains no data" error from my web browser.
> > > Subsequently, gallery warns me on the top page that album01-10
> > > are not valid albums and should be deleted.  They are just empty
> > > directories.
> >
> > When you click "new album" once, you get 10 empty albums?  Or
> > do you only get one blank album every click?
> >
> > Also, has anything else changed in your environment, like did
> > you upgrade your version of PHP or anything else that might be
> > related?
> >
> > Assuming that you can reproduce this readily, I'd love to
> > get onto your machine via ssh or ftp and tinker with the code
> > to see if I can figure out what's going wrong.  If that's
> > possible please let me know.  Thanks,
> >
> > -Bharat
> >
> >
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Troy
> Sent: Monday, May 06, 2002 3:38 AM
> To: [EMAIL PROTECTED]
> Subject: [Gallery-users] can't create albums
>
>
> After getting Gallery installed and working I can't create new albums.
> After logging in and trying to create one, I get a page not found, then
> when going back to the main gallery page, It shows 3 albums created
> afterwords, all of which are named the same and have the same location.
> Under each album is the error:
>
> Warning: stat failed for /usr/local/www/data/gallery/albums//album.dat
> (errno=2 - No such file or directory) in
> /usr/local/www/data/gallery/platform/fs_unix.php on line 73
> Dec 31, 1969. This album contains no items.
>
> When configuring Gallery I set the Album directory and Albums URL to
> /usr/local/www/data/gallery/albums, the URL to the gallery site is the
> the default of hostname/gallery. The permissions to the albums directory
> are correct, and it is creating these unusable albums in the correct
> place of /gallery/albums. Any help appreciated, thanks.
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
>
>
> __[ g a l l e r y - u s e r s ]_________________________
>
> [ list archive/(un)subscribe --> http://gallery.sf.net/lists.php ]
> [ gallery info/FAQ/download --> http://gallery.sf.net ]
> [ gallery good karma --> http://gallery.sf.net/donate.php?dt=gu ]
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
>
>
> __[ g a l l e r y - u s e r s ]_________________________
>
> [ list archive/(un)subscribe --> http://gallery.sf.net/lists.php ]
> [ gallery info/FAQ/download --> http://gallery.sf.net ]
> [ gallery good karma --> http://gallery.sf.net/donate.php?dt=gu ]
>
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to