WordPress.org

Ready to get started?Download WordPress

Forums

WP CleanFix
[resolved] error msg (12 posts)

  1. bioport
    Member
    Posted 3 years ago #

    hi,
    nice work! but i m repeatedly getting the error message:
    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in .../wp-content/plugins/wp-cleanfix/module/database.php on line 56
    line 56 reads: $num = mysql_num_rows($result);

    help would be greatly appreciated.
    oh, btw, do i have to write in the db-name?
    /malik

    http://wordpress.org/extend/plugins/wp-cleanfix/

  2. gfazioli
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,
    $result is a resource type returned from the query: 'SHOW TABLE STATUS FROM '. DB_NAME;

    So, in your config.php file the DB_NAME constant must be defined!

    Can U check?

    regards
    GF

  3. bioport
    Member
    Posted 3 years ago #

    thanks for your reply. and sorry for coming back so late!
    yes, i did check but the config is ok.
    the strange thing is that i have had the error message on all 3 blogs i maintain.
    i'll check some more and tell you when things have changed.
    have a good week
    /m

  4. bioport
    Member
    Posted 3 years ago #

    hello again,
    i have just installed a testblog for a new project without any post (exept the default) and checked the plug-in again, and, again it gives me an error message, only this time in line 57 (which probably doesn't matter much).
    the db is well defined in the config php and actually everything seems to be ok with the plug-in -- if there were not the WARNING ...
    any idea?
    thanks in advance

    p.s.
    can i supply more info to you? which?

  5. gfazioli
    Member
    Plugin Author

    Posted 3 years ago #

    Hi again,
    please, can you paste the complete warning message?

    thanks
    GF

  6. bioport
    Member
    Posted 3 years ago #

    thanks for asking,
    i had wp cleanfix still running on a new project in the background but considered to take it out when going online :(
    hence, i can give you the message:

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /is/htdocs/...../www/html/blogs/mediacircus/wp-content/plugins/wp-cleanfix/module/database.php on line 57

    the initial page is under "html".

    thank you much

  7. gfazioli
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,
    then, I just release 1.4.5 revision. Check it and report any improvement.

    I hope to be able to avoid Warning message

    regards
    GF

  8. bioport
    Member
    Posted 3 years ago #

    well, you've clean fixed it! error msg gone.
    good work.

    may i point you to a minor thing: the "go to repair" button of wp cf on the dashboard interface points to a wrong path (at least in my server config). it goes directly to the root looking for the wp-admin folder. but in my config e.g. the blog is under root/blogs/blogname.
    this is not a problem since one can always go directly to the wp cf interface which is fine.

    have a nice day -- and thanks again.

  9. gfazioli
    Member
    Plugin Author

    Posted 3 years ago #

    Hi again,
    I'm happy, so happy.

    I'm going investigated for wrong link.

    Thnaks for suggestion

    regards
    GF

  10. gfazioli
    Member
    Plugin Author

    Posted 3 years ago #

    Hi, I think that the wrong link is now fixed.

    Please, check for 1.4.6 revision to confirm

    Thanks for all beta testing

    regards
    GF

  11. bioport
    Member
    Posted 3 years ago #

    perfect.
    and -- most of all -- thanks to you for your good work.

    autumnal greets from Lisboa to Modena
    /malik

  12. gfazioli
    Member
    Plugin Author

    Posted 3 years ago #

    You too :)

    GF

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic