Posted on: 02/03/03 11:19pm
By: Anonymous (Anonymous)
Hi,
I have suddenly got the following errors with my gallery install although it has been working fine for a while... I know that there has been discussion about the header information but nothing about the first error which has left me stumped.. Please help!!! By the way, the photos come up after a while with these errors.
Warning: Undefined variable: GALLERY_BASEDIR in /var/www/moocrew.net/public_html/gallery/view_album.php on line 30
Warning: Cannot send session cache limiter - headers already sent (output started at /var/www/moocrew.net/public_html/gallery/view_album.php:30) in /var/www/moocrew.net/public_html/gallery/session.php on line 51
Warning: Cannot add header information - headers already sent by (output started at /var/www/moocrew.net/public_html/gallery/view_album.php:30) in /var/www/moocrew.net/system/lib-sessions.php on line 159
Warning: Cannot add header information - headers already sent by (output started at /var/www/moocrew.net/public_html/gallery/view_album.php:30) in /var/www/moocrew.net/system/lib-sessions.php on line 171
Gallery errors
Posted on: 02/04/03 09:28am
By: vinny
I jus visited your web site (http://www.moosic.net/gallery) and didn't have any problems. Try deleting your browser's cookies, that often fixes those session problems.
-Vinny
Gallery errors
Posted on: 02/04/03 11:51am
By: Anonymous (Anonymous)
Hi, please try clicking into the actual album since the errors don't appear on the 1st page . Try http://www.moosic.net/gallery/view_album.php?set_albumName=Moosic_Live
Gallery errors
Posted on: 02/05/03 09:25am
By: vinny
I can help a little and suggest some things, but I don't think I've seen this before with gallery...
First, the last 4 warning/error messages about the headers already sent can be ignored since they are just a result of php sending the first error message (once anything is written to the html page headers/cookies can't be set).
The first error may be fixed by removing:
$GALLERY_BASEDIR .
from line 30 of view_album.php. It looks like maybe your php security settings are not allowing you to use uninitialized variables (don't ask me why gallery uses them in the first place).
If removing that doesn't help try replacing it with the relative or absolute path of init.php. i.e.
./init.php
--or--
/var/www/moocrew.net/public_html/gallery/init.php
Good Luck,
Vinny