![]() |
|
|
|||||||
| For more information about the ads and why they're here, please see the FAQ |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
rename main.inc.php.dist to main.inc.php and edit it as needed
__________________
irc://irc.freenode.net:6667/#roundcube |
|
#3
|
|||
|
|||
|
I am still getting the same error. I renamed both files. All settings look right. Any other possible reason?
|
|
#4
|
||||
|
||||
|
Still the same error? Then the files are misplaced or misspelled....
__________________
![]()
|
|
#5
|
|||
|
|||
|
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 |
|
#6
|
||||
|
||||
|
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.
__________________
![]()
|
|
#7
|
|||
|
|||
|
Got it to work:
Here's what I did 'cause Cpanel and phpAdmin makes databases all weird: mysql://cPusername_roundcubeUser assword@localhost/cPusername_roundcubeDBwhere: 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. |
|
#8
|
||||
|
||||
|
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.
__________________
![]()
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
| For more information about the ads and why they're here, please see the FAQ |