WebsiteBaker Support (2.13.x) > General Help & Support

Pages gone after upgrade in backend

<< < (2/2)

crnogorac081:

--- Quote from: crnogorac081 on January 29, 2025, 11:46:23 AM ---if anyone could provide access to live site with problem I can take a look

--- End quote ---

Anyway pages tree sould be separated based on menu lists , for example if you have Main menu , footer menu, sidebar etc... its a work in progress but it will look like this:



sternchen8875:

--- Quote ---Now the pages are missing the backend...
--- End quote ---

i hope, i found the problem....
something goes wrong with the file admin/pages/eggsurplus.js
looks good in the source code, looks good in ftp-permission, but the switch to hide a empty page-tree or display it, will not work.
i open this file, edit something, undo the changes and save it again, now it works

We will look at this file, whats happend

sternchen8875:
after a lot of test's

there is a little typofix inside of the function show_page_list() in admin/pages/eggsurplus.js
a missing semikolon at the end of this line here

--- Quote --- var selectTable = document.querySelec torAll('.pages_view') ;
--- End quote ---


the complete, repaired function:

--- Code: ---    function show_page_list(){
      var selectTable = document.querySelectorAll('.pages_view');
        for (var i = 0; i < selectTable.length; i++) {
            selectTable[i].style.display = (selectTable[i].style.display==="none" ? "" : "");
        }
    }
--- End code ---

its important, to clear the browser-cache after the correction. check also in a new browser, if its work not directly

md001:
Same issue, but your "fix" is working.
Many thanks.

But why is there no update in the file, wich is available for download?

Maybe just another hint.. The list is shown again, but not really nice.
Is there also an option or fix to make it shown nice again? 😏

sternchen8875:

--- Quote from: md001 on March 04, 2025, 09:29:35 PM ---But why is there no update in the file, wich is available for download?

--- End quote ---

What are the expectations for such a fix or patch or even a new WB version? Honestly please...
I install it and expect this problem to be solved. But in the case of an overwritten Javascript file, this only works in the rarest of cases.
And what does the user do if such a fix doesn't work? Maybe he is angry and looks for alternatives. I would be....

In this particular case, this error only occurs very rarely, which is related to the browser type, the browser version, the structure of the page tree, the settings in the AdminTool JS-Admin, etc. So far there have been three such reports. I myself maintain 116 WB installations, most of them with this WB version, and have not had this problem.
In our tester group, all of them people who maintain WB sites themselves, this problem did not occur either. From my point of view, the best solution was to describe the cause as precisely as possible and to include clear repair instructions, because experience has shown that the chances of success are greater if you get involved yourself and follow the instructions. For example, I am sure that your shifted display of the page overview is purely a browser cache problem, because it is a simple HTML table construct that has been used in this way since WB 2.10. The solution would therefore be (as I described above)


--- Quote ---its important, to clear the browser-cache after the correction. check also in a new browser, if its work not directly
--- End quote ---

Another point is a certain update fatigue among users. If you are not directly affected, like you or the TE, you may skip such a fix. A patch because of a single file, which could only cause problems in the per mille range, did not seem to be the optimal solution. It's been a good 6 weeks since the report and since then there has been further feedback on other things. It will certainly not take until December to release a new version

Translate with Deepl

Navigation

[0] Message Index

[*] Previous page

Go to full version