Page 1 of 1

Entries not showing up

Posted: 06 Oct 2022, 10:10
by daJFS
Hi!

I updated a very old instance of the guestbook to, first ver v3.0.12, then to 4.0.2 after I updated to J4. Everything looks good, backend and frontend show no errors. Now I tried to post a comment and nothing happened, the page is refreshed but the comment doesn't show up. I tried this with different captchas and a standard template, always the same behaviour.

Any ideas where to look?

Thanks JFS

Re: Entries not showing up

Posted: 08 Oct 2022, 00:47
by Jan
Hi, is the comment displayed in administration? Did you follow these guides:

https://www.phoca.cz/documents/50-jooml ... o-joomla-4

Jan

Re: Entries not showing up

Posted: 20 Oct 2022, 10:03
by daJFS
Hi!

I did some more investigations and went through the update guide, which helped a lot.

It's now possible to add an entry to the guestbook and this entry appears now in the administration. Now I have a different problem, when trying to publish the entries, nothing happens, it just stays unpublished. This only happens with new entries, old entries are published.

Any help appreciated.

Thanks in advance

Edit: When publishing the entry 'I get the message: '1 item successfully published'. Unpublishing old entries is poosible publishing again doesn't work

Re: Entries not showing up

Posted: 20 Oct 2022, 22:29
by Jan
Hi, when you set that new posts should be published, and some new post is added, is it published in frontend?

What exactly do you mean with: "Unpublishing old entries is poosible publishing again doesn't work" - this is about the old entries?

This still seems like some problem when migrating :idea:

Jan

Re: Entries not showing up

Posted: 21 Oct 2022, 11:57
by daJFS
Jan wrote: 20 Oct 2022, 22:29 Hi, when you set that new posts should be published, and some new post is added, is it published in frontend?
No, they don't show up. See the screenshot
  • 1 New entries show up in the posts list
    2 they are not published
    3 when publishing, I get this message, but they remain in unpublished state
https://imgur.com/a/dmNo8Wk
Jan wrote: 20 Oct 2022, 22:29 What exactly do you mean with: "Unpublishing old entries is poosible publishing again doesn't work" - this is about the old entries?
Exactly, this is about the old/existing entries from before the migration. They are displayed in the frontend and look fine. As soon as I unplublish one of them, they disappear in the frontend and can't published again in the backend. The same behaviour as the new posts.
Jan wrote: 20 Oct 2022, 22:29 This still seems like some problem when migrating :idea:
Yes, I agree but where to look? I've gone through the migaration list twice .....

Thanks for the help so far

Re: Entries not showing up

Posted: 21 Oct 2022, 21:38
by Jan
The only one why is to debug the model when changing the published feature, to test if it really gets right data :idea:

Jan

Re: Entries not showing up

Posted: 23 Oct 2022, 09:43
by daJFS
I got in running now, I guess the SQL statement when exporting from the old page was the problem.

Thanks for the help

Re: Entries not showing up

Posted: 25 Oct 2022, 23:46
by Jan
Ok, great to hear it.

Jan