Webmastersite.net
Register Log In

Error in mysqli.php
Erro all of a sudden after running links directory

Comments on Error in mysqli.php

PrimaPhoto
Member

Usergroup: Customer
Joined: Mar 23, 2006
Location: Ontario, Canada

Total Topics: 10
Total Comments: 17
Posted Oct 22, 2007 - 6:32 AM:

This is strange, in the last few days our links page stopped working and now shows:

Fatal error: Call to undefined function mysqli_connect() in /home/ssmart/public_html/links/databases/mysqli.php on line 6

I see this line 6 connects to the database, the database is ok.
Any ideas?


This just occurred recently - I checked out the log files it almost seems it was hached?

Thanks everyone
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 23, 2007 - 12:41 PM:

It looks like you've downgraded your hosting environment from MySQL > 4.1 to now < 4.1, or at least removed the PHP extension for MySQL 4.1+. As a result you'll need to open up config.php and change mysqli to mysql.

MySQL 4.1+ (and associated extension) is recommended for performance benefits though not absolutely required.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.