Elgg 1.10.4 bugs

Hi again! I'm testing Elgg 1.10.4 and this is full of bugs:

- On admin panel I can't edit the dashboard widgets, JS is not working.

- On admin panel I can't open the users, utilities, and statistics menus.

- On front end the admin bar appears broken.

- CSS styles are not working well.

  • The community site here is running 1.10.4 and I can assure you this is all working on the admin panel - and as you can see css is fine.  Additionally I know a few people who upgraded already with no such reports - I doubt it's a core issue.  Check your setup.

  • Hate to say it but clear the cache, run upgrade.php

    New install or an upgrade?

     

  • Probably a javascript issue. Check developer tools in your browser and check for errors on the console.

    I upgraded a site today 01.10.4, no issues as described above.

  • @socialphp This is a new install, I've just installed now

  • @gkanters @Beck24 I don't understand if it is the same version, how is possible that only my instalation have bugs? I don't understand. The same code, executed on diferent places must return the same result.

  • The Chrome console says that:

     

    Uncaught SyntaxError: Unexpected token <
    elgg:1 Uncaught SyntaxError: Unexpected token <
    admin:1 Uncaught SyntaxError: Unexpected token <
    content.js:4 Iframe attached successfully
    app.js:3 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

     

     

     

    <b>Deprecated</b>:  mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in <b>/var/www/vhosts/licaweb.com/10presupuestocero/engine/classes/Elgg/CacheHandler.php</b&gt; on line <b>141</b><br />
    // <script>
    if (typeof require == "undefined") {
        var require = {"baseUrl":"http:\/\/10.presupuestocero.org\/cache\/1427240461\/default\/js\/","paths":{"jquery.form":["http:\/\/10.presupuestocero.org\/vendors\/jquery\/jquery.form.min"],"ckeditor":["http:\/\/10.presupuestocero.org\/mod\/ckeditor\/vendors\/ckeditor\/ckeditor"],"jquery.ckeditor":["http:\/\/10.presupuestocero.org\/mod\/ckeditor\/vendors\/ckeditor\/adapters\/jquery"],"jquery.treeview":["http:\/\/10.presupuestocero.org\/mod\/pages\/vendors\/jquery-treeview\/jquery.treeview.min"]},"shim":{"jquery.form":{"deps":["jquery"],"exports":"jQuery.fn.ajaxForm"},"ckeditor":{"exports":"CKEDITOR"},"jquery.ckeditor":{"deps":["jquery","ckeditor"],"exports":"jQuery.fn.ckeditor"},"jquery.treeview":{"deps":["jquery"],"exports":"jQuery.fn.treeview"}}};
    }

     

  • I see a lot of errors on the console :(

  • okay, I'm guessing you're on php 5.5

    turn error reporting to a higher level than warning and it should fix it.

    better yet, turn php error reporting off and then re-set once once everything starts working again,

  • This almost definitely points to an htaccess / rewrite rule problem. Make sure your rules are set up correctly.

  • Ahh, more info helps. Listen to @twentyfiveautumn ;-)