Skip to Content Skip to Menu

Unable to edit CB Blogs item in back when saved on front on CB 1.9.1

  • activha
  • activha
  • OFFLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
10 years 7 months ago - 10 years 7 months ago #243544 by activha
We moved back to CB Blogs default edit page with K2

We noticed that when items were saved in frontend with CB Blogs default edit and add page, we were unable to access them in the backend.

With gzip enabled, the error is unable to decode raw data

With gzip disabled, the error message is DateTime::__construct(): Failed to parse time string (30-11--0001 00:09:21) at position 0 (3): Unexpected character

Is it fixed in CB 2.0 ?

How can we fix this in CB 1.9.1 ?

Thanks
Last edit: 10 years 7 months ago by activha.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 6 months ago #243572 by krileon
PHP DateTime is erroring. CB does not make use of DateTime in CB 1.9.1 except when trying to determine Joomlas offset, but that doesn't appear to be what it's doing. CB 2.0 uses DateTime, but in a safe try/catch manner to prevent site blocking. That is likely coming from Joomla or maybe K2 somewhere. Please review your server error log and see if it tells you what file and what code line the error occurred on.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • activha
  • activha
  • OFFLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
10 years 6 months ago #243582 by activha
Well this is the point, there is no error in the logs.

This only happens in the backend, users in the frontend add, edit and see their K2 items without any problem.

Is there a way to overcome this problem beside going immediately to CB 2.0 ? would it be safe to go now to CB 2.0 ?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 6 months ago #243593 by krileon

Is there a way to overcome this problem beside going immediately to CB 2.0 ?

CB 2.0 probably won't fix this either as it's not coming from CB. CB does not use DateTime in CB 1.9.1. That error is happening because "30-11--0001" is invalid as it has 2 -. I've no idea what is doing this so I've no idea what to advise. Check within K2 to see if the blog can be edited there and that its create date is valid.

would it be safe to go now to CB 2.0 ?

No, CB 2.0 is in Beta. It is not for production sites.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • activha
  • activha
  • OFFLINE
  • Posts: 2327
  • Thanks: 117
  • Karma: 13
10 years 6 months ago #243699 by activha
Hi

Upgrading to k2 version 2.6.8 solved the problem :-)

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum