Author Topic: Error 1f4  (Read 6896 times)

Offline tshafer

  • Newbie
  • *
  • Posts: 2
Error 1f4
« on: August 08, 2006, 01:44:14 PM »
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?

Offline yllar

  • Full Member
  • ***
  • Posts: 106
Re: Error 1f4
« Reply #1 on: August 08, 2006, 02:57:36 PM »
rename main.inc.php.dist to main.inc.php and edit it as needed
irc://irc.freenode.net:6667/#roundcube

Offline tshafer

  • Newbie
  • *
  • Posts: 2
Re: Error 1f4
« Reply #2 on: August 08, 2006, 05:02:11 PM »
I am still getting the same error. I renamed both files. All settings look right. Any other possible reason?

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Error 1f4
« Reply #3 on: August 08, 2006, 06:35:01 PM »
Still the same error? Then the files are misplaced or misspelled....
 
  

Offline finch13

  • Newbie
  • *
  • Posts: 6
Re: Error 1f4
« Reply #4 on: August 09, 2006, 01:13:42 AM »
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:XXXXXX@www.finch13.com/cubemail'

I've Tried:

'mysql://roundcube:XXXXXX@finch13.com/cubemail'
'mysql://roundcube:XXXXXX@cubemail.finch13.com/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

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Error 1f4
« Reply #5 on: August 09, 2006, 08:40:04 AM »
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.
 
  

Offline finch13

  • Newbie
  • *
  • Posts: 6
Re: Error 1f4
« Reply #6 on: August 09, 2006, 04:42:12 PM »
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.

Offline bpat1434

  • Administrator
  • Hero Member
  • *****
  • Posts: 673
Re: Error 1f4
« Reply #7 on: August 09, 2006, 07:58:02 PM »
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.