New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tags] "Invalid date" displayed randomly on posts on tags page #1662
Comments
Please post the output of |
Seems to work better with php 7.1.24, but it still sometimes shows up as invalid date? Not sure, might be a browser caching issue?
I think the wrong php version is displayed because this host uses a different php version in CLI than to actually render the website. |
Is the "Hide from All Discussions" checkbox ticked for your tags? The INVALID DATE issue is occurring on discuss.flarum.org too for some tags, so we can verify that one. |
No the hide checkbox is not used, but it happens both on primary tags and sub tags of primary tags. I also noticed that the default "General" tag was acting strangely (reverting color and location randomly but temporarily) but it seems that after completely removing and recreating it at least that issue was removed. |
And what permissions do you have set up on the tags? I'm unable to reproduce that part. |
No special permissions. This is literally a fresh installation with no special setup. I just installed and created some primary tags. |
Mystery. Can anyone else test/confirm this? |
The strange thing is that Flarum Beta7 is right now running on the same web-pack with the exact same setup just fine, but Beta8 is non-usable because the posts dont't show up in the all discussions section most of the time. Maybe this is a database issue? This is on MySQL 5.7.24 on a separate server (not localhost). |
The difference seems to be that while this also shows up on discuss.flarum.org (both in Firefox and Chome) the posts in the "all discussions" view still seem to be unaffected? On my forum the all discussions view stays empty most of the time because of this bug. |
Look at the discussions. These seem to be spam items, maybe they are visible while being held for moderation (approval extension?) or they have been deleted and as such don't have the attribute date? |
@luceos good idea but not sure. |
@PeopleInside scores! Just confirmed the same thing, pretty easy to reproduce, try hard refreshing your /tags page. Seems like it's not using/requesting enough attributes? |
If i refresh the page in the screenshot i continue to see invalid date also if i refresh Firefox 10 times. I do not understand on programming side where the issue is but this is what i can see. :P Tested with Firefox and Chrome, latest version. |
Yeah, that is one of the ways I meant with more or less randomly. Similarly you can refresh the "all discussions" page and sometimes the posts will show up. If they show up you can click on "tags" and there is no invalid date, but after a page refresh it comes back. |
Bug Report
Current Behavior
Just installed a fresh version of Beta8 on my shared host and when posting new topics they don't show up in the All discussions page. Only if I go to the exact sub-tag they are visible.
If I switch to the tags view the posts get added to the bottom row of the tag, but randomly a "INVALID DATE" is shown instead of the actual time it was posted.
This is on a Netcup.de shared host and Flarum Beta7 is running great on it.
The page in question is running php 7.2.12.
The text was updated successfully, but these errors were encountered: