ARC Support wrote:
I have been trying to get SM 1.4.3a running on NT4 SP6 with Apache 2.0.50, php 5.0.1 & Mercury 4.0.1a. I've followed every hint I've been able to glean from various info sites and there just isn't any doccumentation covering the new releases of SM, Apache, php and Mercury. What I run into when calling index.php from my smail directory (which resides in c:/ Apache/Apache2/htdocs) is:
Warning: main(SMail/functions/strings.php) [function.main]: failed to open stream: No such file or directory in C:\Apache\Apache2\htdocs\SMail\src\login.php on line 19
Fatal error: main() [function.require]: Failed opening required 'SMail/functions/strings.php' (include_path='.;C:\php5\pear') in C:\Apache\Apache2\htdocs\SMail\src\login.php on line 19
If I use absolute paths instead of the SM_PATH constant I get further. Although I haven't gone all the way and put absolute paths throughout every document, it seems it might work if I would. But, that isn't the goal, the goal is to use the path constant ( define('SM_PATH','SMail/'); ) for ease of configuration, and, as I understand it, absolute paths slow the process way down.
Why did you edit SM_PATH definition? Nowhere in the docs does it say to do that. The page request was made to a file in the c:/Apache/Apache2/htdocs/SMail/src directory, and because you fiddled with the SM_PATH definition, it now tries to find the included file in the nonexistent directory c:/Apache/Apache2/htdocs/SMail/SMail
Now, line 19 of the login.php calls: require_once(SM_PATH . 'functions/strings.php');. Using the absolute path it finds the file and the error message moves on to the next line, and so-on. When I put in an absolute path, I can keep moving ahead.
I've tried using an absolute path for the constant, I.E.: define('SM_PATH','c:/Apache/Apache2/htdocs/SMail/'); and I get access violations. I have tried to make the smail directory shared with full rights for everyone (I know, security risk) to no avail. At least with the constant set to 'SM_PATH','SMail/' I get the above error msg (I have all reporting turned on, another security issue)
Change it back to what it was and start from there. All configuration should be done in conf.pl or config.php if you are confident you know what you're doing.
Good luck,
Paul
------------------------------------------------------- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] 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