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

rating

I am getting this error: Fatal error: Uncaught Error: Class 'mysqli_connect' not found in /Library/WebServer/Documents/Leathernecks/Connections/leatherneck_i.php:10 Stack trace: #0 /Library/WebServer/Documents/Leathernecks/comm_t4t.php(1): require_on

Thread began 4/07/2018 10:52 am by randyrie405335 | Last modified 4/09/2018 7:29 pm by Ray Borduin | 383 views | 3 replies |

randyrie405335

I am getting this error: Fatal error: Uncaught Error: Class 'mysqli_connect' not found in /Library/WebServer/Documents/Leathernecks/Connections/leatherneck_i.php:10 Stack trace: #0 /Library/WebServer/Documents/Leathernecks/comm_t4t.php(1): require_once() #

Fatal error: Uncaught Error: Class 'mysqli_connect' not found in /Library/WebServer/Documents/Leathernecks/Connections/leatherneck_i.php:10 Stack trace: #0 /Library/WebServer/Documents/Leathernecks/comm_t4t.php(1): require_once() #1 {main} thrown in /Library/WebServer/Documents/Leathernecks/Connections/leatherneck_i.php on line 10. How do I correct thr code so the error no longer displays?

Sign in to reply to this post

Ray BorduinWebAssist

What version of PHP are you running? MySQLi was added in php5. You may have a previous version or don't have the MySQLi module installed.

Sign in to reply to this post

randyrie405335

Uncaught Error

I am using version 7 since my host provider has advised they will be discontinuing PHP 5.* in the near future and I'll need to convert my sites to MySQLi. I do have the latest MySQLi module installed, I purchased the MySQLi server behavior a couple of years ago from Webassist.

Sign in to reply to this post

Ray BorduinWebAssist

The error implies that mysqli is not available on the server.

Uncaught Error: Class 'mysqli_connect'

Can you create a page on your server with this code on it:

<?php
phpinfo();
?>

Then send me a link to that page and I'll take a look.

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...