Xyphyn / photon

An opinionated web client for Lemmy to help users discover the fediverse.
https://phtn.app
GNU Affero General Public License v3.0
390 stars 43 forks source link

Blank screen for new Lemmy instance #140

Closed Showfom closed 1 year ago

Showfom commented 1 year ago

Describe the bug It's just a blank screen without any content shows on a new Lemmy instance R.NF

To Reproduce (if applicable) Steps to reproduce the behavior:

  1. Go to https://phtn.app/post/r.nf/1
  2. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Versions

Xyphyn commented 1 year ago

Photon has feature parity, but is not a drop in replacement. The blank screen is caused by it failing to fetch posts.

You must create the site via lemmy-ui first before you can use Photon.

Photon does not support password resets or email verification either, so I'd recommend keeping Photon as a separate UI for now.

Showfom commented 1 year ago

@Xyphyn

Yes the instance with lemmy-ui works fine https://r.nf/

But not working with photon, and there's no log from docker.

Showfom commented 1 year ago

Seems photon is not working with latest Lemmy 0.18.4-beta.8

For example

https://lemmy.miichelle.moe/post/1 https://photon.lemmy.world/post/lemmy.miichelle.moe/1

https://r.nf/post/1 https://photon.lemmy.world/post/r.nf/1

Both instances are running with Lemmy 0.18.4-beta.8

Xyphyn commented 1 year ago

image

weird

Xyphyn commented 1 year ago

Should be fixed in v1.2.3

Xyphyn commented 1 year ago

Isn't fixed.

MusicSongs-Org commented 1 year ago

Regarding 'invalid date' parsing, photon has a hard-coded 'Z' it adds to all the date fields of Lemmy, that's been changed in the Lemmy API response to already have the 'Z'.

Xyphyn commented 1 year ago

Regarding 'invalid date' parsing, photon has a hard-coded 'Z' it adds to all the date fields of Lemmy, that's been changed in the Lemmy API response to already have the 'Z'.

omfg why do they keep changing this

Xyphyn commented 1 year ago

That shouldn't crash though

Xyphyn commented 1 year ago

Haven't completely fixed the issue on this particular instance, but did add compatibility for the new version and some error handling just in case it fails, as of v1.3.2

drphero commented 1 year ago

For anyone still having trouble with this, make sure to completely clear the cache and cookies for phtn.app and it should load properly.