• Resolved wt9bind

    (@wt9bind)


    Hi,

    We run WordPress for our Intranet (Therefore it is not public)
    Config:
    ?Apache/2.4.7 (Ubuntu)
    ?Database client version: libmysql – 5.5.44
    ?PHP extension: mysqli Documentation
    ?Server: Localhost via UNIX socket
    ?Server type: MySQL
    ?Server version: 5.5.44-0ubuntu0.14.04.1 – (Ubuntu)
    ?Protocol version: 10
    ? Server charset: UTF-8 Unicode (utf8)

    Running WordPress 4.4.1

    We are running a theme called Flatonpro and it uses a plugin called Redux Framework. I have spoken extensively to support and they’re at a loss / say that its not their problem which I am starting to believe as I think there is a configuration issue with the Web server.

    When I activate Redux, I get a WSOD.
    So I updated wordpress
    Updated Flatonpro
    Completely deleted Redux and re-installed it.
    Increased PHP Memory Limit
    Saw that Mcrypt was missing from PHP config so installed it and restarted services
    Then checked the PHP Error.LOG and found this:

    [Tue Jan 12 10:32:02.125801 2016] [:error] [pid 8525] [client 172.20.153.27:64114] PHP Fatal error:  Call to undefined function wp_generate_password() in /var/www/html/wp-admin/includes/file.php on line 169, referer: https://somnet/wp-admin/plugins.php
    [Tue Jan 12 10:32:08.818755 2016] [:error] [pid 8550] [client 172.20.153.27:64135] PHP Fatal error:  Call to undefined function wp_generate_password() in /var/www/html/wp-admin/includes/file.php on line 169
    [Tue Jan 12 10:32:09.469924 2016] [:error] [pid 8549] [client 172.20.153.27:64138] PHP Fatal error:  Call to undefined function wp_generate_password() in /var/www/html/wp-admin/includes/file.php on line 169

    So I thought that may be a permission issue so broke the golden rule and CHMOD -R 777 /var/www in desperation. (Sort of not bothered as its a private intranet).

    Still get WSOD.

    I downloaded a fresh copy of wordpress and copied file.php back to the server. This also did nothing.

    Does anybody have any other suggestions? I am almost at the point of completely rebuilding the server and starting again.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Copy all WP4.4.1 files and folders to your server except wp-content folder and wp-config.php. If still issue then delete active theme folder. This should default your theme to 2016 theme assuming loaded.

    Thread Starter wt9bind

    (@wt9bind)

    Hi, Tried that, no good.

    I ended up getting a wordpress genius in who commented out line 169 of file.php
    /*$temp_filename .= ‘-‘ . wp_generate_password( 6, false );*/
    And everything started working again.

    I know this may be a massive security issue but as its an intranet I am not too worried.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin Causes WSOD’ is closed to new replies.