• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Merak Webmail Java Script Problem

K

knocx

Guest
PLESK 7.5 Win with Merak;

Problem : when user types webmail.domain.com gets a Javascript error

Reason: PSA redirects users to webmail login in a frame like this

<HTML>
<HEAD>
<TITLE> Plesk Web Mail Client </TITLE>
</HEAD>
<FRAMESET rows="*,0">
<FRAME src="http://main.mydomain.com:32000/mail" noresize>
<NOFRAMES>
Your browser does not support frames.
</NOFRAMES>
</FRAMESET>
</HTML>

Merak Webmail login page has a java script on it

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">

if (top.length != self.length)
{
var isskin = parent.document.getElementById("foldermenu");
if(isskin) top.location.href = self.location.href;
}
document.login.username.focus();
</SCRIPT>

which can not access to top.length (i guess) and give a pop-up error that confuses the users,

Solution: i have removed PSA forwarding with a simple refresh
 
Back
Top