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."
Comment | File | Size | Author |
---|---|---|---|
#3 | weberror.jpg | 153.34 KB | garciac1212 |
webform_module_error.JPG | 239.9 KB | manishway |
Comments
Comment #1
quicksketchCould 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.
Comment #2
manishway CreditAttribution: manishway commentedThanks for reply. I will check it by upgrade it to higher version.
Comment #3
garciac1212 CreditAttribution: garciac1212 commentedGetting the exact same thing. Have no idea where to start to fix this...
Comment #4
garciac1212 CreditAttribution: garciac1212 commentedThis happens when i edit and save a webform node...
Comment #5
quicksketchCan you provide full steps to create the webform node? Or does this happen on all Webform nodes, regardless of the components that it has?
Comment #6
garciac1212 CreditAttribution: garciac1212 commentedI 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...
Comment #7
garciac1212 CreditAttribution: garciac1212 commentedOk 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
Comment #8
mollyavalon CreditAttribution: mollyavalon commentedI 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.
Comment #9
DanChadwick CreditAttribution: DanChadwick commented