Welcome to Geeklog, Anonymous Tuesday, November 28 2023 @ 05:16 am EST
Geeklog Forums
Gallery Block 1.1.2 by A Maloney
wam
Anonymous

hi,
The block appears, but as written in the small FAQ in the install files, I get this PHP warning: "session_start(): Cannot send session cookie - headers already sent by..."
that could be solved by setting output_buffering in my php.ini to 'On'
Ok but where is that php.ini file?!
I can't find it on my site folders!
I've seen I can find it in the Install folder, but I don't have any Install folder anymore!
thanx for help.
The block appears, but as written in the small FAQ in the install files, I get this PHP warning: "session_start(): Cannot send session cookie - headers already sent by..."
that could be solved by setting output_buffering in my php.ini to 'On'
Ok but where is that php.ini file?!
I can't find it on my site folders!
I've seen I can find it in the Install folder, but I don't have any Install folder anymore!
thanx for help.
2
1
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany

However, if it's not your own server, chances are that you won't be able to edit it ...
bye, Dirk
1
1
Quote
wam
Anonymous
thanx for this fast answer.
I got this :
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/MyWebSite/www/plume/site/lib-common.php(852) : eval()'d code:7) in /home/poln/www/gallery/session.php on line 41
Any idea?
I got this :
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/MyWebSite/www/plume/site/lib-common.php(852) : eval()'d code:7) in /home/poln/www/gallery/session.php on line 41
Any idea?
0
2
Quote
wam
Anonymous
done!
)

1
3
Quote
wam
Anonymous
thanx asmaloney!
works great now!
works great now!
3
1
Quote
Status: offline
asmaloney
Forum User
Full Member
Registered: 02/08/04
Posts: 214
For those of you keeping up with the unfolding drama, this is the solution:
In your phpblock.php file, after the line 'global $galleryCache;' add these lines:
global $GALLERY_NO_SESSIONS;
$GALLERY_NO_SESSIONS = 1;
This fixes the problem mentioned in the mini-FAQ recommending the output_buffers solution.
I will release a new version of the block sometime this week that will include this fix and a couple of other little things.
- Andy
2
3
Quote
All times are EST. The time is now 05:16 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content