Page 1 of 1

Regenerated password notification and Timezone problem

Posted: Thu Feb 20, 2014 11:50 am
by nocwebdesign
Hi, when i update a db password by generating a new one, i dont receive another mail so most of the time i can't be sure whats the password. Is there a way to fix that.

My second question is i try to install a script that supports PHP 5.4 i guess. I search the forum and use phpcgi as Apache template. Installation went fine but when i try to reach admin area it gives me this error:

Code: Select all

Error 500
date(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone."
I try to specify the timezone in php.ini but it doesnt help. What should i do, i'll be glad if you can assist me about this issues.

Thanks.

Re: Regenerated password notification and Timezone problem

Posted: Thu Feb 20, 2014 12:48 pm
by demian
put file %userhome%/web/<you site>/cgi-bin/php5-cgi.ini

add directive date.timezone = "you timezone"

or use same directive in .htaccess

Code: Select all

example:

cat /home/admin/web/default.domain/cgi-bin/php5-cgi.ini
date.timezone = "Europe/London"



http://php.net/manual/en/datetime.confi ... e.timezone