Configuration:
Drupal 4.7.6
Apache 2.0.55
PHP 4.4.2-1.1
MySQL 5.0.24a-Debian_9-log
Charset utf8
Upon uploading the Timesheet module to /modules/timesheet, I get the following error:
Parse error: syntax error, unexpected T_VARIABLE, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/mypath/modules/timesheet/timesheet_legacy.inc on line 32
Lines 30-40 from timesheet_legacy.inc:
class timesheet {
$_uid;
$_tid;
$_lid;
$_default_hours;
$_timesheet;
$_submit_date;
$_approve_date;
$_end_date;
$_days_left; This occurs independently of whether or not the tables have been created or fpdf uploaded into the modules/timesheet folder in advance.
Comments
Comment #1
silurius commentedI note that the readme mentioned no MySQL 4+ support, but I thought I had read elsewhere that this is now supported.