Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Login Problems Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
guanaco
Newbie
Newbie


Joined: 04 February 2007
Location: El Salvador
Online Status: Offline
Posts: 1
Posted: 04 February 2007 at 4:19am | IP Logged Quote guanaco

hello there, I just installed the script into my website and I followed all the instructions but when I try to log in to the administration page: http://tusell.net/webmail/mailadm.php I receive this message
Error(s) detected
Path for saving sessions (specified in session.save_path variable in php.ini file) doesn't exist or there is no permission to write into that location.

WebMail can't work properly because it's impossible to create new sessions.

Am I doing something wrong? how can I fix it?

Thanks for your help
Back to Top View guanaco's Profile Search for other posts by guanaco
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 05 February 2007 at 3:44am | IP Logged Quote Andrew

This error message means a configuration issue of your PHP engine. You should open your /etc/php.ini file and look for session.save_path variable which should contain correct existing path on the filesystem of your server. For instance, at our Linux server it's:

session.save_path = /var/lib/php

You should change the path containing in this variable to existing path on the filesystem of your server or create the appropriate folders to make this path valid.

Then you should make sure the Apache (httpd) process has permission to read and write into the specified location. In our Linux system, apache.apache user is owner of /var/lib/php and this folder has permission (octal): 733.

Please also make sure session.auto_start variable of your php.ini is equal to 0, if it equal to 1, please change it to 0.

Now, you should restart your Apache:

/etc/init.d/httpd restart

And try again.


Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
djSolidBase
Newbie
Newbie


Joined: 14 October 2007
Location: United States
Online Status: Offline
Posts: 1
Posted: 14 October 2007 at 8:03pm | IP Logged Quote djSolidBase

im having the same problem but i cannot edit the php.ini file

anyway i can edit the settings to make it use the .htaccess file`?
Back to Top View djSolidBase's Profile Search for other posts by djSolidBase
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 15 October 2007 at 8:33am | IP Logged Quote Alex

Is your OS Linux or Windows?

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 15 October 2007 at 8:35am | IP Logged Quote Alex

OK, just got your reply over email :)

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
UwN
Newbie
Newbie


Joined: 24 October 2007
Online Status: Offline
Posts: 6
Posted: 24 October 2007 at 11:20am | IP Logged Quote UwN

I got the same problem.
I rent some space by a hoster so i cannot edit the php.ini file.
How do you solve this problem? This is driving me crazy!!
Back to Top View UwN's Profile Search for other posts by UwN
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 25 October 2007 at 12:11am | IP Logged Quote Andrew

Try to comment lines 6 and 7 in login.php, mailadm.php files and lines 8 and 9 in index.php:

Code:
if(strlen($session_path) > 0 && !is_dir($session_path))
        $BadSessionPath = true;


so, it'll look like:

Code:
//if(strlen($session_path)>0 && !is_dir($session_path))
//        $BadSessionPath = true;


Please let us know if it helps.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
UwN
Newbie
Newbie


Joined: 24 October 2007
Online Status: Offline
Posts: 6
Posted: 28 October 2007 at 11:29am | IP Logged Quote UwN

Thanks for the suggestion and sorry for my late answer.

I tried to comment the lines in the given files.
It doesn't works for me.. I still get the message that there's an error detected.

Do I have any things to do when this will works?
Thanks in advance!
Back to Top View UwN's Profile Search for other posts by UwN
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 October 2007 at 5:15am | IP Logged Quote Andrew

Which error do you get after commenting the check?

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
UwN
Newbie
Newbie


Joined: 24 October 2007
Online Status: Offline
Posts: 6
Posted: 31 October 2007 at 12:26pm | IP Logged Quote UwN

The same error....

Error(s) detected
Path to the data folder is incorrect. WebMail cannot run. Check "settings_path.php" file.

Please make sure you've followed all the instructions in WebMail documentation:

Installation Instructions for Windows
Installation Instructions for Unix
Back to Top View UwN's Profile Search for other posts by UwN
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 01 November 2007 at 1:08am | IP Logged Quote Andrew

Actually, this is not the same error.

"Path for saving sessions (specified in session.save_path variable in php.ini file) doesn't exist or there is no permission to write into that location."
and
"Path to the data folder is incorrect. WebMail cannot run. Check "settings_path.php" file."
are completely different errors.


Please refer to this topic of MailBee FAQ to learn how to resolve the issue with incorrect path to the data folder.


Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
UwN
Newbie
Newbie


Joined: 24 October 2007
Online Status: Offline
Posts: 6
Posted: 01 November 2007 at 11:58am | IP Logged Quote UwN

Awh, bad mistake...
I'm sorry!

I've read the topic, but it doesn't works for me...
I put the whole address, but still it doesn't work...
The site didn't show the error, but when I logon, I get some new errors, like:
Error(s) detected
There was a problem with the XML
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/sett ings_path.php:11) in /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/proc essing.php on line 23

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/sett ings_path.php:11) in /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/proc essing.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/sett ings_path.php:11) in /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/proc essing.php on line 509

Warning: Cannot modify header information - headers already sent by (output started at /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/sett ings_path.php:11) in /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/proc essing.php on line 510

Warning: Cannot modify header information - headers already sent by (output started at /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/sett ings_path.php:11) in /mnt/web1/43/27/51642927/htdocs/var/www/html/webmailphp/proc essing.php on line 511


Can you help me?
Back to Top View UwN's Profile Search for other posts by UwN
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 01 November 2007 at 12:33pm | IP Logged Quote Alex

This error often occurs if inc_settings_path.php contains redundant characters (even if they are whitespaces). For instance, if you hit [enter] while editing this file, it will contain extra CRLF and this will make this CRLF be a part of the response body (and it will be impossible to add any headers which are required for cookies because the header section must preceed to the body).

In other words, no characters allowed outside <?php?> block.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
UwN
Newbie
Newbie


Joined: 24 October 2007
Online Status: Offline
Posts: 6
Posted: 01 November 2007 at 1:57pm | IP Logged Quote UwN

Hi Alex,

Thanks for your answer! I deleted the returns and I don't receive the errors!
Now I have to solve a new problem:
Error: Can't connect to localhost,110: Connection refused

I'm gonna makes this work! I'm on the right track!

Thanks all!
Back to Top View UwN's Profile Search for other posts by UwN
 
UwN
Newbie
Newbie


Joined: 24 October 2007
Online Status: Offline
Posts: 6
Posted: 01 November 2007 at 1:59pm | IP Logged Quote UwN

And it works!!!!

Thanks for the support!

Kind regards,

UwN
Back to Top View UwN's Profile Search for other posts by UwN
 
EasyConnect
Newbie
Newbie


Joined: 08 November 2005
Online Status: Offline
Posts: 5
Posted: 24 January 2008 at 2:10am | IP Logged Quote EasyConnect

Just for your info:

Suddenly our users got problems with login using IE7 / Vista.
After some debugging I found that the CheckLogin() function needs to be activated in a different way:

From:
<form name="form_login" action="check_login.asp" method="post" onsubmit="CheckLoginForm(); return false">

To:
<form name="form_login" action="check_login.asp" method="post" onsubmit="return(CheckLoginForm())">
And then you have to set the return code in the function and NOT issue the submit()

Regards

Erik Borgen
Back to Top View EasyConnect's Profile Search for other posts by EasyConnect
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 24 January 2008 at 4:41am | IP Logged Quote Andrew

Thank you for the information. We'll fix this in the regular version.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide