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 when running Phoca Changing Collation tool
-
- Phoca Newbie
- Posts: 3
- Joined: 14 Apr 2017, 12:56
-
- Phoca Newbie
- Posts: 3
- Joined: 14 Apr 2017, 12:56
Re: Fatal error when running Phoca Changing Collation tool
I just noticed that I am using PHP 7 and in that version, for example, mysql_connect() shall be mysqli_connect(). Probably more function is not working. Is there any updated version of this script that is working also with PHP 7.0?
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Fatal error when running Phoca Changing Collation tool
Hi, for now I didn't test this tool with PHP 7. I will take a look at it.
Thank you for the info.
Jan
Thank you for the info.
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Fatal error when running Phoca Changing Collation tool
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 14 Apr 2017, 12:56
Re: Fatal error when running Phoca Changing Collation tool
Works perfectly!
Thanks a lot!
Thanks a lot!
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Fatal error when running Phoca Changing Collation tool
Ok, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project