Menu

#4883 (ok 4.4.5) Search function breaks when searching for vertain combinations of backslashes and slashes

4.2.6
fixed
Normal
2015-05-05
2015-04-30
No

It seems that from version 4.2.4.1 to present, there is an inability to search all tables of a database for values containing backslash-escaped forward slashes.

For example, I searched for "wp\/", and was given a red error popup telling me that a 500 Internal Server Error had occurred. This issue is making it difficult to find and update old paths in test instances of WordPress in preparation for making them go live, as some WordPress features store JSON data, escaped slashes and all. My workaround at the moment has been full export and reimports of the database after making manual corrections in my text editor.

1 Attachments

Discussion

  • Michael Northcott

    Edit: it seems SourceForge changed the string that I indicated that I searched for, but thankfully the image I uploaded still contains the correct string.

     
  • Michael Northcott

    Just noticed when I tried this in 4.4.4, I get an error log entry:

    PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33554619 bytes) in /srv/apache2/www/w_home.aplus/html/phpMyAdmin/libraries/DbSearch.class.php on line 253

     
  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    This seems to work for me. See the attached image. Do you have a large number of tables in this database? And do these tables have large number of columns?

     
    • Madhura Jayaratne

      I think I figured out the problem. Working on a solution now.

       
  • Madhura Jayaratne

    • summary: Search function breaks when searching for vertain combinations of backslashes and slashes --> (ok 4.4.5) Search function breaks when searching for vertain combinations of backslashes and slashes
    • status: open --> resolved
     
  • Marc Delisle

    Marc Delisle - 2015-05-05
    • Status: resolved --> fixed