[eluser]Unknown[/eluser]
Quote:A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: C:\wamp\www\autosurfProject\system\database\DB_driver.php
Line Number: 124
i doin the test from my computer not config TODO!
DIR/.../Controller/files_xx.php
Code:
<?php
//ETC... class xx extent CI_xx{
public function index()
{
$this->load->database();
$query = $this->db->query('SELECT contents FROM articles');
$this->load->view('articles_home');
}
and after the DIR/.../views/files_xxx.php
Code:
<!DOCTYPE html>
<?php
#Template header
foreach ($query->list_fields() as $field)
{
echo $field->type();
}
#TEmplate Footer
?>
Info:
Configuration Serveur
Version de Apache:
2.2.21
Version de PHP:
5.3.10
Extensions Chargées:
Core
bcmath
calendar
com_dotnet
ctype
date
ereg
filter
ftp
hash
iconv
json
mcrypt
SPL
odbc
pcre
Reflection
session
standard
mysqlnd
tokenizer
zip
zlib
libxml
dom
PDO
Phar
SimpleXML
wddx
xml
xmlreader
xmlwriter
apache2handler
mbstring
gd
mysql
mysqli
pdo_mysql
pdo_sqlite
mhash
xdebug
Version de MySQL:
5.5.20
What plugin i must 've to activate? or not need!!! thank at all, ll waitting ur response!!! TCKAlexon