Support » Fixing WordPress » Why do I have to add define('CONCATENATE_SCRIPTS', false );?

  • Phil

    (@owendevelopment)


    Hi,

    Been having a super weird problem on one particular domain on my server.

    – Installed WP 4.0 from scratch
    – Using default theme – all is fine
    – Moved over my dev theme – all is fine
    – moved over plugins – all is fine

    suddenly, WP admin stops working properly, throws up JS errors and all JS is broken in backend, dragging ability, screen options tab, WP editor tabs, widgets, menu submenus etc.

    Deactivate all plugins, same issue
    Change back to WP theme, same issue
    Delete my custom theme (only leaving default, same issue)

    The ONLY thing that works, is by adding:

    define('CONCATENATE_SCRIPTS', false );

    to wp-config.

    But WHY?

    What is this and why is there an issue? I have multiple domains on the same server, using the same custom theme and same plugins and they all run fine. Why this issue on one domain only? I even deleted the webspace off my server completely thinking there was some weird permissions where WP couldn’t access it’s own files, re-set it up from scratch inc FTP, DB info and same issue occurs again.

    Anyone know the theory behind why this happens?

Viewing 2 replies - 1 through 2 (of 2 total)
  • After a new WP installation (4.0) I was having the same issue. First I thought it was a bug in my theme or something. I came looking for and answer as well and good thing I found your post!

    Problem solved after adding the following line in wp-config file

    define(‘CONCATENATE_SCRIPTS’, false );

    Why? Idk but it works just fine now.

    Thanks for this.

    define('CONCATENATE_SCRIPTS', false );

    Only thing that got my WordPress 4.2 install to work again. Visual editor and text tabs were not connecting and/or saving text.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Why do I have to add define('CONCATENATE_SCRIPTS', false );?’ is closed to new replies.