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.

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
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

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?

Status: offline

asmaloney

Forum User
Full Member
Registered: 08/02/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

Status: offline

asmaloney

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

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

- Andy

wam

Anonymous
done! )

wam

Anonymous
thanx asmaloney!
works great now!

Status: offline

asmaloney

Forum User
Full Member
Registered: 08/02/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