[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP problems (Warning: session_start(): read returned less bytes than requested)



Joost De Cock said:
> On Wednesday 04 August 2004 16:08, Bojan Baros hurled the following on the
> wire:
>> Hello Joost.
>>
>> Here's the code from session.php of the gallery (1.4.4-1):
>>
>> /* emulate register_globals for sessions */
>> if (!$gallery->register_globals) {
>
> I don't have the original post, but I think you where running this box at
> home
> not?
> You could try to enable register globals in your php.ini file:
>
> /etc/php4/apache/php.ini
>
> This is less secure, so it's better not to keep it that way, but it would
> be
> nice to know if that fixes the problem or not.
> The specific part is only called when register globals is off, so enabling
> it
> would tell us whether it is really specific to this code, or that maybe
> there's a more general problem.
>
> Could you try that, make sure to reload your apache before you test.
>
> joost
>
>
register_globals is already on, both in php.ini and httpd.conf.

Hmm... time to start looking deeper.

Bojan



Reply to: