Loading...
 
Skip to main content

Features / Usability


Date = 1970 in tracker?

posts: 78 India

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:

Image


Admin view:

Image


Can anyone help me fix this pls?

posts: 78 India

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.


posts: 47 France

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/


posts: 8 Ireland

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

posts: 47 France

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/

posts: 8 Ireland

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.

posts: 78 India

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.

posts: 8 Ireland
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?!!