Report any technical problems you discover and discuss solutions.

Screen loading stops at language drop-down CentOS

  • richardnz
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Lees meer
11 jaren 10 maanden geleden - 11 jaren 10 maanden geleden #2496 door richardnz
I installed Xerte with Moodle 2.8 authentication on my local server (Debian Squeeze) and it runs perfectly. I then re-ran the install on a hosted site where CentOS is being used. Authentication and so on works fine. Everything also works when the httpd server is restarted. However after a while, when the tools are accessed again, the screen loading stops at the language drop-down (which is empty).

I've attached two screenshots. I can't find anything in the error logs - everything appears normal. I suspect one of the js files but am not sure how to proceed.

I checked the httpd log (was looking at the wrong one earlier): Failed to load language file for Xerte - en-GB/website_code/scripts/screen_display.js. Seems odd as that script doesn't appear to attempt to load a language file?

More data. The console log gives an error in screen_display.js at line 178: Uncaught TypeError: Cannot set property 'open' of null. The offending line is:

function sort_display_settings(){
document.getElementById("folder_workspace").open = true; // JS error

Yet more data: When I comment out the call to display_language_selectionform("general") from xerte/index.php around line 117 the rest of the page loads correctly. This function is in language_library.php.

<!-- commented out language selection php -->
<div style="float:left;"><?php //display_language_selectionform("general");?></div>

Thanks if you can help.
Richard
Laatst bewerkt 11 jaren 10 maanden geleden door richardnz. Reden: Yet more data available
De volgende gebruiker (s) zei dank u: garryb

Graag Inloggen of een account aanmaken om deel te nemen aan het gesprek.

Lees meer
11 jaren 8 maanden geleden #2588 door garryb
Beantwoord door garryb in topic Screen loading stops at language drop-down CentOS
Thank you! I was having the same issue, again on a CentOS install, using the latest 2.1 update. It happens on the unstable version too.

I've commented out the same line, and so far so good. I think this started after a round of CentOS update applied a while back, I haven't been able to pin-point the cause yet. I initially thought PHP (tried 5.5/5.4), but after downgrading to 5.3 the issue got worse. Maybe its the apache version? (I'm on 2.2.15)

Graag Inloggen of een account aanmaken om deel te nemen aan het gesprek.

Moderators: ronm, julten, JohnSmith
Tijd voor maken pagina: 0.143 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo