- Posts: 132
COMMUNITY FORUM
[SOLVED] Start/finish publishing dates aren't saved
- Thomas Thrane
-
Topic Author
- Offline
- Premium Member
Less
More
10 years 6 months ago #133560
by Thomas Thrane
Start/finish publishing dates aren't saved was created by Thomas Thrane
Hi
When I set Start publishing/Finish publishing dates, they aren't saved and the next time I edit the item, those fields are empty...
How can I fix this?
Regards
Thomas
When I set Start publishing/Finish publishing dates, they aren't saved and the next time I edit the item, those fields are empty...
How can I fix this?
Regards
Thomas
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 6 months ago #133561
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Start/finish publishing dates aren't saved
Hello Thomas,
Which version of K2 and Joomla! are you using?
Have you read this post -> getk2.org/community/English-K2-Community/186296-SOLVED-K2-item-date-and-time-not-working-on-joomla-32#195576 ?
Which version of K2 and Joomla! are you using?
Have you read this post -> getk2.org/community/English-K2-Community/186296-SOLVED-K2-item-date-and-time-not-working-on-joomla-32#195576 ?
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
10 years 6 months ago #133562
by Thomas Thrane
Replied by Thomas Thrane on topic Re: Start/finish publishing dates aren't saved
Hi
I'm using J 3.3.3 and 2.6.8 of K2.
Yes I have already made the changes in the code.
I'm using J 3.3.3 and 2.6.8 of K2.
Yes I have already made the changes in the code.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 6 months ago #133563
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Start/finish publishing dates aren't saved
Are these dates visible in the administration itemlist layout (Not inside the item) ?
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
10 years 6 months ago #133564
by Thomas Thrane
Replied by Thomas Thrane on topic Re: Start/finish publishing dates aren't saved
In the itemlist I only see Created and Modified dates.
Not any start/finish dates - I don't recall ever have seen these dates?
Not any start/finish dates - I don't recall ever have seen these dates?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
10 years 6 months ago #133565
by Lefteris
Replied by Lefteris on topic Re: Start/finish publishing dates aren't saved
@Thomas Thrane
What's the PHP version of your server? If you have made the changes in the code, it should work.
What's the PHP version of your server? If you have made the changes in the code, it should work.
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
10 years 6 months ago #133566
by Thomas Thrane
Replied by Thomas Thrane on topic Re: Start/finish publishing dates aren't saved
It's 5.4.33 - could this be the issue?
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
10 years 6 months ago #133567
by Lefteris
Replied by Lefteris on topic Re: Start/finish publishing dates aren't saved
No, your version is fine. I think that you should check again that you have applied the code correctly in the file administrator/components/com_k2/views/item/view.html.php . Alternatively you can try to install the development version from getk2.org/assets/get/ .
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
10 years 6 months ago #133568
by Thomas Thrane
Replied by Thomas Thrane on topic Re: Start/finish publishing dates aren't saved
Thanks, I'll have another look and get back to you :-)
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
10 years 5 months ago - 10 years 5 months ago #134748
by Thomas Thrane
Replied by Thomas Thrane on topic Start/finish publishing dates aren't saved
Hi
I checked and I already made the changes ind the files, but still the date doesn't show up when editing an item.
If I enter ad date/time and saves, I see in the DB it's saved correct, but then I need to edit an item and the date is gone and when I save again I see 0000-00-00 00:00:00 in the DB.
www.dropbox.com/s/rk1ylmirh9bnrd2/K2_01.jpg?dl=0
I checked and I already made the changes ind the files, but still the date doesn't show up when editing an item.
If I enter ad date/time and saves, I see in the DB it's saved correct, but then I need to edit an item and the date is gone and when I save again I see 0000-00-00 00:00:00 in the DB.
www.dropbox.com/s/rk1ylmirh9bnrd2/K2_01.jpg?dl=0
Last edit: 10 years 5 months ago by Thomas Thrane. Reason: Image link
Please Log in or Create an account to join the conversation.
- Thomas Thrane
-
Topic Author
- Offline
- Premium Member
Less
More
- Posts: 132
10 years 5 months ago #134753
by Thomas Thrane
Replied by Thomas Thrane on topic Start/finish publishing dates aren't saved
Reinstalled K2 and seems to have fixed it...
Please Log in or Create an account to join the conversation.