• I installed WordPress 4.0 on a laptop running CentOS 6.5, MariaDB, Apache and Firefox. I have the latest version of PHP. I am running the NVIDIA graphics driver instead of NOUVEAU.

    I could not use the Dashboard since the display was garbled when trying to view a post.

    After some Google searching, I put “define(‘SCRIPT_DEBUG’, true);” in wp-config.php and commented out the ‘false’ version.

    This improved the login screen for Dashboard and the ability to view a post from the Dashboard but it still is not right.

    I also get the message “Warning: mysql_connect(); Headers and client library minor version mismatch. … wp-db.php on line 1409”

    Are there other fixes beside “define(‘SCRIPT_DEBUG’, true);”?

    Please advise.

    Thank you,
    Joe

Viewing 3 replies - 1 through 3 (of 3 total)
  • this may be an issue using mariadb – wordpress requirements are:
    PHP 5.2.4 or greater
    MySQL 5.0 or greater
    The mod_rewrite Apache module

    Thread Starter Joe Hesse

    (@joe-hesse)

    There are many messages in the WP forums and on the internet indicating that MariaDB is a drop in replacement for MySQL and WP works fine with MariaDB. Many Linux distributions are using MariaDB instead of MySQL. I have done a recent WP install with MariaDB.

    I have done WP installs without installing the mod_rewrite module.

    I upgraded PHP from 5.3 to 5.4. This change made it worse, the login box for the Dashboard works but it doesn’t look like it should.

    Now, with the PHP ugrade, “define(‘SCRIPT_DEBUG’, true);” or “define(‘SCRIPT_DEBUG’, false);” does not make any difference.

    I don’t know if my laptop is the problem for this WP install. It is a 4 year old I7 with 8G of memory and a 500G hard drive. It appears to work well.

    I would really appreciate some suggestions as to whether I should just give up on installing WP on my laptop or keep trying.

    Thank you,
    Joe

    Thread Starter Joe Hesse

    (@joe-hesse)

    I tried the Firefox Browser Console and it gives a bunch of errors, all of the type:

    The stylesheet https://xxxxxx/v1/wp-includes/css/dashicons.min.css?ver=4.0 was not loaded because its MIME type, “text/plain”, is not “text/css”.

    Is there a way I can use this info to fix my display problem?

    Thank you,
    Joe

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display problem fixed with "define('SCRIPT_DEBUG', true);"’ is closed to new replies.