Roundcube Community Forum

 

blank page after login

Started by orliville, August 11, 2006, 12:47:23 AM

Previous topic - Next topic

daashag

Error 1f4 means your not making a connection to the database. Without knowing the details of the system your trying to install on, it will be virtually impossible to surmise what the problem is.  Please give details as someone might be able to help you better.

Thox

what details do you require?

Regards

Thox

daashag

For starters the O/S, and type of database would be helpful. Also you code post your db.inc.php

Thox

O/S - CentOS 4.4

DatabaseType - MySQL

<?php

/*
 +-----------------------------------------------------------------------+
 | Configuration file for database access                |
 |                                    |
 | This file is part of the RoundCube Webmail client           |
 | Copyright (C) 2005, RoundCube Dev. - Switzerland           |
 | Licensed under the GNU GPL                      |
 |                                    |
 +-----------------------------------------------------------------------+

*/

$rcmail_config = array();

// PEAR database DSN for read/write operations
// format is db_provider://user:password@host/databse
// currentyl suported db_providers: mysql, sqlite

$rcmail_config['db_dsnw'] = 'mysql://nick_nick:password@localhost/nick_roundcube';
// postgres example: 'pgsql://roundcube:pass@localhost/roundcubemail';
// sqlite example: 'sqlite://./sqlite.db?mode=0646';

// PEAR database DSN for read only operations (if empty write database will be used)
// useful for database replication
$rcmail_config['db_dsnw'] = '';

// database backend to use (only db or mdb2 are supported)
$rcmail_config['db_backend'] = 'db';

// maximum length of a query in bytes
$rcmail_config['db_max_length'] = 512000// 500K

// use persistent db-connections
$rcmail_config['db_persistent'] = TRUE;


// you can define specific table names used to store webmail data
$rcmail_config['db_table_users'] = 'users';

$rcmail_config['db_table_identities'] = 'identities';

$rcmail_config['db_table_contacts'] = 'contacts';

$rcmail_config['db_table_session'] = 'session';

$rcmail_config['db_table_cache'] = 'cache';

$rcmail_config['db_table_messages'] = 'messages';


// you can define specific sequence names used in PostgreSQL
$rcmail_config['db_sequence_users'] = 'user_ids';

$rcmail_config['db_sequence_identities'] = 'identity_ids';

$rcmail_config['db_sequence_contacts'] = 'contact_ids';

$rcmail_config['db_sequence_cache'] = 'cache_ids';

$rcmail_config['db_sequence_messages'] = 'message_ids';


// end db config file
?>

Thox

daashag



daashag

try connecting manually

mysql -u nick_nick -p

if u connect then connect to datablase

use nick_roundcube;

show tables;

Thox

Heres the result of the above

Using username &quot;nick&quot;.
nick@91.186.4.93's password:
Last login: Fri Mar 23 09:47:09 2007 from host217-41-18-104.in-addr.btopenworld.com
[email]nick@temail.co.uk[/email] [~]# mysql -u nick_nick -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 310 to server version: 5.0.27-standard

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use nick_roundcube
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+--------------------------+
| Tables_in_nick_roundcube |
+--------------------------+
| cache          |
| contacts         |
| identities        |
| messages         |
| session         |
| users          |
+--------------------------+
6 rows in set (0.00 sec)

mysql>

daashag

try using your ip address or temail.co.uk instead of localhost

Thox

Have tried both, still no success.

Regards

Thox

daashag

What version of RC are you using?

Thox

The latest one, ehich appears to be the only one I can get hold off, which is

roundcube_webmail_0.1-beta2.2.tar.gz

I have also tried installing roundcube using the Hostgeekz method, but keeping getting perrmission denied when using the wget command to obtain the roundcube files.

Regards

Thox

daashag

Just wanted to make sure cause I get a different error message upon connection failure. But I am using svn. So why isn't RC making a connection? Did you rename the main.inc.php.dist db.inc.php.dist?

Thox

yes, all renamed.

I'm at a loss.

I'll put this invite out again, is anyone willing to install this for me?

Maybe I'm missing something

Regards

Thox

daashag