PHP Syslog error:

httpd: PHP Fatal error: Call to undefined function date_make_date() in /var/www/OAO/sites/all/modules/simple_contest/modules/simple_contest_repeat/simple_contest_repeat.helper.inc on line 114

fixed with this on line 114, not sure the last value $field['type'] is correct:

- $start = date_make_date(time(), $timezone_db, $field['type'], $field['granularity']);
+ $start = new DateObject(time(), $timezone_db, $field['type']);

date_make_date went away in new version of Date.

Also not sure if it's related but got this error at the same time on the simple contest tab of the contest content type:

Notice: Undefined index: #post in _simple_contest_repeat_date_repeat_widget_validate() (line 116 of /var/www/OAO/sites/all/modules/simple_contest/modules/simple_contest_repeat/simple_contest_repeat.form.inc).

Once I fixed the above I get:

httpd: PHP Fatal error: Call to undefined function drupal_clone() in /sites/all/modules/simple_contest/modules/simple_contest_repeat/simple_contest_repeat.helper.inc on line 138 - fixed by just using php clone()

Cleared the cache and works now

Drupal install notes:

Drupal core 7.8
Date 7.x-2.0-alpha4
Includes: Date, Date API, Date Popup, Date Repeat API, Date Tools, Date Views
Up to dateok
Entity API 7.x-1.0-beta10
Includes: Entity API, Entity tokens
Update availablewarning
Entity Reference 7.x-1.0-alpha1
Recommended version: 7.x-1.0-beta1 (2011-Sep-22)

* Download
* Release notes

Includes: Entity Reference

Comments

vinoth.3v’s picture

Thank you for guidance. Contest repeat module is not available yet for D7. Since we have rules integrated, we can achieve the same functionality(creating a new contest automatically) using rules I am thinking of.. should we really need a separate module for this..

vinoth.3v’s picture

Issue summary: View changes

Fixes