interconnectit / Search-Replace-DB

This script was made to aid the process of migrating PHP and MySQL based websites. Works with most common CMSes.
https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
GNU General Public License v3.0
4k stars 855 forks source link

The script encountered an error while running an AJAX request. #239

Closed sunilw closed 4 years ago

sunilw commented 6 years ago

I'm running the script from an apache2.4 vhost. The script is being executed from php-fpm7.2.

Searching through related issues, I can see that this error can occur if the mbsting php module isn't installed and activated. On my problem system I have this module installed and activated.

pckz commented 5 years ago

thanks, installing php-mbstring worked for me. For ubuntu 18.04 you must add a repository first

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

and do

sudo apt-get install php-mbstring

jack-fdrv commented 5 years ago

This helps me https://stackoverflow.com/a/23874180/2309309

kampiamodikuesto commented 5 years ago

Hi, i get this error only for some database table. is there a way to know what's wrong in the table dump?

andrewryantech commented 5 years ago

I just ran into the same error. In my case I had binary data in a field due to a Wordpress plugin. I'm thinking the tool should just ignore these: https://github.com/interconnectit/Search-Replace-DB/pull/266

davepilbeam commented 5 years ago

Just noticed that accidentally attempting to scan some of the Wordfence (security plug-in) tables in Dry Run will produce the Ajax Error; deselecting them runs fine on all others

gianluigi-icit commented 4 years ago

we are preparing for a new release, closing