Roundcube Community Forum

Release Support => Older Versions => 0.1 beta 2 => Topic started by: orliville on August 11, 2006, 12:47:23 AM

Title: blank page after login
Post by: orliville on August 11, 2006, 12:47:23 AM
When I attempt to login to RC, I get a blank page. The address box shows "http://www.mydomain.com/?_task=mail" but nothing shows up in the browser. I'm using RC 0.1 Beta 2; Apache version 1.3.37 (Unix); PERL version 5.8.7; PHP version 4.4.2; and MySQL version 4.1.19-standard with ASmallOrange as my host.

I just recently installed this version, but I kept my old RC database, could this be the cause of the issue?
Title: Re: blank page after login
Post by: yllar on August 11, 2006, 01:34:25 AM
what does your logs say ?
Title: Re: blank page after login
Post by: orliville on August 11, 2006, 09:25:35 AM
I don't see any logs in my logs directory.
Title: Re: blank page after login
Post by: yllar on August 11, 2006, 09:30:57 AM
chown logs dir to your apache user and try again or change log_level to 4 in main.ic.php
Title: Re: blank page after login
Post by: Saint on August 11, 2006, 07:29:20 PM
I'm having the same problem. I have logs, but nothing recent.
Title: Re: blank page after login
Post by: orliville on August 14, 2006, 09:48:51 PM
I was unable to find 'log_level' but I changed 'debug_level' to 4 (show). Here's what it came up with:

Code: [Select]
Parse error: syntax error, unexpected $end in /home2/mydirectory/public_html/webmail/program/steps/mail/func.inc on line 230
Should I have posted this in Issues & Bugs?
Title: Re: blank page after login
Post by: orliville on August 15, 2006, 11:52:50 PM
Ok,

I deleted everything to start from scratch. Now I get the following error:

Code: [Select]
SERVICE CURRENTLY NOT AVAILABLE!

Error No. 1f4)
Title: Re: blank page after login
Post by: Midnyte on August 20, 2006, 01:19:47 AM
Hi Guys,
 I also get this error using the SVN however my live works fine, I'm using the same config files for both.... :'(

Title: Re: blank page after login
Post by: yllar on August 20, 2006, 03:36:34 AM
Quote from: orliville
Ok,

I deleted everything to start from scratch. Now I get the following error:

Code: [Select]
SERVICE CURRENTLY NOT AVAILABLE!

Error No. 1f4)
http://trac.roundcube.net/trac.cgi/wiki/FAQ
Title: Re: blank page after login
Post by: orliville on August 20, 2006, 10:16:44 PM
I deleted my DB and User for RoundCube and started from scratch, this resolved the issue.
Title: Re: blank page after login
Post by: Mithrus on March 18, 2007, 03:49:54 PM
OK, I'm also getting the:

SERVICE CURRENTLY NOT AVAILABLE!

Error No. 1f4)

Then I found this which tells me how to solve the problem. However, I am not very wise with any of this stuff, so I have no clue what I have to do to check the following steps:

Quote
Make sure your php installation has mysql support enabled and check your database setting in db.inc.php

Also, check to make sure that your db.inc.php file is readable by the web server process. Some documentation recommends chmod 600 db.inc.php but a chmod 644 db.inc.php under a differently configured system will be just as secure and will alleviate this error message.

Would anyone be able to give me a more step-by-step guide as to how I do these two things? Any help is greatly appreciated.

Thanks.
Title: Re: blank page after login
Post by: Mithrus on March 20, 2007, 01:56:39 PM
Doe anyone know what I can do to fix this?
Title: Re: blank page after login
Post by: Thox on March 21, 2007, 10:16:08 AM
I'm getting the same error. Everything seems to be setup ok, but still get this error. Help

Regards

Thox
Title: Re: blank page after login
Post by: Mithrus on March 22, 2007, 02:43:03 PM
I really hate to bump this thread, but I can't seem to figure out how to fix the above problem I'm having. Can anyone offer some help?
Title: Re: blank page after login
Post by: Thox on March 23, 2007, 05:55:25 AM
As I'm having trouble getting this to work, (still getting the same error) is anyone willing to install this for me?

Regards

Thox
Title: Re: blank page after login
Post by: daashag 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.
Title: Re: blank page after login
Post by: Thox on March 23, 2007, 06:42:51 AM
what details do you require?

Regards

Thox
Title: Re: blank page after login
Post by: daashag 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
Title: Re: blank page after login
Post by: Thox 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
Title: Re: blank page after login
Post by: daashag on March 23, 2007, 08:25:22 AM
Do you have shell access?
Title: Re: blank page after login
Post by: Thox on March 23, 2007, 08:46:09 AM
yes
Title: Re: blank page after login
Post by: daashag 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;
Title: Re: blank page after login
Post by: Thox 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>
Title: Re: blank page after login
Post by: daashag on March 23, 2007, 10:38:30 AM
try using your ip address or temail.co.uk instead of localhost
Title: Re: blank page after login
Post by: Thox on March 23, 2007, 10:50:45 AM
Have tried both, still no success.

Regards

Thox
Title: Re: blank page after login
Post by: daashag on March 23, 2007, 11:06:32 AM
What version of RC are you using?
Title: Re: blank page after login
Post by: Thox 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
Title: Re: blank page after login
Post by: daashag 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?
Title: Re: blank page after login
Post by: Thox 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
Title: Re: blank page after login
Post by: daashag on March 23, 2007, 12:07:35 PM
i sent you a pm
Title: Re: blank page after login
Post by: Mithrus on March 30, 2007, 11:20:17 PM
Quote from: Mithrus
OK, I'm also getting the:

SERVICE CURRENTLY NOT AVAILABLE!

Error No. 1f4)

Then I found this which tells me how to solve the problem. However, I am not very wise with any of this stuff, so I have no clue what I have to do to check the following steps:

Quote
Make sure your php installation has mysql support enabled and check your database setting in db.inc.php

Also, check to make sure that your db.inc.php file is readable by the web server process. Some documentation recommends chmod 600 db.inc.php but a chmod 644 db.inc.php under a differently configured system will be just as secure and will alleviate this error message.

Would anyone be able to give me a more step-by-step guide as to how I do these two things? Any help is greatly appreciated.

Thanks.
Again, sorry to bump, but I can't figure out how to fix this.