Bludit 1.1.2 Dates Bug

jotapapel
Jr. Bludit
Posts: 1
Joined: Sun Apr 17, 2016 5:23 am

Hi, ever since I updated the bludit version of my blog and I try to edit a page the dates keep reseting on all my older posts. I've read that I'm not the first one to experience this bug, so I was wondering if you know why this happens.
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

Hi,
nop we haven't found the bug, we think it's a bug when you update Bludit from an older version.

- What version of Bludit have you before the update ?
- This happen every time when you add a new post ?

Diego
User avatar
DarrenDriven
Master Bludit
Posts: 69
Joined: Thu Jan 07, 2016 9:39 am
Location: Portland OR
Contact:

OK, I just updated from 1.1 to 1.1.2 a few days ago.... the site was good for a short time, but then the date bug hit me again.

Compressed backup of my entire site as of a few minutes ago:
http://myaccount.dropsend.com/file/0f7111299b49420d

Check out the error log, there is a strange entry at the moment that things went haywire. All other entries are in Los Angeles timezone, but there is a database error in UTC... maybe a hint?

Uploaded my backup content folder and all is well again.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

DarrenDriven wrote: Check out the error log, there is a strange entry at the moment that things went haywire. All other entries are in Los Angeles timezone, but there is a database error in UTC... maybe a hint?

Code: Select all

[17-Apr-2016 22:49:57 UTC] (1.1.2)dbJSON::__construct | Invalid JSON file: /home/darrendriven/public_html/bl-content/databases/posts.php, cannot be decoded. Check the file content.
[17-Apr-2016 15:49:57 America/Los_Angeles] (1.1.2)dbPosts::regenerateCli | New posts added from Cli Mode
Indeed strange... But: Is Cli Mode enabled? And do you use it?

We suppose that Cli Mode enabled can cause the error.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
DarrenDriven
Master Bludit
Posts: 69
Joined: Thu Jan 07, 2016 9:39 am
Location: Portland OR
Contact:

Hmmm... not sure... I don't know what Cli mode is... I'll have to go do a little research and find out.
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Cli Mode is the abbreviation for Command line Interface Mode and allows to add, edit or remove posts and pages from the filesystem. It's use is explained in the Bludit documentation. ;-)

https://docs.bludit.com

Be default Cli Mode is enabled. It can be disable in the admin area at "Settings" > "Advanced".
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
DarrenDriven
Master Bludit
Posts: 69
Joined: Thu Jan 07, 2016 9:39 am
Location: Portland OR
Contact:

Cli mode is currently, and has been, disabled. So that's not the culprit.
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

I'm downloading your site, and I will test on my own server.
This happen alway when you create a new post or sometimes ?
Thanks
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

I don't have any lucky with your files..
I try to add a new post, edit post, add tags, etc.. nothing happen.
User avatar
DarrenDriven
Master Bludit
Posts: 69
Joined: Thu Jan 07, 2016 9:39 am
Location: Portland OR
Contact:

This happens to me randomly, not when I'm using the site. I always discover it in the morning after it has happened sometime in the previous 24 hours... no idea when precisely.
Post Reply