Have I done something wrong or is this a bug within the system?

I believe 1.4.0 had base_dir problems that I think I fixed in a later release. Please install the most up to date version of the software (why would you make a brand new install of out of date software?) and repost if it is still a problem.

Actually I do have the latest version, 1.4.3a, the version number in the default config file is 1.4.0 so perhaps this needs updating. In this case it looks like some of the base_dir issues have persisted through to the latest version. It is only the compose links across the top that I have found to be incorrect so far.

The config utility has its own version, this is different from the version of SM. You removed most context from your email, so I have to remember your exact problem....

How are the links in the main menu bar formed?  There is only one
compose link at the top of the screen.  Which other ones are bad?  Which
ones are good?  What do the bad ones look like?  (please include exact
link text)

The links are in the main window and are:

Compose   Addresses   Folders   Options   Search   Help

Because I have squirrelmail installed in a sub dir they link as if it were
installed in the root dir of the webserver. For example the addressbook link
is:

http://my.server/egs/src/addressbook.php

Instead of

http://my.server/egs/src/squirrelmain/src/addressbook.php

I have squirellmail installed in /egs/src/squirrelmail

All the other links (apart from those outlined above) are correct in the
main pane, for example 'Next' correctly links to:

http://my.server/egs/src/squirrelmail/src/right_main.php?use_mailbox_cache=1
&startMessage=16&mailbox=INBOX

From the source code:

 * Find out where squirrelmail lives and try to be smart about it.
 * The only problem would be when squirrelmail lives in directories
 * called "src", "functions", or "plugins", but people who do that need
 * to be beaten with a steel pipe anyway.

Get out your steel pipe or patch functions/display_messages.php to suit your rather unusual directory name choices by putting something like "return $PHP_SELF;" (no quotes) before the line that starts with "$dirs = ..." (no guarantees that that will work).

 - Paul


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to