Sign in

Post page blank!

  • This topic has 14 replies, 3 voices, and was last updated 1 week, 4 days ago by .
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #7558
    CWM73

    Today my Posts page mysteriously went blank! I have another Publii site, which works, but this specific one has disappeared! Maybe is a corrupted preferences file? But I have no idea. Has this happened to anyone else? How can I solve it?!?!?

     

     

    #7588
    kradeelav

    Same thing happened to me. Currently experimenting with it to see if it’ll work for my site/blog, using Ubuntu 2.0.0.4 LTS, downloaded the .deb package first today, it had a number of bugs (javascript problems with thumbnail regeneration, etc) so I uninstalled it and used the AppImage package. AppImage package had *less* bugs but the dealbreaker was this bug specifically.

    A shame, as I really loved what this CMS is on paper.¬† Maybe I’ll try it again in a few years.

    #7593
    Tomasz Dziuda

    Hi,

    Seems to be some JS issue while generating posts view. To debug this – please go to the app settings and under developer options please enable option to open Dev Tools with main window. Then restart the app, navigate to posts view and check if the dev tools do you get some JS errors.

    Later you can disable dev tools option to avoid two windows opening while opening Publii app.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #7594
    kradeelav

    Thank you for replying! Just did as you instructed, Tomasz, and screenshotted the devtools part. I don’t know enough about coding to decipher it, but hope it’s useful for debugging in the future, and happy to take more screenshots / be a monkey if needed.

    #7596
    Tomasz Dziuda

    Do you have the same error if you open the app then go to the site settings and come back to the posts view?

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #7597
    CWM73

    Here’s my error, for both the Posts and Author view. And I opened the app, went to site settings, then came back to Post view and got the same error.

    #7599
    Tomasz Dziuda

    Could you sent me in a private reply backup of your website with this issue? I thought that it was some race condition, but if it is repeatable issue after initial page load I think that there is a different reason of this problem and I need backup to try reproduce this issue on my local installation.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #7600
    CWM73
    This reply has been marked as private.
    #7601
    Tomasz Dziuda
    This reply has been marked as private.
    #7603
    Tomasz Dziuda

    CWM73 – the problem is connected with fact that one of your posts is almost fully filled with NULL values. Do you remember what you did before the problem occurred?

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #7604
    kradeelav
    This reply has been marked as private.
    #7605
    CWM73

    Thanks so much, Tomasz, I’ll replace it. And I figured out where the error was. I created a new post, then I created a new Menu Item. It added it to the bottom of the Menu Items, as expected, then I dragged it up into the sub-menu. Then I previewed it and there were identical menu items both in the sub-menu and as the last item in the main list. And when I would delete one, both would be deleted. That’s when everything when messy.

    And I really like Publii, thanks so much for making it! I’m an old-school web designer, and I learned way back in 1993 (!). I’ve taken a bit of time off from making websites, and I wanted a way back in that was easy yet flexible, and Publii does the trick.

    #7607
    Tomasz Dziuda

    @kradeelav РI have attached in your private reply fixed DB file Рplease just replace db.sqlite in your input/ catalog with the attached one.

    I will look for a possible reasons why these empty posts appears, but at this moment I do not see any obvious reason. So the current (temporary) solution for this bug is manually edit posts table and remove the posts with NULL values.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #7608
    kradeelav

    Thank you, Tomaz! Just wondering how I would go about doing that? Is there a folder or page I need to look for to insert the db file?

    #7609
    Tomasz Dziuda

    Under sites directory you must find catalog with your website, and under input catalog you will find db.sqlite file to replace

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 15 posts - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.