You are here:  » Uncaught Error: Call to undefined function mysql_connect()


Uncaught Error: Call to undefined function mysql_connect()

Submitted by Stew on Fri, 2021-08-27 15:22 in

Hi David, hope all's well,

We've started getting the following error message on both the site and in the feed admin area:

{code saved}

Any ideas what's happening here?

If helps our Wordpress site and php versions are:

WordPress 5.8 | PHP 7.4.22 | Apache | MySQL 5.7.32-35

Thanks

Stew

Submitted by support on Fri, 2021-08-27 15:29

Hello Stew,

It sounds like your server has had a PHP / MySQL upgrades so you will need to apply the relevant patches to migrate from mysql_ to mysqli_

Please see this thread for more information and links to the downloads - it may only be includes/database.php that you need to replace but make sure you have a full backup of all existing files before making any changes...

Cheers,
David.
--
PriceTapestry.com

Submitted by Stew on Fri, 2021-08-27 15:42

Hi David,

Thanks for that, is there a way I can tell the current version of our distribution e.g. 13/03A or 12/10B or 14/06A etc?

Thanks,

Stew

Submitted by Stew on Fri, 2021-08-27 15:50

I've just found the version number, the support.php page gives:

Revision 11/09A

Do you think that will still work with one of the patches?

Thanks,

Stew

Submitted by support on Fri, 2021-08-27 16:12

Hello Stew,

There isn't a patch online for 11/09A, as you may have made changes over the years please could you email me the files listed for the changes required for 12/10B:

admin/support.php
includes/database.php
includes/tapestry.php
setup.php
sitemap.php

...and I'll apply any changes required for you...

Cheers,
David.
--
PriceTapestry.com