error messages?

Uhuru

Joined: 2002-08-27
Posts: 1
Posted: Tue, 2002-08-27 19:17

I installed and configured gallery v.1.3.1 and got these error messages:

Warning: ini_get() has been disabled for security reasons in init.php on line 46

Warning: Cannot send session cookie - headers already sent by (output started at /data/members/free/tripod/nl/k/e/t/ket2002/htdocs/gallery/init.php:46) in session.php on line 51

Warning: Cannot send session cache limiter - headers already sent (output started at /data/members/free/tripod/nl/k/e/t/ket2002/htdocs/gallery/init.php:46) in session.php on line 51

Does anyone know how to fix this?

btw, I can’t login as admin, the page just reloads.

Thanks,
Uhuru

 
ill
ill's picture

Joined: 2002-08-15
Posts: 756
Posted: Tue, 2002-08-27 21:10

All I can assume right now is, that your PHP installation has "gobal registers" set to Off. Gallery 1.x requires this set to On.

Please check FAQ C.14, which might be very similar.

The error messages after the ini_get() error message are just followers and will vanish once the above issue is solved.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-08-28 05:41
Quote:
I installed and configured gallery v.1.3.1 and got these error messages:

Warning: ini_get() has been disabled for security reasons in init.php on line 46

Hmm. Well, you can fake it. In init.php, change:

$register_globals = ini_get("register_globals");

to:

$register_globals = "off";

And see if that works.