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

Main menu don't work #779

Closed
vorlif opened this issue Nov 9, 2020 · 2 comments · Fixed by #780
Closed

Main menu don't work #779

vorlif opened this issue Nov 9, 2020 · 2 comments · Fixed by #780
Labels
bug Something isn't working High Priority High priority issues

Comments

@vorlif
Copy link

vorlif commented Nov 9, 2020

Detailed description of the problem [REQUIRED]

The buttons/links in the left pop-over menu (main menu) do not work.

Steps to reproduce the issue

Steps to reproduce the behavior:

  1. log in
  2. click on the gear wheel on the top left
  3. click on a link

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

Firefox console output:

Uncaught TypeError: album.json is null
    isTagAlbum http://192.168.0.3/dist/main.js?1604908103:701
    setMode http://192.168.0.3/dist/main.js?1604908103:3114
    hide http://192.168.0.3/dist/main.js?1604908103:9843
    init http://192.168.0.3/dist/main.js?1604908103:10528
    Diagnostics http://192.168.0.3/dist/main.js?1604908103:3680
    dispatch http://192.168.0.3/dist/main.js?1604908103:2
    handle http://192.168.0.3/dist/main.js?1604908103:2

Chrome console output:

main.js?1604908103:701 Uncaught TypeError: Cannot read property 'tag_album' of null
    at Object.album.isTagAlbum (main.js?1604908103:701)
    at Object.header.setMode (main.js?1604908103:3114)
    at Object.hide (main.js?1604908103:9843)
    at Object.init (main.js?1604908103:10528)
    at HTMLAnchorElement.leftMenu.Diagnostics (main.js?1604908103:3680)
    at HTMLAnchorElement.dispatch (main.js?1604908103:2)
    at HTMLAnchorElement.v.handle (main.js?1604908103:2)

Output of the diagnostics [REQUIRED]

(Settings => Diagnostics or https://example.com/Diagnostics or php artisan lychee:diagnostics)

    Diagnostics
    -----------
    Info: Latest version of PHP is 7.4
    Warning: Using 32 bit PHP, recommended upgrade to 64 bit
    Warning: Dropbox import not working. dropbox_key is empty.

    System Information
    ------------------
    Lychee Version (git):            master (5ebde6d) - Data not in Cache
    DB Version:                      4.0.7
    
    composer install:                --no-dev
    APP_ENV:                         production
    APP_DEBUG:                       true
    
    System:                          Linux
    PHP Version:                     7.3
    Max uploaded file size:          256M
    Max post size:                   256M
    PostgreSQL Version:              PostgreSQL 11.9 (Raspbian 11.9-0+deb10u1) on arm-unknown-linux-gnueabihf, compiled by gcc (Raspbian 8.3.0-6+rpi1) 8.3.0, 32-bit
    
    Imagick:                         1
    Imagick Active:                  1
    Imagick Version:                 1690
    GD Version:                      2.2.5

    Config Information
    ------------------
    version:                         040007
    check_for_updates:               0
    sorting_Photos_col:              takestamp
    sorting_Photos_order:            ASC
    sorting_Albums_col:              max_takestamp
    sorting_Albums_order:            DESC
    imagick:                         1
    skip_duplicates:                 0
    small_max_width:                 0
    small_max_height:                360
    medium_max_width:                2560
    medium_max_height:               1440
    lang:                            en
    layout:                          1
    image_overlay:                   1
    image_overlay_type:              desc
    default_license:                 none
    compression_quality:             90
    full_photo:                      1
    delete_imported:                 0
    Mod_Frame:                       1
    Mod_Frame_refresh:               30
    thumb_2x:                        1
    small_2x:                        1
    medium_2x:                       1
    landing_page_enable:             0
    landing_owner:                   John Smith
    landing_title:                   John Smith
    landing_subtitle:                Cats, Dogs & Humans Photography
    landing_facebook:                https://www.facebook.com/JohnSmith
    landing_flickr:                  https://www.flickr.com/JohnSmith
    landing_twitter:                 https://www.twitter.com/JohnSmith
    landing_instagram:               https://instagram.com/JohnSmith
    landing_youtube:                 https://www.youtube.com/JohnSmith
    landing_background:              dist/cat.jpg
    site_title:                      Lychee v4
    site_copyright_enable:           0
    site_copyright_begin:            2019
    site_copyright_end:              2019
    additional_footer_text:          
    display_social_in_gallery:       0
    public_search:                   1
    SL_enable:                       0
    SL_for_admin:                    0
    public_recent:                   0
    recent_age:                      1
    public_starred:                  0
    downloadable:                    1
    photos_wraparound:               0
    map_display:                     1
    zip64:                           1
    map_display_public:              1
    map_provider:                    OpenStreetMap.org
    force_32bit_ids:                 0
    map_include_subalbums:           1
    update_check_every_days:         3
    has_exiftool:                    1
    share_button_visible:            0
    import_via_symlink:              0
    has_ffmpeg:                      1
    location_decoding:               1
    location_decoding_timeout:       30
    location_show:                   1
    location_show_public:            1
    rss_enable:                      0
    rss_recent_days:                 7
    rss_max_items:                   100
    prefer_available_xmp_metadata:   0
    editor_enabled:                  1
    lossless_optimization:           1
    swipe_tolerance_x:               150
    swipe_tolerance_y:               250
    local_takestamp_video_formats:   .avi|.mov
    log_max_num_line:                1000

Browser and system

  • Arch Linux
  • Firefox 82.0.2 (64-Bit)
  • Chrome Version 86.0.4240.183 (Official Build) (64-bit)
@nickelsound
Copy link
Contributor

I have the same bug but I have found a workaround. You can go to the main page, click to the gear wheel then click to any album and to the gear wheel again. It should work.

@ildyria ildyria added bug Something isn't working High Priority High priority issues labels Nov 9, 2020
ildyria added a commit that referenced this issue Nov 9, 2020
@ildyria
Copy link
Member

ildyria commented Nov 9, 2020

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High Priority High priority issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants