- Posts: 9
COMMUNITY FORUM
error for submiting posts
- Margaret
-
Topic Author
- Offline
- New Member
Less
More
12 years 7 months ago #105053
by Margaret
error for submiting posts was created by Margaret
I got an error for the users submit posts
500 - DateTime::__construct() [datetime.--construct]: Failed to parse time string (17/10/2012 10:56:06) at position 0 (1): Unexpected character
I believe this error is related with the issue on datetime that I related in the previous post.
It is not possible to manage date in items. All the time I create a new item it changes the date automatically when saved. I have to reopen and change the date manually. If I reopen the post the date change again.
Also the order is not manageable, don't change anything.
500 - DateTime::__construct() [datetime.--construct]: Failed to parse time string (17/10/2012 10:56:06) at position 0 (1): Unexpected character
I believe this error is related with the issue on datetime that I related in the previous post.
It is not possible to manage date in items. All the time I create a new item it changes the date automatically when saved. I have to reopen and change the date manually. If I reopen the post the date change again.
Also the order is not manageable, don't change anything.
Please Log in or Create an account to join the conversation.
- Margaret
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
12 years 7 months ago #105054
by Margaret
Replied by Margaret on topic 500 - DateTime::__construct() [datetime.--construc
I did lots of research in this subject and could see that it is an old issue for using different languages. It causes this date error in the items which become not possible to add more afterwards. Also it does the same for users adding new posts because there is the same error on the page.
Unfortunately any of these cases didn't show a solution. As I saw it has been an issue for long time I would like to know if the developers have worked on it and find some solutions.
I just installed the extension and if there is unsolved issues it is better uninstall it.
Unfortunately any of these cases didn't show a solution. As I saw it has been an issue for long time I would like to know if the developers have worked on it and find some solutions.
I just installed the extension and if there is unsolved issues it is better uninstall it.
Please Log in or Create an account to join the conversation.
- Margaret
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 9
12 years 6 months ago - 12 years 6 months ago #105055
by Margaret
Replied by Margaret on topic Re: error for submiting posts ( solved)
At last I discovered the solution for this issue. I'm posting here in case somebody else has the same problem.
There is an error in the language translation. You have to change the date format at the file
Code:
administrator\language\pt-BR\pt-BR.com_k2.ini
Change this original
K2_J16_DATE_FORMAT="d/m/Y - H:i"
K2_J16_DATE_FORMAT_CALENDAR="d/m/Y H:i:s"
K2_J16_DATE_FORMAT_LC2="l, d F Y H:i"
K2_J16_DATE_FORMAT_LC="l, d F Y"
For this
K2_J16_DATE_FORMAT="d-m-Y H:i"
K2_J16_DATE_FORMAT_CALENDAR="d-m-Y H:i"
K2_J16_DATE_FORMAT_LC2="d-m-Y H:i"
K2_J16_DATE_FORMAT_LC="d-m-Y H:i"
I found the solution on www.joomlaclube.com.br
There is an error in the language translation. You have to change the date format at the file
Code:
administrator\language\pt-BR\pt-BR.com_k2.ini
Change this original
K2_J16_DATE_FORMAT="d/m/Y - H:i"
K2_J16_DATE_FORMAT_CALENDAR="d/m/Y H:i:s"
K2_J16_DATE_FORMAT_LC2="l, d F Y H:i"
K2_J16_DATE_FORMAT_LC="l, d F Y"
For this
K2_J16_DATE_FORMAT="d-m-Y H:i"
K2_J16_DATE_FORMAT_CALENDAR="d-m-Y H:i"
K2_J16_DATE_FORMAT_LC2="d-m-Y H:i"
K2_J16_DATE_FORMAT_LC="d-m-Y H:i"
I found the solution on www.joomlaclube.com.br
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
12 years 6 months ago #105056
by Lefteris
Replied by Lefteris on topic Re: error for submiting posts ( solved)
@Margaret
You are kindly requested to notify the corresponding project members at www.transifex.com/projects/p/k2/ so they can fix it.
You are kindly requested to notify the corresponding project members at www.transifex.com/projects/p/k2/ so they can fix it.
Please Log in or Create an account to join the conversation.