RE: [Gallery-users] can't create albums (fwd)
| From: | Rasmus Lerdorf | Date: | Mon, 06 May 2002 14:34:26 +0000 |
| Subject: | RE: [Gallery-users] can't create albums (fwd) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-83745@lists.php.net to get a copy of this message | ||
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 <donwang@rcn.com>
To: Troy <tdrake@myrealbox.com>
Cc: gallery-users@lists.sourceforge.net
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 <smythb@alleg.edu>
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
smythb@alleg.edu || http://aries.etree.org/~hamal/
-----Original Message-----
From: Mediratta, Bharat [mailto:bharat@fusionone.com]
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:donwang@rcn.com]
> 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" <bharat@fusionone.com>
> Date: 2002-05-01 4:40:20
> [Download message RAW]
>
>
>
> > From: Brian Smyth [mailto:smythb@alleg.edu]
> >
> > 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: gallery-users-admin@lists.sourceforge.net
[mailto:gallery-users-admin@lists.sourceforge.net]On Behalf Of Troy
Sent: Monday, May 06, 2002 3:38 AM
To: gallery-users@lists.sourceforge.net
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: bandwidth@sourceforge.net
__[ 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: bandwidth@sourceforge.net
__[ 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 ]