Skip to content
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

TypeError: "t" is undefined #903

Open
SoCuul opened this issue Nov 10, 2023 · 10 comments
Open

TypeError: "t" is undefined #903

SoCuul opened this issue Nov 10, 2023 · 10 comments
Labels
bug Something isn't working needs information Needs more information in order to fix

Comments

@SoCuul
Copy link

SoCuul commented Nov 10, 2023

Describe the bug
When I scroll beyond a few thousand photos, clicking on a photo renders this error and forces me to reload the page to continue using the site.
When I reload the site and scroll back to these photos, the site crashes again.

Screenshots
image

Your environment:

  • Are you using Docker? yes
  • Database: mariadb:10.5
  • Browser: Firefox Stable 119.0 (macOS)
  • Photoview version [e.g. 2.0.0]: 2.3.13
@SoCuul SoCuul added the bug Something isn't working label Nov 10, 2023
@SoCuul
Copy link
Author

SoCuul commented Nov 16, 2023

@viktorstrate you come into contact with this before?

@SoCuul
Copy link
Author

SoCuul commented Mar 9, 2024

@kkovaletp Do you have this problem while using your instance?

@kkovaletp
Copy link
Contributor

@SoCuul, no I don't.
I have 6.5 K media files in my gallery and scrolled them all in my latest stable Chrome with opened DevTools: no single error has been reported, even though I have a few corrupted photos, so no thumbnails were displayed for them

@SoCuul
Copy link
Author

SoCuul commented Mar 9, 2024

@SoCuul, no I don't. I have 6.5 K media files in my gallery and scrolled them all in my latest stable Chrome with opened DevTools: no single error has been reported, even though I have a few corrupted photos, so no thumbnails were displayed for them

That's super strange. Could you possibly try scrolling through them in Firefox? That could narrow down if the issue is my personal instance.

@kkovaletp
Copy link
Contributor

Please note that my instance is built from #910 code with many fixes applied compared to the master

@kkovaletp
Copy link
Contributor

Could you possibly try scrolling through them in Firefox?

the result is the same: no errors

@viktorstrate viktorstrate added the needs information Needs more information in order to fix label Mar 25, 2024
@OnlyFor
Copy link

OnlyFor commented Apr 26, 2024

From my testing on windows, this problem only occurs in firefox (
125.0.2) , but everything seems to be fine in chrome (124.0.6367.60)

Maybe it has something to do with the plug-ins enabled in firefox? over 10000+ photo

@SoCuul
Copy link
Author

SoCuul commented Apr 26, 2024

From my testing on windows, this problem only occurs in firefox (

125.0.2) , but everything seems to be fine in chrome (124.0.6367.60)

Maybe it has something to do with the plug-ins enabled in firefox? over 10000+ photo

I could give you the list of extensions I have installed to help troubleshoot it? If you'd be willing to try that.

@SoCuul
Copy link
Author

SoCuul commented Apr 26, 2024

Also, is there any docker image built from the master? Maybe that could fix it.

@kkovaletp
Copy link
Contributor

Also, is there any docker image built from the master? Maybe that could fix it.

yes, there is the photoview:master image in the Docker Hub registry: https://hub.docker.com/r/viktorstrate/photoview/tags
You need to change the next line in your docker-compose.yml for the photoview service:
image: viktorstrate/photoview:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs information Needs more information in order to fix
Projects
None yet
Development

No branches or pull requests

4 participants