Date = 1970 in tracker? Posted by Sridhar Katakam 14 Mar 2005 04:03 GMT-0000 posts: 78 I created a tracker in which the first field titled 'Date' is of the type 'date and time'. I entered an item in this tracker and it shows the year as 1970 whereas it should be 2005. User view: Admin view: Can anyone help me fix this pls?
Posted by Sridhar Katakam 14 Mar 2005 14:48 GMT-0000 posts: 78 toggg in IRC to the rescue again. I replaced the following files w/ the ones he sent: tiki-view_tracker.php tiki-view_tracker_item.php templates/tiki-view_tracker_item.tpl and it's fixed. siri.tar.gz (5.28 Kb)
Posted by bertrand Gugger 14 Mar 2005 18:42 GMT-0000 posts: 47 Hi, The problem was caused by the storage as strings of the date field values. It affected only the branch 1.8 as starting from 1.9 these values are stored as timestamps. The corrections have been commited in the CVS: tiki-view_tracker.php tiki-view_tracker_item.php templates/tiki-view_tracker_item.tpl but also the modules last_tracker_items and last_modif_tracker_items: mod-last_modif_tracker_items.php mod-last_tracker_items.php mod-last_modif_tracker_items.tpl mod-last_tracker_items.tpl Enjoy trackers ! Tikily yours, -- bertrand Gugger http://toggg.com/
Posted by eamonnoc 05 Apr 2005 11:20 GMT-0000 posts: 8 I have the same problem, but when I replaced the files I get the following error message when trying to go into my tracker: Fatal error: Call to undefined function: smarty_make_timestamp() in c:\program files\easyphp1-7\www\tiki\tiki-view_tracker.php on line 264 Any ideas of what to do? Thanks
Posted by bertrand Gugger 06 Apr 2005 08:28 GMT-0000 posts: 47 Hi eamonnoc ! > I have the same problem, but when I replaced the files I get the following error message when trying to go into my tracker: > > Fatal error: Call to undefined function: smarty_make_timestamp() in c:\program files\easyphp1-7\www\tiki\tiki-view_tracker.php on line 264 It sems you are running an older version of tw. Could you give more info about it ? > > Any ideas of what to do? You could upgrade up to 1.8.5 Let me know if it's not possible, we could possibly make some other call. Tikilly yours, -- bertrand Gugger http://toggg.com/
Posted by eamonnoc 06 Apr 2005 14:07 GMT-0000 posts: 8 Hello, i'm still having trouble! > It sems you are running an older version of tw. > Could you give more info about it ? > You could upgrade up to 1.8.5 > Let me know if it's not possible, we could possibly make some other call. > I was running 1.7.5 so I upgraded to 1.8.5 and I also upgraded easyPHP to version 1.8, and I tried the trackers again. I'm getting basically the same message again: Fatal error: Call to undefined function: smarty_make_timestamp() in c:\program files\easyphp1-8\www\tiki\tiki-view_tracker.php on line 264 What should I do now? Thanks for your help.
Posted by Sridhar Katakam 07 Apr 2005 04:59 GMT-0000 posts: 78 I read somewhere in this forum that there is/are some problem(s) w/ EasyPHP 1-8. Try searching for "EasyPHP" and if you find that it's a serious issue, you may want to downgrade to 1.7 (if it's possible). > > > I was running 1.7.5 so I upgraded to 1.8.5 and I also upgraded easyPHP to version 1.8, and I tried the trackers again. I'm getting basically the same message again: > > Fatal error: Call to undefined function: smarty_make_timestamp() in c:\program files\easyphp1-8\www\tiki\tiki-view_tracker.php on line 264 > > What should I do now? > Thanks for your help.
Posted by eamonnoc 11 Apr 2005 09:21 GMT-0000 posts: 8 It still doesn't work!! I went back to EasyPHP 1.7 and tikiwiki 1.8.5 and the tracker date does not work. I get the same error when I replaced the files. Is there any hope?!!