close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Updating to Mysqli connections

Thread began 9/21/2019 8:58 am by matthew316697 | Last modified 9/23/2019 12:56 pm by Ray Borduin | 164 views | 1 replies |


Updating to Mysqli connections

I am trying to update my old mysql_pconnect files to mysqli with Design Extender 2 after my web host updated PHP to 5.6 and my old PCMS installations failed to connect. However, after downgrading the PHP version to 5.4 and copying the correct details into the new Dynamic mysqli connection file I get a blank web page (the host doesn't echo errors). On my testing server I get the following:

Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in C:\xampp\htdocs\GringoltsTestingServer\WA_Globals\WA_Globals.php:38 Stack trace: #0 C:\xampp\htdocs\GringoltsTestingServer\WA_CMS\WA_CMS.php(4): require_once() #1 C:\xampp\htdocs\GringoltsTestingServer\index.php(5): require_once('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\GringoltsTestingServer\WA_Globals\WA_Globals.php on line 38.

Should the new connection file (attached) work straight away or are there other changes I need to make?

Sign in to reply to this post

Ray BorduinWebAssist

You can't simply update the connection. All of the pages would have to be manually updated to MySQLi as well. This would not be a simple process. We are working on an update to PowerCMS for MySQLi. In the meantime you should be able to run on php 5.6 without updating to MySQLi. I would work on that instead of trying to update to MySQLi, since that would be a very difficult process on your own without extensive php hand coding experience.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...