Author Topic: blank page after login  (Read 24655 times)

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: blank page after login
« Reply #15 on: March 23, 2007, 06:25:51 AM »
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.

Offline Thox

  • Newbie
  • *
  • Posts: 9
Re: blank page after login
« Reply #16 on: March 23, 2007, 06:42:51 AM »
what details do you require?

Regards

Thox

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: blank page after login
« Reply #17 on: March 23, 2007, 07:15:05 AM »
For starters the O/S, and type of database would be helpful. Also you code post your db.inc.php

Offline Thox

  • Newbie
  • *
  • Posts: 9
Re: blank page after login
« Reply #18 on: March 23, 2007, 07:43:22 AM »
O/S - CentOS 4.4

DatabaseType - MySQL

Code: [Select]
<?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

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: blank page after login
« Reply #19 on: March 23, 2007, 08:25:22 AM »
Do you have shell access?

Offline Thox

  • Newbie
  • *
  • Posts: 9
Re: blank page after login
« Reply #20 on: March 23, 2007, 08:46:09 AM »
yes

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: blank page after login
« Reply #21 on: March 23, 2007, 08:47:46 AM »
try connecting manually

mysql -u nick_nick -p

if u connect then connect to datablase

use nick_roundcube;

show tables;

Offline Thox

  • Newbie
  • *
  • Posts: 9
Re: blank page after login
« Reply #22 on: March 23, 2007, 10:01:41 AM »
Heres the result of the above

Code: [Select]
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>

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: blank page after login
« Reply #23 on: March 23, 2007, 10:38:30 AM »
try using your ip address or temail.co.uk instead of localhost

Offline Thox

  • Newbie
  • *
  • Posts: 9
Re: blank page after login
« Reply #24 on: March 23, 2007, 10:50:45 AM »
Have tried both, still no success.

Regards

Thox

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: blank page after login
« Reply #25 on: March 23, 2007, 11:06:32 AM »
What version of RC are you using?

Offline Thox

  • Newbie
  • *
  • Posts: 9
Re: blank page after login
« Reply #26 on: March 23, 2007, 11:19:51 AM »
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

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: blank page after login
« Reply #27 on: March 23, 2007, 11:40:55 AM »
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?

Offline Thox

  • Newbie
  • *
  • Posts: 9
Re: blank page after login
« Reply #28 on: March 23, 2007, 12:04:04 PM »
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

Offline daashag

  • Full Member
  • ***
  • Posts: 198
Re: blank page after login
« Reply #29 on: March 23, 2007, 12:07:35 PM »
i sent you a pm