Login or Register

RSS IconRecent posts in this topic

avatar
manuel on Sep 22. 2007. 3:20 pm
Hi, the install its ok bud when go to the start page show this message

"Error
We are sorry, but activeCollab failed to connect to the database. Error report has been sent to the administrator so problem should be resolved soon."

what it is?
avatar
Ilija Studen on Sep 22. 2007. 4:23 pm
It means that activeCollab cannot connect to database with connection parameters you supplied.

1. Make sure that your database server is up and running
2. Make sure that database connection parameters are valid (you can find them in config.php)
activeCollab team member
avatar
manuel on Sep 24. 2007. 8:02 pm
Thanks Ilija i check the database server is runing and the parameters in the file config.php and they are ok, the only i see is this:

in my parameters say...define('DEBUG', false);...but in the file empty.config.php say true, i see that and change my parameter to true, well when i go to the starter page this show a new error:

Error (DBConnectError)
Failed to connect to database
Error params:
File: /home/se000255/public_html/activecollab/environment/library/database/adapters/MysqlDBAdapter.class.php
Line: 32
Backtrace:
#0 /home/se000255/public_html/activecollab/environment/library/database/adapters/AbstractDBAdapter.class.php(40): MysqlDBAdapter->connect(Array)
#1 /home/se000255/public_html/activecollab/environment/library/database/DB.class.php(93): AbstractDBAdapter->__construct(Array)
#2 /home/se000255/public_html/activecollab/environment/library/database/DB.class.php(64): DB::connectAdapter('mysql', Array)
#3 /home/se000255/public_html/activecollab/init.php(104): DB::connect('mysql', Array)
#4 /home/se000255/public_html/activecollab/index.php(9): require('/home/se000255/...')
#5 {main}
Autoglobal varibles:
$_GET:
$_POST:
$_COOKIE: Array (
['menu_basedatos'] => (string) '1'
['__utmz'] => (string) '269141414.1190493855.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)'
['__utma'] => (string) '269141414.1299044317.1190493855.1190493855.1190493855.1'
['PHPSESSID'] => (string) '2aae7930d86ae9cae447974baf9ebfed'
)
$_SESSION:
Execution time:
Total execution time: 0.096987 seconds

sorry i try whit this bud i not understand, thanks for your help, really i liked use your soft
avatar
Ilija Studen on Sep 25. 2007. 2:13 am
Hi,

I still think that problem with database connect parameters. Here is a small snippet that will try to connect to database:

<?php
$conn = mysql_connect('host', 'user', 'pass') or die('Error connecting to mysql');
mysql_select_db('name') or die('Database does not exist');
print 'All OK!';
?>

Replace host, user, pass and name values. Save it as test.php and execute it. If it says All OK your connection parameters are OK. If not than you have them wrong :)
activeCollab team member
Topic is locked. If you have something important to say about issues discussed on this page please write at hi@a51dev.com.

RSS IconRecent posts in this topic