p dont think wrote:

I put a direct path in just to make sure. $data_dir = '/var/www/html/data/'

Here's a directory listing for the data_dir
drwxrwxrwx  2 apache apache 4096 Dec 21 17:01 /var/www/html/data




Here's the user and group apache is running as.

User apache
Group apache

Here's the data directory listing.

-rwxrwxrwx  1 apache apache  82 Dec 21 17:01 default_pref
-rwxrwxrwx  1 apache apache 469 Dec 23  2001 index.php


looks ok. then Chris is probably on track; you are likely accessing the wrong SM installation on your machine. try 'updatedb; locate squirrelmail' or similar. insert some code in src/login.php to see if it gets printed on the login screen, something like:

global $data_dir; echo "<hr>Hello.  data dir is $data_dir<hr>";

try inserting that above the third to last line, just before this line:

echo "</body>\n".

I've tried the first part before to make sure. There's only one installation. Be very odd if they were since this machine was installed fresh the other day.

I inserted code into the page. It comes up on the login page. Here is the result. I changed to a direct path after I sent the first message. That's why it's different.

/Hello. data dir is /var/www/html//


your data directory is /var/www/html?!?!?!?!?!?!

doesn't that scream out to you as a problem?


It actually got stripped off.  It should have read.
/Hello. data dir is /var/www/html/data/

/I may not be the biggest expert in the world.  But I'm not that dumb.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
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