• Very interesting plugin, however it is not working on any of my sites. When I hit the troubleshoot button on my local test site, I get a white screen and nothing happens. When i hit the troubleshoot button on one of my live sites I get a white screen with “Unabled to read database credentials from wp-config.php” at the top.

    Would really like to get this plugin working as it would be very useful in troubleshooting any errors I get on my sites.

    Thanks,
    Gregor

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author NSquared

    (@croixhaug)

    Hi Gregor,

    Thanks for letting us know about this issue. I suspect it has something to do with the formatting of your wp-config.php file, and something we need to adjust in our plugin. Your wp-config.php file should have code like this:

    
    define( 'DB_NAME' ,'wordpress' );
    
    /** MySQL database username */
    define( 'DB_USER' ,'wpuser' );
    
    /** MySQL database password */
    define( 'DB_PASSWORD' ,'qaofj80239j90awjf') ;
    
    /** MySQL hostname */
    define( 'DB_HOST' ,'localhost' );
    

    If the formatting of your file is different, could you paste one of the lines here (make sure to change any sensitive data, but I’m curious to see how those define commands appear in the file so I can test.

    I’ll also try a few variations here to see if I can reproduce it.

    Thanks,
    Nathan

    Thread Starter gregorr64

    (@gregorr64)

    Hi Nathan,

    From what I can see, my sites wp_config appears to be roughly the same.

    I need to leave the office now, but I’ll be back in tomorrow. Let me know if you need anything and I’ll send it tomorrow.

    Thanks,
    Gregor

    Plugin Author NSquared

    (@croixhaug)

    Thanks Gregor, just let me know if you have any different spacing, or double quote marks instead of single quotes, etc?

    Also, is your site in the root of a domain? or in a subfolder?
    like yoursite.com vs. yoursite.com/wordpressblog/

    I’ll try a few things in the meantime

    Thanks,
    Nathan

    Plugin Author NSquared

    (@croixhaug)

    Hi Gregor, we just released version 1.0.7 which fixes a few issues. I *hope* that it fixes the issue you were having, we tried to make the code a little more flexible for handling variations in wp-config.

    Please let me know if the newest version works for you, we want to get it fixed for you if you’re still having trouble!

    Thanks,
    Nathan

    Thread Starter gregorr64

    (@gregorr64)

    Hi Nathan,

    I’ve updated and now getting the error:

    “Unable to locate wp-config.php file: /var/www/vhosts/sitename.co.uk/httpdocs/wp-config.php OR /var/www/vhosts/sitename.co.uk/wp-config.php”

    I’m still only getting a plain whitescreen on my local testing site.

    Thanks,
    Gregor

    Plugin Author NSquared

    (@croixhaug)

    Thanks Gregor, can you confirm that the wp-config.php file exists at one of those locations? Or let me know where it is located instead? If it is actually there, then there might be a permissions problem (owned by a different system user or locked down permissions)

    You can also email us at [email protected] to provide any sensitive details

    Thanks,
    Nathan

    Thread Starter gregorr64

    (@gregorr64)

    My wp-config.php is in /var/www/vhosts/sitename.co.uk/httpdocs/wp/wp-config.php

    Thanks,
    Gregor

    Plugin Author NSquared

    (@croixhaug)

    Hey Gregor,

    We just released v1.0.8 which should pick up that location of your wp-config file. Can you update to 1.0.8 and try it out?

    Thanks,
    Nathan

    Thread Starter gregorr64

    (@gregorr64)

    Hi Nathan,

    It’s now triggering an error 500 when I hit the troubleshoot button.

    Thanks,
    Gregor

    Plugin Author NSquared

    (@croixhaug)

    Hi Gregor,

    Could you enable WP_DEBUG in your config file. (adding this to wp-config.php):
    define(‘WP_DEBUG’, true);
    and seeing if there’s any extra info/messages displayed (instead of just the 500 error) that you can paste here?

    If you contact us at that pro support email – [email protected] – we’re happy to schedule a quick call/screenshare so we could see the issue live and try to get it resolved for you.

    Thanks,
    Nathan

    Plugin Author NSquared

    (@croixhaug)

    Hi Gregor, we have also just released version 1.0.9 which addresses some server-specific issues. Please update to the latest and let us know if that fixes it. And if you’re still having trouble, if you can email us any info you get when WP_DEBUG is on, it will help us figure out what’s going on.

    Thanks,
    Nathan

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Plugin not working on any of my sites’ is closed to new replies.