Fatal error when running Phoca Changing Collation tool
Posted: 14 Apr 2017, 13:10
I am running the tool on a Drupal 8 site and getting this error:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /mysite/index.php:45 Stack trace: #0 /mysite/index.php(86): start_db('localhost', my_database', 'my_username', 'my_pass') word#1 {main} thrown in /mysite/index.php on line 45
I run the script in the site root after changing the site index.php temporary to a different name.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /mysite/index.php:45 Stack trace: #0 /mysite/index.php(86): start_db('localhost', my_database', 'my_username', 'my_pass') word#1 {main} thrown in /mysite/index.php on line 45
I run the script in the site root after changing the site index.php temporary to a different name.