WordPress.org

Support

Support » Plugins and Hacks » mysql_num_rows warning

mysql_num_rows warning

  • I get the following warnings duplicated a few dozen times across the top of the screen when searching
    Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in \wp-content\plugins\search-and-replace\search-and-replace.php on line 566

    It also seems that no matter what word/words I search for nothing is found.

    Using WP 3.5

    http://wordpress.org/extend/plugins/search-and-replace/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Frank Bueltge

    @bueltge

    Do you have more informations. I cant find a problem. Which php version do you use. Maybe a reinstall of the plugin and WP_DEBUG in the wp-config.php set to TRUE.

    Hi

    I get the same message, but only when running on local WAMP server. I’m using DesktopServer from ServerPress (based on XAMPP). Never happens on a LAMP server for me.

    Would be cool to get this plugin working on a WAMP dev server.

    Brenton

    Plugin Author Frank Bueltge

    @bueltge

    But do you have more input, I have also checked on XAMPP, not error message. Maybe you can describe, how you use the plugin, what you search. like via a screenshot.

    Hi Frank

    I’ve taken a screen shot and placed it on my server here: http://www.teamscience.co.za/search_replace.jpg

    I install plugin, activate and run a search for the domain (which I know is right) and I get a number of the Warning messages as you can see in the above screen shot. after the last Warning I get the following message:

    Looking @ all …
    Sorry, globaleventsmgnt.com is not found in this Database(globalevDBamuop)!

    Let me know if you need more info. This has always happend in my local DevelopServer install, so it may be because of a setting in one of the .ini files.

    Brenton

    Plugin Author Frank Bueltge

    @bueltge

    @Brenten: can you send also a screenshot of your search, that I can see the strings? Thanks.

    I’m seeing the same error
    http://i.imgur.com/1zTBCML.png

    I did a search for “the” and it’s telling me it’s not in the db. I’ve done searches on things that I’ve verified are in the db, but it says they arent

    Hey there. Encountered this same issue. Also using a local, Windows-based stack (AMPPS).

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘mysql_num_rows warning’ is closed to new replies.