[EMAIL PROTECTED] wrote: > First when I was using ensim pro then data was in > var/www/squirrelmail-date > > now I am using CPanel in cpanel the direcory is in first page. > > In Ensim pro > The path is written below > global $data_dir; > $data_dir = SM_PATH . "../../squirrelmail-data/"; > > $attachment_dir = SM_PATH . "../../squirrelmail-attachments/"; > >
I ran into a similar problem with my hosting server. I think the problem is that you are in a chrooted environment. In other words, '/var/www/squirrelmail-data' is not realy where your squirrelmail data directory is. More likey it's something like '/home/virtual/site400/var/www/swquirrelmail-data'. PHP does not understand this, and neither does squirrelmail. It would be ok if squirrelmail used the relative path of '../../', but what I found is that config.pl converts the relative path into an absolute path automatically. The fix is to open config.php in a text editor and change: $data_dir to '../../squirrelmail-data/' and $attachment_dir = '../../squirrelmail-attachments/' The problem here is that next time you run config.pl, you will get the same problem. Another way would be to find out the REAL path to your data dir. Create a PHP file and put this in it: <?php print getcwd(); ?> Open it from a browser, and you will see where '/var/www/html' REALY is. You can then adjust the squirrelmail paths accordingly. Hope this helps. -- Matt M. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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
