Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function: mysqli_query()


labmais

Recommended Posts

Hello,

 

My website http://dkamateur.no-ip.org/forum/dg2

 

shows the following error:

Fatal error: Call to undefined function: mysqli_query() in C:\wamp\www\forum\dg2\include\function.php on line 29

28 -  $sql = "select id,title,points,date_format(indate, '%M %d, %Y') as indate from dd_article where class=$class order by id desc limit $start,$sums";
29 - 	$rs = mysqli_query($conn,$sql) or die("database error");
   30 - 	while($arr = mysqli_fetch_array($rs, MYSQLI_ASSOC))

 

As far as I know it's about something at the PHP configuration folder.

I have added two lines at the php.ini and two DLLs at the "extensions" folder:

 

Lines:

php_mysql.dll

php_mysqli.dll

 

DLLs(versions: 5.1 and 5.2.8)

extensionsphp_mysql.dllphp_mysqli.dll Without success...

Am I missing anything obvious? Thanks

E-commerce?

No external links please.

Link to comment
Share on other sites

mysqli is an an on or extention make sure you have this installed in WAMP, i would imagine there is an extra for it on the web site.

Perhaps it is there and needs to be added / un commented from the php.ini?

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Yeah Nic,

 

I did that.

I commented these two line on php.ini:

 

extension=php_mysql.dll

extension=php_mysqli.dll

Also I added those DLLs into the "extension" folder.

I use Wamp Server.

I'm stucked.

E-commerce?

No external links please.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...