On Fri, 2005-10-14 at 03:15 +0100, Michael Eaton wrote:
Ok guys,
I've tried everything, Its 3am here and i've been trying to fix this error for 3 hours..
the permissions:
I had this error earlier today. Turned out that in config/db.inc.php I had misspelled the name of my database in the line $rcmail_config['db_dsnw'] = 'mysql://user:pass@localhost/roundcubemail';
I had forgotten that I called my database roundcube, not roundcubemail. Soooooo it couldn't access the DB. Took a quick spelling lesson... it now works as expected.
James
inside homedir:
drwxr-x--- 3 ircsucks nobody 4096 Oct 14 03:00 public_html/
Inside public_html:
drwxr-xr-x 7 ircsucks ircsucks 4096 Oct 14 03:02 mail/
inside mail:
drwxr-xr-x 7 ircsucks ircsucks 4096 Oct 14 03:02 ./ drwxr-x--- 3 ircsucks nobody 4096 Oct 14 03:00 / drwxr-xr-x 2 ircsucks ircsucks 4096 Oct 14 03:00 config/ -rw-r--r-- 1 ircsucks ircsucks 9161 Oct 14 03:02 index.php drwxrwx--- 2 ircsucks ircsucks 4096 Oct 14 03:00 logs/ drwxr-xr-x 7 ircsucks ircsucks 4096 Oct 14 03:01 program/ drwxr-xr-x 3 ircsucks ircsucks 4096 Oct 14 03:01 skins/ drwxrwx--- 2 ircsucks ircsucks 4096 Oct 14 03:02 temp/
inside logs:
root@tuscan [/home/ircsucks/public_html/mail/logs]# ls -al
drwxrwx--- 2 ircsucks ircsucks 4096 Oct 14 03:00 ./ drwxr-xr-x 7 ircsucks ircsucks 4096 Oct 14 03:02 / -rw-r--r-- 1 ircsucks ircsucks 0 Oct 14 03:00 errors -rw-r--r-- 1 ircsucks ircsucks 31 Oct 14 03:00 htaccess -rw-r--r-- 1 ircsucks ircsucks 0 Oct 14 03:00 sendmail
Hope somebody can help, all i've done is upload, change logs/ and temp/ to 770.
Thanks
Michael