Roundcube Community Forum

 

Error 1f4

Started by tshafer, August 08, 2006, 01:44:14 PM

Previous topic - Next topic

tshafer

I am having a 1f4. Its different that other users.

My error log reads.

[08-Aug-2006 13:35:02] PHP Warning: rcmail_startup(): Failed opening 'config/main.inc.php' for inclusion (include_path='/home/tshafer/public_html/mail/:/home/tshafer/public_html/mail/program:/home/tshafer/public_html/mail/program/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/tshafer/public_html/mail/program/include/main.inc on line 43

[08-Aug-2006 13:35:02] PHP Warning: rcmail_startup(config/db.inc.php): failed to open stream: No such file or directory in /home/tshafer/public_html/mail/program/include/main.inc on line 52

Anyone got any ideas?

yllar

rename main.inc.php.dist to main.inc.php and edit it as needed

tshafer

I am still getting the same error. I renamed both files. All settings look right. Any other possible reason?

bpat1434

Still the same error? Then the files are misplaced or misspelled....
 
 

finch13

I too am getting the 1f4) error.

I've been following the advice on the board here to double check the db.inc.php for typos.

It's a single line there:

'mysql://roundcube:[email protected]/cubemail'

I've Tried:

'mysql://roundcube:[email protected]/cubemail'
'mysql://roundcube:[email protected]/cubemail'

I've run the SQL commands using phpMyAdmin. I tried both mysql5.initial.sql and mysql.initial.sql (I do have a sql 4 server)

I created a new sql database "cubemail" and copied all the roundcube files into a directory under public_html named "cubemail"

I created a user "roundcube" with the correct password and associated the user with the cubemail sql database.

What am I missing here?

The error code I get is: PHP Notice: DB Error: connect failed in /home/finch13/public_html/cubemail/program/include/bugs.inc on line 80

bpat1434

Ah... a database connection error...

This means that it can't connect to the database, period. So check your database authentication string. Make sure that your SQL server is in fact finch13.com or cubemail.finch13.com and not "localhost" or something else.
 
 

finch13

Got it to work:

Here's what I did 'cause Cpanel and phpAdmin makes databases all weird:

mysql://cPusername_roundcubeUser:password@localhost/cPusername_roundcubeDB

where:

cPusername = your cPanel username
roundcubeUser = The name of the user you assigned to the roundcube database
paassword = Your database user password
roundcubeDB = The name you assigned the database you created for roundcube

The cPanel username and an underscore (_) gets added to every database username and database you create automatically.

bpat1434

Yeah, that's almost a standard thing now with any control panel system. I thought maybe you were using it on your local server or a dedicated server so you would have more control.

Glad you got it working.