Results 1 to 7 of 7
-
26th Oct 2012, 03:56 PM #1OPMemberWebsite's:
FunLinkz.com Smyu.inMySQL error
I am trying to install a script. The database connection is successful but when opening the index page I get:
Code:Fatal error: Class 'mysqli' not found in /home/***/public_html/***/file*name.php on line **
Code:$this->db = new mysqli($config['dbhost'], $config['dbuser'], $config['dbpass'], $config['dbname'] );
Funny Reviewed by Funny on . MySQL error I am trying to install a script. The database connection is successful but when opening the index page I get: Fatal error: Class 'mysqli' not found in /home/***/public_html/***/file*name.php on line ** And in file*name.php I have: $this->db = new mysqli($config, $config, $config, $config ); I tried changing mysqli to mysql but din't work. Any help would be appreciated. Rating: 5
-
26th Oct 2012, 05:03 PM #2Respected Member
You need to install or have your host install mysqli.
http://www.php.net/manual/en/mysqli.installation.php
-
26th Oct 2012, 05:36 PM #3OPMemberWebsite's:
FunLinkz.com Smyu.inBut why cant I use mysql?
MySQL is installed.
-
26th Oct 2012, 05:45 PM #4MemberWebsite's:
sborg.usYou could ask the script's developer to change the MySQLi calls to MySQL calls.
Just removing that extra 'i' from function calls won't help
V3g3ta | Halcyon | Abhi
-
26th Oct 2012, 06:01 PM #5OPMemberWebsite's:
FunLinkz.com Smyu.inAny tutorial to do it myself?
-
26th Oct 2012, 06:04 PM #6MemberWebsite's:
sborg.usYou should go ahead and ask the host to install MySQLi extension. Future versions of PHP might not support MySQL and that may cause trouble.
V3g3ta | Halcyon | Abhi
-
27th Oct 2012, 01:56 PM #7Respected Member
There are none I can find on the older mysql to mysqli .
But there must be many instances of the mysqli throughout this code.. All the newer scripts are being based in the newer MySql versions.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Database error-mysql error
By saini in forum vBulletinReplies: 8Last Post: 8th Nov 2011, 06:54 AM -
MYSQL Error while Import via MYSQL Dumper (Error
By desibreaker in forum Server ManagementReplies: 10Last Post: 5th Aug 2011, 07:26 PM -
MySQL Error
By bxflow in forum Web Development AreaReplies: 32Last Post: 27th Jun 2010, 05:56 PM -
MySQL Error
By II AnDo II in forum Web Application/Script SupportReplies: 2Last Post: 17th Aug 2009, 08:45 PM -
MySQL error
By mash-e1 in forum Webmaster DiscussionReplies: 2Last Post: 28th Mar 2009, 12:12 PM
themaPoster - post to forums and...
Version 5.23 released. Open older version (or...