interconnectit/Search-Replace-DB

Notice: Undefined property: icit_srdb_ui::$ssl_check

Opened this issue · 1 comments

I'm used both 4.1.1 and 4.1.2, on PHP 7.4. On visiting the page in web browser, I get the errors below, this is before submitting the Database Details form. This was run on localhost with self signed SSL certificate or no certificate, tried both https and just http.

I renamed the folder to just "search-replace", below are all notices and warnings before <!doctype html>

Notice: Undefined property: icit_srdb_ui::$ssl_check in D:\path\to\search-replace-db\srdb.class.php on line 497

Warning: mysqli_real_connect(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO) in D:\path\to\search-replace\srdb.class.php on line 521

Warning: mysqli_query(): invalid object or resource mysqli in D:\path\to\search-replace\srdb.class.php on line 713

Warning: mysqli_error(): invalid object or resource mysqli in D:\path\to\search-replace\srdb.class.php on line 731

Warning: mysqli_query(): invalid object or resource mysqli in D:\path\to\search-replace\srdb.class.php on line 713

Warning: mysqli_error(): invalid object or resource mysqli in D:\path\to\search-replace\srdb.class.php on line 731

If I submit the Database Details form to Test Connection, I get a pop up with this error, my website is located in "localhost/dir/folder" don't know if that matters

The script encountered an error while running an AJAX request.                                                                        If you are using your hosts file to map a domain try browsing via the IP address directly.                                                                        If you are still running into problems we recommend trying the CLI script bundled with this package.                                    See the README for details

I did use the CLI, that worked no problems, so just wanted to let you know of this issue. Thanks for very useful script!

Unfortunately local set ups can sometimes cause issues with the web ui and with so many variables leading from that it is often hard to say what the cause is. Glad the CLI worked though