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: 41
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: 399
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
Helpful FlatPress links: Project blog 📝 - FlatPress wiki 📖 - FlatPress@Twitter 🐦 - FlatPress@Mastodon 🐘
Stay up to date with our feeds: Forum RSS feed 📜 - Project blog RSS feed 📜
Feel free to say Thank you: Donate ❤️

🇩🇪 Für meinen Arbeitgeber in Bochum habe ich zwei Stellen zu besetzen: Junior-Systemadministrator, Ausbildung zum Fachinformatiker Systemintegration 🇩🇪

User avatar
virtualsky
Posts: 41
Joined: Thu Mar 11, 2021 4:50 am
Location: Saskatchewan, Canada
Contact:

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

Post by virtualsky » Tue Aug 23, 2022 1:02 am

Hi, Arvid! Thanks for taking the time to test this out. I don't get the same results.

If I check off the "Draft" setting and Save & Continue, my Entries Admin screen is no longer accessible for me. This time, however, I kept the editor screen open on one tab and tried to access the Entries page on another tab in my browser. Once I unchecked the "Draft" option and then re-saved and continued, I could once again access the Entries screen on the second tab.
It ain't retro to me.... it's just how I live!
https://www.chorusgrove.site/retroblog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest