Welcome Guest, Not a member yet? Register   Sign In


I am using version 2.1 of adLDAP.php. It seems to work on my
local WAMP server install with codeigniter 1.7.1 and php version

I moved to a development server with php 5.3.2 and codeigniter version 1.7.2
I get the following message:

Message: adLDAP::adLDAP(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead

Filename: libraries/adLDAP.php

Line Number: 107

According to this url and modification :

It should work but it doesnt. Do you have any idea?


I had this before. It appears to happen when the parameter is not set in the php.ini file. Check your php.ini for
; Defines the default timezone used by the date functions
date.timezone =
Here are the options for the timezone settings:

Try setting this parameter, and restart php service.


Thanks. I tried it with

date.timezone = "Europe/Amsterdam"

But unfortunately it did not work.

Any further ideas?

Thanks, Joe4

What about instead of Phil's recommendation you would use in your index.php:
if( ! ini_get('date.timezone') )


But as I said, I tried that too. And it did not work.

Thanks, Joe4

Theme © iAndrew 2016 - Forum software by © MyBB