- Posts: 15920
COMMUNITY FORUM
Error: Double timezone specification
- Krikor Boghossian
-
- Offline
- Platinum Member
github.com/getk2/k2
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- The Rock Father
-
- Offline
- New Member
- Posts: 1
DateTime::__construct(): Failed to parse time string (-1-11-29 18:00:00) at position 5 (-): Double timezone specification
I'm running K2 v2.7.1 with PHP version 7.0.20
Hopefully the article saves are the only bug.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Did you try the DEV version (please backup first).
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Radosław Dzimiński
-
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- trogladyte
-
- Offline
- Senior Member
- Posts: 61
Please Log in or Create an account to join the conversation.
- Steven Trooster
-
- Offline
- Premium Member
- Posts: 130
- Backup your site!
- Create a test environment. The DEV version of K2 means the version can be unstable. Maybe this bug is solved, but some other issues can occur.
- Go to GitHub ( github.com/getk2/k2 ) and click on the green Clone or download button. In the popup screen choose Download ZIP. You now have an install package (k2-master.zip) which you can install on your test site
- Test K2 thoroughly. Not just this one feature, but all the essential functions you need on your site. If you come across bugs, check the issue list on GitHub . Report new issues on GitHub (note: you need an account for that)
- If you are completely sure all is working fine, install the package on your live site. (you did make a backup before installing, didn't you?)
- Test your live site thoroughly!
- If this issue is not resolved or some other nasty issue comes up, then report this and hope the K2 developer team fixes this very soon. For the time being use the workaround I posted here.
Please Log in or Create an account to join the conversation.
- trogladyte
-
- Offline
- Senior Member
- Posts: 61
However, back to topic, this major issue is now 2 months old and still not patched. My client has reported that he tried the date change workaround, but it did not work. I'll try the code edit that Reaction posted and hope this will fix it.
Please Log in or Create an account to join the conversation.
- Udi
-
- Offline
- Junior Member
- Posts: 37
We have the same issue but we have it only a week.
Please advise.
regards,
Usu
Please Log in or Create an account to join the conversation.
- Микола Корнієнко
-
- Offline
- New Member
- Posts: 2
DateTime::__construct(): Failed to parse time string (-1-11-30 02:02:04) at position 5 (-): Double timezone specification
There is an error if I add tags to the article.
Please Log in or Create an account to join the conversation.
- Steven Trooster
-
- Offline
- Premium Member
- Posts: 130
After intensive testing I can confirm that the tagging is the problem. To be specific: when you add a new tag and press enter, the Date Created field is cleared and becomes empty. Thus the date stored is not correct.
I've tested it on K2 v2.8 as well. Here the bug doesn't occur.
The difference is that the (date) publishing and meta fields are not in a sidebar, but in a tab (like the admin interface in v2.7).
Be aware: if you've created your own K2 template (override), you must update this to v2.8, otherwise the new-article form in the frontend becomes a mess and you're not able to write and save new articles.
I want to do some more testing with v2.8 to make sure no other issues are there, before I install it on my live site.
I would like to encourage the developers of K2 to release a stable v2.8 a.s.a.p.
Please Log in or Create an account to join the conversation.
- Dimitrios
-
- Offline
- New Member
- Posts: 2
Please Log in or Create an account to join the conversation.
- Микола Корнієнко
-
- Offline
- New Member
- Posts: 2
Steven Trooster wrote: You've found it Микола Корнієнко!
After intensive testing I can confirm that the tagging is the problem. To be specific: when you add a new tag and press enter, the Date Created field is cleared and becomes empty. Thus the date stored is not correct.
I've tested it on K2 v2.8 as well. Here the bug doesn't occur.
The difference is that the (date) publishing and meta fields are not in a sidebar, but in a tab (like the admin interface in v2.7).
Be aware: if you've created your own K2 template (override), you must update this to v2.8, otherwise the new-article form in the frontend becomes a mess and you're not able to write and save new articles.
I want to do some more testing with v2.8 to make sure no other issues are there, before I install it on my live site.
I would like to encourage the developers of K2 to release a stable v2.8 a.s.a.p.
How do I update? I do not understand. Here are my overrides. Thank you
Google Drive
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
You can use the DEV version located here: github.com/getk2/k2 click on the green button in order to download the extension.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Steven Trooster
-
- Offline
- Premium Member
- Posts: 130
Микола Корнієнко wrote: How do I update? I do not understand. Here are my overrides. Thank you
Read my post about updating here:
www.joomlaworks.net/forum/k2-en/47780-error-double-timezone-specification?start=10#162860
Please Log in or Create an account to join the conversation.
- Paul Mitchell
-
- Offline
- New Member
- Posts: 15
Thanks!
Please Log in or Create an account to join the conversation.
- WinniePooh
-
- Offline
- Senior Member
- Posts: 55
Please Log in or Create an account to join the conversation.
- WinniePooh
-
- Offline
- Senior Member
- Posts: 55
Again we are not seeing any progress in the development of K2. Everyone who cares about updating to the newest Joomla version should experience the same problem. I don't want to update to any GitHub-Dev-Version of K2. What is the exact fix for this problem?Krikor wrote: K2 2.8 will be ready within the coming days.
Please Log in or Create an account to join the conversation.
- Red Evolution
-
- Offline
- Premium Member
- Posts: 92
Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.