Hello all.
Having had to scrub a previous installation of timetrex-1.3.1, I installed the beta version on a new CentOS 4 box. Also installed are postgresql-8.1.4-1.centos.1 and php-5.0.4-4.centos4 (and php-pear-5.0.4, etc. - these are the same as in the previous 1.3.1 installation). The timetrex install went fine (I'm very impressed that the timetrex team made pay period setup easier, for example). The only part of the installation that doesn't seem to work is "My Timesheet" - I just get a blank page. I've been told that php-5.0.4 is buggy, hence my problem. Not to be a baby, or anything (waaaaaah ... oops), but I'd just as soon stick to the stock php installation (which is the same for RHEL 4). Is there any way I can work around this problem?
Thanks.
Diggy
beta w/ stock CentOS php
Please post the error you are getting from your PHP or APACHE error logs. I'll look into this a little more.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!
Here's output from httpd's error_log:
[client 192.168.100.53] PHP Fatal error: Only variables can be passed by reference in /var/www/html/timetrex/interface/timesheet/ViewUserTimeSheet.php on line 1226, referer: http://192.168.100.7/timetrex/interface//index.php
[client 192.168.100.53] PHP Fatal error: Only variables can be passed by reference in /var/www/html/timetrex/interface/timesheet/ViewUserTimeSheet.php on line 1226, referer: http://192.168.100.7/timetrex/interface//index.php
Change line 1226 from:Diggy wrote:Here's output from httpd's error_log:
[client 192.168.100.53] PHP Fatal error: Only variables can be passed by reference in /var/www/html/timetrex/interface/timesheet/ViewUserTimeSheet.php on line 1226, referer: http://192.168.100.7/timetrex/interface//index.php
$smarty->assign_by_ref('pay_period_id', $pay_period_obj->getId() );
To:
$smarty->assign('pay_period_id', $pay_period_obj->getId() );
See if that helps. If you get the same error on another line that happens to be "assign_by_ref" change it to "assign" as well.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!