• Resolved bioport

    (@bioport)


    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

    https://www.ads-software.com/extend/plugins/wp-cleanfix/

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

    (@gfazioli)

    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

    Thread Starter bioport

    (@bioport)

    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

    Thread Starter bioport

    (@bioport)

    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?

    Plugin Author gfazioli

    (@gfazioli)

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

    thanks
    GF

    Thread Starter bioport

    (@bioport)

    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

    Plugin Author gfazioli

    (@gfazioli)

    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

    Thread Starter bioport

    (@bioport)

    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.

    Plugin Author gfazioli

    (@gfazioli)

    Hi again,
    I’m happy, so happy.

    I’m going investigated for wrong link.

    Thnaks for suggestion

    regards
    GF

    Plugin Author gfazioli

    (@gfazioli)

    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

    Thread Starter bioport

    (@bioport)

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

    autumnal greets from Lisboa to Modena
    /malik

    Plugin Author gfazioli

    (@gfazioli)

    You too ??

    GF

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Plugin: WP CleanFix] error msg’ is closed to new replies.