There is an issue while submit the form in Drupal. check the errors below :

"warning: strtotime(): 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 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /var/www/html/drupal/sites/all/modules/webform/webform.module on line 3400.
warning: 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 'Asia/Calcutta' for 'IST/5.0/no DST' instead in /var/www/html/drupal/sites/all/modules/webform/webform.module on line 3400."

CommentFileSizeAuthor
#3 weberror.jpg153.34 KBgarciac1212
webform_module_error.JPG239.9 KBmanishway
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Status: Active » Postponed (maintainer needs more info)

Could you first upgrade to the latest version of the module (3.15 or higher), then provide:

- Steps to reproduce this problem. I'm guessing that you have a time or date component added to your form? Or does it happen on a webform with just a textfield?
- Your PHP version. I know this is a recent change to PHP, so it probably only affects recent versions of PHP 5.3.

manishway’s picture

Thanks for reply. I will check it by upgrade it to higher version.

garciac1212’s picture

FileSize
153.34 KB

Getting the exact same thing. Have no idea where to start to fix this...

garciac1212’s picture

This happens when i edit and save a webform node...

quicksketch’s picture

This happens when i edit and save a webform node...

Can you provide full steps to create the webform node? Or does this happen on all Webform nodes, regardless of the components that it has?

garciac1212’s picture

I haven't tried using the web form on other content types. But when you install the Webform module it automatically adds a content type called "webform" hence when you "create content" you have the option "webform" in addition to "page" and "story." Ok, so when I create a webform piece of content, I edit the body (filter HTML to add images and other stuff) and when I hit save that error message pops up. I have no idea where its coming from.

But let me try creating a NEW content type say ex: "custom_webform" and then I'll go to webform settings and make this content type a webform. I'll create a content and see how that works.

1 sec...

garciac1212’s picture

Ok yea, still getting that error message. It happens when I click the edit -> then "save" that I get the error message displayed in my #3 post.. Very lost

mollyavalon’s picture

Version: 6.x-3.12 » 6.x-3.18

I had the same problem on a site I inherited. Then I realized the Date module had not been installed. I installed it (and the JQueryUI module), set the time zone, and all is well now.

DanChadwick’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)