Posted on: 05/14/05 04:16pm
By: Anonymous (wam)
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.
Gallery Block 1.1.2 by A Maloney
Posted on: 05/14/05 04:26pm
By: Dirk
Where is my php.ini?[*1]
However, if it's not your own server, chances are that you won't be able to edit it ...
bye, Dirk
Gallery Block 1.1.2 by A Maloney
Posted on: 05/14/05 04:28pm
By: Anonymous (wam)
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?
Gallery Block 1.1.2 by A Maloney
Posted on: 05/14/05 04:28pm
By: asmaloney
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
]
- Andy
Gallery Block 1.1.2 by A Maloney
Posted on: 05/14/05 04:43pm
By: asmaloney
Could you email me so I can have you try something?
- Andy
Gallery Block 1.1.2 by A Maloney
Posted on: 05/14/05 04:47pm
By: Anonymous (wam)
done! )
Gallery Block 1.1.2 by A Maloney
Posted on: 05/14/05 05:12pm
By: Anonymous (wam)
thanx asmaloney!
works great now!
Gallery Block 1.1.2 by A Maloney
Posted on: 05/14/05 05:21pm
By: asmaloney
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