Search…

X3 Photo Gallery Support Forums

Search…
 
metallissimus
Experienced
Topic Author
Posts: 241
Joined: 17 Oct 2019, 06:54

Hidden folders not shown in panel

04 Nov 2022, 10:52

When I login to the panel in a regular browser session, hidden folders are not shown. In Firefox private mode, everything is fine. I already cleared cache and cookies, restarted the browser and the computer – still the same.

Console shows the same error in both cases, so I assume that's not the reason:
Code
Uncaught TypeError: here.split(...)[1] is undefined
    N https://www.danielbollinger.de/panel/filemanager_js/x3_panel.js?v=3.31.1:2
    setTimeout handler*N https://www.danielbollinger.de/panel/filemanager_js/x3_panel.js?v=3.31.1:2
    get_x3_page_settings https://www.danielbollinger.de/panel/filemanager_js/x3_panel.js?v=3.31.1:2
    <anonymous> https://www.danielbollinger.de/panel/ line 2 > injectedScript:31
    jQuery
[center]6[/center]
    showFileManager https://www.danielbollinger.de/panel/filemanager_js/x3_panel.js?v=3.31.1:2
    jQuery
[center]7[/center]
    showFileManager https://www.danielbollinger.de/panel/filemanager_js/x3_panel.js?v=3.31.1:2
    De https://www.danielbollinger.de/panel/filemanager_js/x3_panel.js?v=3.31.1:2
    x3NavPage https://www.danielbollinger.de/panel/filemanager_js/x3_panel.js?v=3.31.1:2
    initShowFileManager https://www.danielbollinger.de/panel/:458
    show_left_folder_menu https://www.danielbollinger.de/panel/filemanager_js/x3_panel.js?v=3.31.1:2
    jQuery
[center]11[/center]
    show_left_folder_menu https://www.danielbollinger.de/panel/filemanager_js/x3_panel.js?v=3.31.1:2
    <anonymous> https://www.danielbollinger.de/panel/:461
Attachments
Bildschirmfoto 2022-11-04 um 15.47.19.png
Regular vs. private session
Bildschirmfoto 2022-11-04 um 15.47.19.png (497.47 KiB) Viewed 107 times
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13593
Joined: 30 Sep 2006, 03:37

Re: Hidden folders not shown in panel

04 Nov 2022, 11:02

Did you also clear the browser localStorage? This is not quite the same as cookies, although it should be accessible from the same location as where you clear browser cache. I have seen this issue before, and it's somewhat related to folders being renamed/removed, possibly from outside the X3 panel, whereas the X3 panel has stored references to the folder(s) for sorting or toggle open/close reasons. This is the reason why it works in private browser (no previous localStorage) and not the browser where some localStorage values exist. This would also mean you could probably open the panel from another browser without the error.

Of course, this should be circumvented in the X3 panel, but I'm pretty certain that is the reason.
 
metallissimus
Experienced
Topic Author
Posts: 241
Joined: 17 Oct 2019, 06:54

Re: Hidden folders not shown in panel

07 Nov 2022, 08:05

mjau-mjau wrote: Did you also clear the browser localStorage?
Actually I don't know and I can't find specific information on localStorage. I cleared all data as described here: https://support.mozilla.org/en-US/kb/st ... nformation
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13593
Joined: 30 Sep 2006, 03:37

Re: Hidden folders not shown in panel

07 Nov 2022, 08:31

metallissimus wrote:Actually I don't know and I can't find specific information on localStorage. I cleared all data as described here: https://support.mozilla.org/en-US/kb/st ... nformation
I'm not quite sure how all browsers deal with localStorage, but it should get cleared from the settings you are referring to. Perhaps you need to restart browser, or maybe there is something else wrong.

You can do this in Firefox: Open Tools > Browser Tools > Web Developer tools. Click the STORAGE tab > Local Storage (left side) > your domain. You will see something like the below. There shouldn't be any key/values immediately after clearing cache (hopefully including localStorage). I tried from here, and I managed to clear the localStorage items.
Image
You should also be able to clear these items manually. Perhaps you could take a screenshot of the values you have there (if any)? So I can diagnose better. And let's see if it works after clearing (you can select each key/value and click "DEL" to delete them). I'm pretty confident it's related to something stored in browser, because that's technically the only thing that explains the issue. Besides, this bug has been reported earlier.
 
metallissimus
Experienced
Topic Author
Posts: 241
Joined: 17 Oct 2019, 06:54

Re: Hidden folders not shown in panel

07 Nov 2022, 10:10

Thanks for the instructions!

I have the exact same keys and values that are in your screenshot (tested in regular as well as private window). Deleting them manually and refreshing the page doesn't change anything regarding the issue and the values are back immediately.
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13593
Joined: 30 Sep 2006, 03:37

Re: Hidden folders not shown in panel

07 Nov 2022, 10:54

Strange. In your first post, did you get that error code while Firefox web developer tools was open? Or did you open the console after the error happened? Could you try to reload page with web developer tools > Network (tab) + [cache disabled]?

Either there is something cache-ish involved, or Firefox "normal" mode does something differently than "private window" mode. I'm struggling to see how it's not related to the former.

Also, just to do some more elimination, could you try to login to the X3 demo panel?
https://demo.photo.gallery/panel/
 
pede
Experienced
Posts: 56
Joined: 08 Apr 2019, 06:03

Re: Hidden folders not shown in panel

07 Nov 2022, 12:38

I also had this problem and I was looking for a solution for a long time. Finally the clean up Firefox function helped me:

about:support -> Give Firefox a tune up -> Refresh Firefox

(to be on the safe side, save the whole profile before)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13593
Joined: 30 Sep 2006, 03:37

Re: Hidden folders not shown in panel

08 Nov 2022, 00:53

pede wrote:about:support -> Give Firefox a tune up -> Refresh Firefox
Thanks.

I have the same issue reported and solved in this post:
viewtopic.php?f=54&t=10524#p49260

Hard to pinpoint the exact cause, but it's definitely something stored in Firefox.
 
metallissimus
Experienced
Topic Author
Posts: 241
Joined: 17 Oct 2019, 06:54

Re: Hidden folders not shown in panel

08 Nov 2022, 03:00

pede wrote: about:support -> Give Firefox a tune up -> Refresh Firefox
This did work for me. Thank you so much!

Actually I did something else: Because I managed to mess up restoring the profile after the Firefox refresh (which had already solved the problem) I reverted to an older profile from my TimeMachine and it also works. So the problems seems to have been in the profile.
www.danielbollinger.de – corporate photography
hochzeiten.danielbollinger.de – wedding photography