±-----------------------------------------------+
| MySource Error |
|------------------------------------------------|
| File : [SYSTEM_ROOT]/core/include/mysource.inc |
| Line : 2133 |
|------------------------------------------------|
| DB Error: extension not found |
±-----------------------------------------------+
what does this means? can anybody help
This usually means that you don't have PostgreSQL support compiled for PHP, or your database configuration is incorrect. What version of Matrix are you trying to install and what operating system are you trying to install it on?
Postgres is compiled with PHP support, Matrix 3.16.1 i have PHP 4.4.8 Postgres 8.2.5 running on Fedora 8, see the first 8 lines of my main.inc
define('SQ_CONF_DB_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_DB2_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_DB3_DSN', 'pgsql://matrix_secondary@unix()/mysource_matrix');
define('SQ_CONF_DBCACHE_DSN', 'pgsql://matrix@unix()/mysource_matrix');
define('SQ_CONF_PEAR_PATH', SQ_SYSTEM_ROOT.'/php_includes');
$inc_dir = ini_get('include_path');
$inc_dir = (substr($inc_dir, 0, 2) == '.:') ? '.:'.SQ_CONF_PEAR_PATH.':'.substr($inc_dir, 2) : SQ_CONF_PEAR_PATH.':'.$inc_dir;
ini_set('include_path', $inc_dir);
waiting for your kind reply
taffy
You might not have the PEAR DB module installed. What is the output of:
# pear list
[quote]You might not have the PEAR DB module installed. What is the output of:
# pear list[/quote]
Archive_Tar 1.3.2 stable
Auth_SASL 1.0.2 stable
Console_Getopt 1.2.3 stable
DB 1.7.13 stable
HTML_Template_IT 1.1 stable
HTTP_Client 1.1.1 stable
HTTP_Request 1.4.2 stable
Image_Canvas 0.3.1 alpha
Image_Color 1.0.2 stable
Image_Graph 0.7.2 alpha
Mail 1.1.14 stable
Mail_Mime 1.5.2 stable
Mail_Queue 1.2.2 stable
Mail_mimeDecode 1.5.0 stable
Net_Socket 1.0.8 stable
Net_URL 1.0.15 stable
Net_UserAgent_Detect 2.0.1 stable
Numbers_Roman 1.0.2 stable
PEAR 1.7.1 stable
Structures_Graph 1.0.2 stable
Text_Diff 1.0.0 stable
XML_HTMLSax 2.1.2 stable
XML_Parser 1.2.8 stable
i just dont know where did i go wrong everything seem to be in place
was following the site of the installation guide and did everything right when i got to step 2 i was completely lost.
Is the PHP CLI compiled with PostgreSQL support? (php -i to find out)
Yes it has.
DB Error: extension not found
still stuck on step 2 though, but when i tried to create db user it says that it exist. :(
hope you could bear with me
I have no idea what is causing your error. The error comes from the PEAR::DB package and means that PHP is not compiled with support for your DB, or at least PEAR::DB thinks so.
[quote]Yes it has.
DB Error: extension not found
still stuck on step 2 though, but when i tried to create db user it says that it exist. 
hope you could bear with me[/quote]
Try this:
pear list db | egrep -i "pgs|postg"
On my servers I have:
php /usr/local/share/pear/DB/pgsql.php
Check also pear info in php:
php -i | grep pear
Did you change something in php.ini?? Especially lines
about extensions, includes??
Regards
Arek