1

Topic: Edit Record causes error

In ./?q=my-records, I've added an "edit" action to the grid to allow me to edit my own records:

./?q=single-record&occurrence_id=123456

If I visit this link, the correct form appears but is blank except for this error:

"DateTime::__construct(): 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."

Is that me?

Cheers...

2

Re: Edit Record causes error

I think that is your date.timezone setting in php.ini.
It is set on both our warehouses.
I have a gut feeling that this is not what is stopping your form from being filled out but let's clear the obvious error first before leaping to conclusions.

Jim Bacon.

3

Re: Edit Record causes error

My Drupal instance is on GoDaddy CPanel shared hosting.

Fortunately, they support local php.ini files and adding timezone to seems to have done the trick.

Thanks.