Koozali.org: home of the SME Server

Web Mail Error On E-Smith 4.0.1

Nef Kho

Web Mail Error On E-Smith 4.0.1
« on: December 06, 2000, 05:13:57 PM »
I install a new e-smith and upgrade it to 4.0.1 then install web mail (imp) everything is ok but when i try and browse the following i get and error:

www.domain.com/horde/test.php3

the error was:

Warning: Failed opening '/home/e-smith/files/primary/html/horde/test.php3' for inclusion
(include_path='/home/e-smith/files/primary/horde-phplib:.') in Unknown on line 0

any idea and solution to this error, thanks.

max

RE: Web Mail Error On E-Smith 4.0.1
« Reply #1 on: December 06, 2000, 08:43:12 PM »
I had that same problem... just goto the directory with that file ('/home/e-smith/files/primary/html/horde/) and chmod test.php3 so that web users can see it... I think its protected so that people can't look at your setup.

-Max

Nef Kho

RE: Web Mail Error On E-Smith 4.0.1
« Reply #2 on: December 07, 2000, 06:03:33 AM »
Thanks, but can you give more detail on how to fix it.

Dan Brown

RE: Web Mail Error On E-Smith 4.0.1
« Reply #3 on: December 07, 2000, 06:09:45 AM »
It isn't broken; you shouldn't, in the course of normal usage, be accessing the test.php3 page anyway.  However, if you really want to access it, log in as root, go to your horde directory, and type "chmod 444 test.php3".

Nef Kho

RE: Web Mail Error On E-Smith 4.0.1
« Reply #4 on: December 07, 2000, 06:37:03 AM »
Ok that was the test.php3, How about accessing the imp page where the error is.

Forbidden: You don't have permission to access /horde/imp on this server

should i "chmod 4444 imp.php3"

Dan Brown

RE: Web Mail Error On E-Smith 4.0.1
« Reply #5 on: December 07, 2000, 06:53:22 AM »
No, you shouldn't need to do that.  Try this instead: go to horde/imp/, and do "ls -l".  Who owns index.php3, and what are the permissions on that file?

Nef Kho

RE: Web Mail Error On E-Smith 4.0.1
« Reply #6 on: December 07, 2000, 08:03:21 AM »
i can see what the properties of the files in the directory. my problem or the error is when i access or used the imp on the upgraded version is:

Forbidden: You don't have permission to access /horde/imp on this server

what i want is to be able to used the web base email (imp) running on the upgraded version (esmith 4.0.1).

Dan Brown

RE: Web Mail Error On E-Smith 4.0.1
« Reply #7 on: December 07, 2000, 04:36:04 PM »
Well, then what are they?  Since changing the permissions on test.php3 solved the problem with respect to that file, this is sounding like a permissions problem.  I don't know why the upgrade would have triggered it, but the way to track it down is to see what the permissions are on the files (and directories) that it can't access.  In addition to the owner and permissions for horde/imp/index.php3, what are the owner and permissions for horde/imp/ ?

Nef Kho

RE: Web Mail Error On E-Smith 4.0.1
« Reply #8 on: December 07, 2000, 05:22:11 PM »
i forgto to mention perhaps is that i dont know waht are the code stand for! but here is the list

-rw-r--r--   1 root     root        17989 Apr 28  1999 COPYING
-rw-r--r--   1 root     root         1203 Jun 27 20:08 README
drwxr-x---   2 root     www          4096 Sep 23 16:57 config
drwxr-xr-x   2 root     root         4096 Sep 23 16:57 docs
drwxr-xr-x   2 root     root         4096 Sep 23 16:57 graphics
-rw-r--r--   1 root     root         1634 Jul  8 04:52 help.php3
drwxr-xr-x   9 root     root         4096 Sep 23 17:01 imp
-rw-r--r--   1 root     root         1237 Jul 26 09:46 index.php3
-rwxr-xr-x   1 root     root         1090 Jul 31 21:13 install.sh
drwxr-xr-x   3 root     root         4096 Sep 23 16:57 lib
drwxr-xr-x  14 root     root         4096 Sep 23 16:57 locale
-rw-r--r--   1 root     root          952 Aug  5  1999 login.php3
-rw-r--r--   1 root     root         1165 Aug 20  1999 logo.php3
-rw-r--r--   1 root     root         1832 Jan  6  2000 menu.php3
-rw-r--r--   1 root     root         1333 Aug 20  1999 modules.php3
-rw-r--r--   1 root     root         5325 Aug 21 22:24 problem.php3
drwxr-xr-x   3 root     root         4096 Sep 23 16:57 scripts
-rwxr-xr-x   1 root     root          747 May 28  2000 secure.sh
----------   1 root     root        26263 Aug 20 22:48 setup.php3
-rw-r--r--   1 root     root         6205 Jul 27 08:29 signup.php3
-rw-r--r--   1 root     root         1054 Aug 20  1999 status.php3
drwxr-xr-x  13 root     root         4096 Sep 23 16:57 templates
----------   1 root     root         6990 Aug  2 21:32 test.php3
[root@internet-srvr horde]#                                    

hope this would help

Dan Brown

RE: Web Mail Error On E-Smith 4.0.1
« Reply #9 on: December 07, 2000, 10:41:38 PM »
I'm pretty sure that linuxnewbie.org would have information explaining the directory listing in more detail, but this looks OK.  Change into the imp directory from there and post the ls -l results; it still sounds like a permissions problem.

Nef Kho

RE: Web Mail Error On E-Smith 4.0.1
« Reply #10 on: December 08, 2000, 07:00:18 AM »
ok, here is hte imp ls - l result listing:

-rw-r--r--   1 root     root        17989 Apr 28  1999 COPYING
-rw-r--r--   1 root     root         1626 May 26  2000 README
-rw-r--r--   1 root     root         4662 Jul 18 21:23 addcontact.php3
-rw-r--r--   1 root     root        35131 Aug  1 10:27 compose.php3
drwxr-x---   2 root     www          4096 Sep 23 17:32 config
-rw-r--r--   1 root     root         4733 Jun 29 01:15 contacts.php3
-rw-r--r--   1 root     root          396 Apr 20  2000 contactsFrame.php3
-rw-r--r--   1 root     root          398 Apr 20  2000 contactsLdapFrame.php3
drwxr-xr-x   2 root     root         4096 Sep 23 17:01 docs
-rw-r--r--   1 root     root         4711 Jun 24 02:28 folders.php3
drwxr-xr-x   2 root     root         4096 Sep 23 17:01 graphics
-rw-r--r--   1 root     root          505 Jun 29 01:54 imp.css
-rw-r--r--   1 root     root         2039 Jul 26 09:47 index.php3
-rw-r--r--   1 root     root          818 Jun 20 08:48 ldap.result.php3
-rw-r--r--   1 root     root        10431 Jul 31 23:10 ldap.search.php3
drwxr-xr-x   3 root     root         4096 Sep 23 17:01 lib
drwxr-xr-x  27 root     root         4096 Sep 23 17:01 locale
-rw-r--r--   1 root     root         2272 Jun 20 09:35 login.php3
-rw-r--r--   1 root     root        16854 Aug 20 23:20 mailbox.php3
-rw-r--r--   1 root     root         2743 Jun 20 04:47 menu.php3
-rw-r--r--   1 root     root        13735 Aug 20 23:20 message.php3
-rw-r--r--   1 root     root         1372 Jun 20 08:48 newuser.php3
-rw-r--r--   1 root     root         4363 Jun 20 08:48 poppassd.php3
-rw-r--r--   1 root     root         4176 Jun 22 03:21 prefs.php3
-rw-r--r--   1 root     root         2503 Jun 28 21:55 remote_login.php3
drwxr-xr-x   2 root     root         4096 Sep 23 17:01 scripts
-rw-r--r--   1 root     root         1946 Jun 20 08:48 select.php3
-rw-r--r--   1 root     root         2889 Jun 20 09:36 spelling.php3
-rw-r--r--   1 root     root         3493 Jun 21 11:25 status.php3
drwxr-xr-x  16 root     root         4096 Sep 23 17:01 templates
-rw-r--r--   1 root     root         3666 Aug 20 23:06 view.php3