Cannot save an entry as "draft" in 1.3.dev (smarty)

General information and announcements regarding the FlatPress project
Post Reply
User avatar
virtualsky
Posts: 36
Joined: Thu Mar 11, 2021 4:50 am
Location: Saskatchewan, Canada
Contact:

Cannot save an entry as "draft" in 1.3.dev (smarty)

Post by virtualsky » Fri Jul 15, 2022 3:43 am

In addition to the issue I have with 1.3.dev (smarty) not displaying visits values, I have also discovered a problem with saving entries as Drafts. That is, I can't. When I do, the Entries admin page no longer works. The browser pauses during page load and after 40 seconds or so, just stops and I'm left looking at a blank page. The only way I can get the Entries admin page to show up again is to log in to my server and delete the newly created .txt file in the fp-content drafts folder.

Don't know if anyone else is having this issue, but I certainly am.
It ain't retro to me.... it's just how I live!
https://www.chorusgrove.site/retroblog

User avatar
Arvid
FlatPress Coder
Posts: 385
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Cannot save an entry as "draft" in 1.3.dev (smarty)

Post by Arvid » Sat Aug 13, 2022 12:50 pm

Hi, thanks for reporting.
I can reproduce this: Checking "Draft entry" and then hitting "Save&Continue" works fine. But if I press the "Publish" button instead, FP seems to "hang" as you described. (Can you confirm this difference?)

I got it back working normally by deleting the fp-content/index folder and rebuilding the index (Admin Area -> Maintain). Deleting the draft filewas not sufficient.

Bad news: I wasn't able to find the cause yet...

All the best,
Arvid

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests