WordPress.org

Ready to get started?Download WordPress

Forums

Search and Replace
mysql_num_rows warning (8 posts)

  1. Anointed
    Member
    Posted 1 year ago #

    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/

  2. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. TeamScience
    Member
    Posted 1 year ago #

    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

  4. Frank
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. TeamScience
    Member
    Posted 1 year ago #

    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

  6. Frank
    Member
    Plugin Author

    Posted 1 year ago #

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

  7. bheadrick
    Member
    Posted 1 year ago #

    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

  8. Justin M. Woodum
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.