Welcome to Geeklog, Anonymous Monday, December 09 2024 @ 03:17 pm EST

Geeklog Forums

Gallery Block 1.1.2 by A Maloney


wam

Anonymous
curious
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.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Read the FAQ Where is my php.ini?

However, if it's not your own server, chances are that you won't be able to edit it ...

bye, Dirk
 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?
 Quote

Status: offline

asmaloney

Forum User
Full Member
Registered: 02/08/04
Posts: 214

Ok but where is that php.ini file?!


That will depend on how your server is set up. On my Mac OS X installation it's in /usr/local/php/lib/.
[I was about to pull out the FAQ - I see Dirk beat me to it Smile ]
- Andy
 Quote

Status: offline

asmaloney

Forum User
Full Member
Registered: 02/08/04
Posts: 214

Could you email me so I can have you try something?

- Andy
 Quote

wam

Anonymous
done! Surprised)
 Quote

wam

Anonymous
thanx asmaloney!
works great now!
 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
 Quote

All times are EST. The time is now 03:17 pm.

  • 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