WordPress.org

Ready to get started?Download WordPress

Forums

Admin JS issues in 'post' & 'page' screens since upgrade (2 posts)

  1. automaton
    Member
    Posted 3 years ago #

    I've got a multisite install with two websites/blogs:
    root (ie http://www.mysite.com)
    subsite (ie http://www.mysite.com/subsite)

    In the subsite, and only in the subsite, when i go to the post or page screens in the admin, some javascript is not loaded, causing the collapsible menus and panels to be unresponsive and tinyMCE/WYSIWYG editing to be disabled. The image uploading popup also doesn't work.
    I've been using FireBug to check out what's going on, and common.js doesn't load for these screens. Upon further investigation -I was starting to feel like Philip Marlowe here- it appears that the affected screens are missing a whole chunk of html at the bottom. Since some javascript files are loaded at the bottom of the page, that would explain a lot.

    So, what could be causing this? I've disabled all plugins and the problem persists. My colleague who's a developer, will return from vacation on Monday so I'll ask his opinion too and get back to the community if we figure it out on our own.

  2. automaton
    Member
    Posted 3 years ago #

    Ok, the solution:
    By upgrading the site from 3.0 to 3.0.1 I eliminated some core hacks my colleague had made.
    Hacks, you say? Core, you say? You're not supposed to do that.
    Indeed, but one of our sites has 50.000 registered users which breaks the dropdowns in quite a few admin screens.
    So we commented out all relevant dropdown user-lists in problematic screens. We reinstated those hacks, and now everything works again.
    Wordpress really needs a more decent role/user management system though.
    For now, I'd just limit the amount of users loaded into dropdowns/lists to 100 or something. What's the point of trying to load all of them if it'll break anyway?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.