atmail working for anyone?

nobaloney

NoBaloney Internet Svcs - In Memoriam †
Joined
Jun 16, 2003
Messages
24,989
Location
California
Is atmail working for anyone? I've tested it on servers running php4 as mod_php, and php5 as cgi. On both I get this error after I enter the login information:
Code:
html/english//atmailstyle-form.css is not readable

While the two slashes shouldn't be of any consequence, I notice that there isn't any file of the name atmailstyle-form.css at that level.

Google isn't helpful.

Anyone else have the problem?

Jeff
 
I stopped using it because it was extremely buggy. Especially in php 5.3.
 
@jonn:

Thanks, but this is a post I found unhelpful for three reasons...

It's for the commercial product, not the free product.'

I didn't do an upgrade; it's a new install in both cases.

Should I need to worry about the database? Shouldn't it be installed properly by the custombuild installer?

Jeff
 
Hi Jeff,

This is where I found my atmailstyle-form.css:
Code:
[root@server atmail]# ll -d .
drwxr-xr-x  13 webapps webapps 4096 Jan 24 22:53 .
[root@server atmail]# ll -d html
drwxr-xr-x  14 webapps webapps 4096 Jan 24 22:53 html
[root@server atmail]# ll -d html/english
drwxr-xr-x  7 webapps webapps 4096 Jul 30 01:41 html/english
[root@server atmail]# ll -d html/english/simple
drwxr-xr-x  2 webapps webapps 4096 Jul 30 01:41 html/english/simple
[root@server atmail]# ll -d html/english/simple/atmailstyle-form.css
-rwxr--r--  1 webapps webapps 2084 Jul 30 01:41 html/english/simple/atmailstyle-form.css
[root@server atmail]#
so it it lookes like "simple" is missing from the path.

I did a grep through all files, and found it here:
Code:
abook.php:$var['atmailstyle'] .= $atmail->parse("html/$atmail->Language/$atmail->LoginType/atmailstyle-form.css");
ldap.php:$var['atmailstyle'] .= $atmail->parse("html/$atmail->Language/$atmail->LoginType/atmailstyle-form.css");
parse.php:  $var['atmailstyle'] .= $atmail->parse("html/$atmail->Language/$atmail->LoginType/atmailstyle-form.css");
reademail.php:$var['atmailstyle'] .= $atmail->parse("html/$atmail->Language/$atmail->LoginType/atmailstyle-form.css");
search.php:$var['atmailstyle'] .= $atmail->parse("html/$atmail->Language/$atmail->LoginType/atmailstyle-form.css");
util.php:$var['atmailstyle'] .= $atmail->parse("html/$atmail->Language/$atmail->LoginType/atmailstyle-form.css");
so it looks like the "LoginType" is blank.

I found it's set in libs/Atmail/Global.php
Code:
        if ($settings['LoginType'] == 'ajax')
        {
                $LoginType = 'simple';
                $Ajax = '1';
        }
        else    {
                $Ajax = '0';
                $LoginType = $settings['LoginType'];
        }
as for what it means, and how the $settings['LoginType'] is being set, I'm not too sure..

I did however find:
libs/Atmail/Configs/Config.php

to have this line:
Code:
'LoginType' => NULL,
perhaps try changing it to:
Code:
'LoginType' => 'ajax',
to override the internal default.. and perhaps changes the checks to force it to be "simple" (I'm not sure, this is a guess).

Or perhaps the browser is different? I'm not sure. I'm using Chrome along with Atmail 1.04, and it all seems to be working ok.

John
 
I'm finally getting back to this. By choosing English as the language instead of leaving it as default, I'm passing this problem but now I'm getting:
Code:
The server responded - Remote mail-server not responding - Check connection - -ERR Incorrect login or password incorrect. Check you have the correct username and password for the account. Server returned ( -ERR Login failed )
The server is of course running, squirrelmail finds it without a problem. The password is correct.

Any ideas?

Jeff
 
Back
Top