WordPress.org

Ready to get started?Download WordPress

Forums

SitePush
[resolved] problem with dbs config file (9 posts)

  1. avgraph
    Member
    Posted 1 year ago #

    i try to use the plugin
    when i upload the confog files the sites config file seems to be ok
    but on the dbs config file i get the following error:

    DB config file present, but it cannot be read.

    can you help?

    http://wordpress.org/extend/plugins/sitepush/

  2. okmedia
    Member
    Posted 1 year ago #

    I'm having the same problem, but with both files.

    Sites config file present, but it cannot be read.

  3. Mark Rowatt Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    First, please check that you are giving the full path to the sites/dbs config files - for example:-
    /home/user/www/config/sites.ini.php

    (actual path will of course be different in your case).

    If that doesn't work, I'll need to know more about your setup to help.

    If you add the following line to your wp-config.php file
    define('SITEPUSH_DEBUG', true);

    (it should go anywhere above /* That's all, stop editing! Happy blogging. */ )

    SitePush will then show a bunch of debug info on the SitePush options screen. Please post that info here, or if you prefer email it to me.

  4. Mark Rowatt Anderson
    Member
    Plugin Author

    Posted 1 year ago #

    Another thing to try - if a either config file contains a line with the tilde character (~) and possibly other 'special' characters it confuses PHP.

    You can either remove that character, or try enclosing that config item in quotes, for example:-

    option = "~/somevalue"

  5. okmedia
    Member
    Posted 1 year ago #

    Thank you so much! Great and timely support via email.

  6. wplamp
    Member
    Posted 9 months ago #

    I'm having this problem with a site. I think it's being caused by the "&" character in my database password.

  7. Mark Rowatt Anderson
    Member
    Plugin Author

    Posted 9 months ago #

    Did enclosing the password in quotes work? According to PHP documentation, the following characters would need to be enclosed in quotes:-

    ?{}|&~![()^

    And if a password has a double quote it would need to be escaped, i.e. instead of my"password it would need to be my\"password

  8. wplamp
    Member
    Posted 9 months ago #

    Hi Mark, I had changed my passwords to more compatible ones before I noticed you were enclosing them in quotes and escaping them so I can't say. Thank you for bringing us one of the best plugins ever, I only wish I had discovered it sooner. :-)

  9. Mark Rowatt Anderson
    Member
    Plugin Author

    Posted 9 months ago #

    Glad you got it sorted, and thank you :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.