Was this forum imported from a different software, by any chance? Also, does this issue apply to other users, or just this one?
Joined NaN Years ago on the profile page.
askvortsov Hi, Nope this is not imported from a different software. And this issue applies to all users.
rockyru what does the joined_at column values look like for users? Is the format / value correct?
askvortsov here's a value for the joined_at column: 2021-03-11 23:15:26
rockyru That seems correct... Could you share the output of php flarum info
?
askvortsov How do I do that? haha sorry, just got started here yesterday.
rockyru No worries! In the terminal, go to the root of your flarum installation (the folder that contains config.php
) and run php flarum info
- Edited
askvortsov gotcha! here:
base url: https://forum.test
Install path: xampp\htdocs\forum
debug mode: off
I moved the public files into the root folder and made changes on the necessary files.
rockyru Sorry, the resolution on the image is quite low. Could you paste the output here or in a hastebin?
- Edited
Flarum core 0.1.0-beta.15
PHP version: 7.4.3
Loaded extensions: Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, SPL, pcre, readline, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, bz2, SimpleXML, xml, xmlreader
, xmlwriter, openssl, curl, fileinfo, gd, gettext, mbstring, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, ftp
+------------------------------+------------------+------------------------------------------+
| Flarum Extensions | | |
+------------------------------+------------------+------------------------------------------+
| ID | Version | Commit |
+------------------------------+------------------+------------------------------------------+
| flarum-approval | v0.1.0-beta.15 | |
| flarum-bbcode | v0.1.0-beta.15 | |
| flarum-emoji | v0.1.0-beta.15 | |
| flarum-lang-english | v0.1.0-beta.15 | |
| flarum-flags | v0.1.0-beta.15 | |
| flarum-likes | v0.1.0-beta.15 | |
| flarum-lock | v0.1.0-beta.15 | |
| flarum-markdown | v0.1.0-beta.15 | |
| flarum-mentions | v0.1.0-beta.15 | |
| flarum-statistics | v0.1.0-beta.15 | |
| flarum-sticky | v0.1.0-beta.15.1 | |
| flarum-subscriptions | v0.1.0-beta.15 | |
| flarum-suspend | v0.1.0-beta.15 | |
| flarum-tags | v0.1.0-beta.15 | |
| matteocontrini-imgur-upload | v3.6.0 | |
| simonxeko-preview-discussion | 0.1.0 | |
| nearata-tags-color-generator | v1.2.0 | |
| fof-best-answer | 0.3.6 | |
| fof-formatting | 0.3.1 | |
| askvortsov-categories | v2.0.0 | |
| fof-cookie-consent | 0.4.0 | ea01045106fe26ebbf98c6df4e994a44a6f0e823 |
| flarum-pusher | v0.1.0-beta.15 | |
| fof-follow-tags | 0.6.5 | |
| ianm-follow-users | 0.1.2 | |
| fof-links | 0.5.4 | |
| sycho-profile-cover | v1.2.3 | |
| isaa-isaa-opengraph | 0.1 | |
| zerosonesfun-direct-links | 2.0.3 | |
| itnt-uitab | 0.3.0 | |
| fof-frontpage | 0.3.0 | |
| zerosonesfun-hashtags | 4.0.3 | |
+------------------------------+------------------+------------------------------------------+
Base URL: https://forum.test
Installation path: C:\xampp\htdocs\forum
Debug mode: off
rockyru Hmm none of these are standing out to me that much. Try disabling:
- ianm-follow-users
- sycho-profile-cover
- isaa-isaa-opengraph
- zerosonesfun-direct-links
- itnt-uitab
And check if that has an impact. Also, are there any errors in the devtools console?
askvortsov It's weird that it's working now. haha! I haven't touched or modified anything.
askvortsov Okay, so it's working only for the admin account. The issue still on members account, I disabled all the extensions mentioned above, yet the issue is still there for the members account.
As for the console error: I'm getting this: Request URL: chrome-extension://invalid/
rockyru Could you go to a page of a user with this issue and run app.current.get('user').joinTime()
in the devtools console?
Also to be safe, I'd disable all other non-core extensions (although I doubt they are the root, this is a weird one)
askvortsov I'm getting null as a result running that command
While on the user page that is working, I got this result:
Fri Mar 12 2021 07:15:26 GMT+0800 (Philippine Standard Time) {}
And to confirm, for the user where it's working, the joined_at
value in the database is correct?
Also, which user are you viewing this as? Are you logged in as the admin user?
askvortsov they're both correct values in the base. To confirm, I am logged in as a member and tried to view my profile and admin profile, the issue shows up. But when I am logged as an admin, all is working fine.
rockyru Can you send a screenshot of your permissions setup in the admin dashboard?
Same problem on my https://rusforum.fi
I set up this forum from latest 0.16 version of Flarum.
The problem reproduces only for not logged in user. For logged in user all shows fine.
So it goes like this:
- Open forum and do not login https://rusforum.fi
- Open user profile like this one https://rusforum.fi/u/Gorkiy
- You get
Joined NaN years ago
- Login to forum
- Open same page https://rusforum.fi/u/Gorkiy
- You get
Joined 3 days ago
-