MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Bugs and Requests => Topic started by: naujasdizainas on 2014-02-03, 10:14:32

Title: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: naujasdizainas on 2014-02-03, 10:14:32
Its work but exist other error js (Kloxo-MR 6.5.1.a-2014020301):
1.  SSH Authorized Keys - ADD key
Code: [Select]
Error: TypeError: top.bottomframe is undefined
File: display.php?frm_action=list&frm_o_o[0][class]=pserver&frm_o_o[0][nname]=localhost&frm_o_cname=sshauthorizedkey&frm_smessage=added_successfully&frm_m_smessage_data=SSH%20Authorized%20Key
Line: 447
2. DNS Configure for admin  : Enable Reverse DNS and    Enable Forward DNS
Code: [Select]
Error: TypeError: top.bottomframe is undefined
File:/display.php?frm_action=updateform&frm_subaction=reversedns&frm_o_o[0][class]=general&frm_smessage=[b]reversedns[/b]+successfully+updated+for+admin
Line: 421
If have time ... please look. Thanks

 
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: MRatWork on 2014-02-03, 10:26:17
'top.bottomframe is undefined' look like related to using default/feather skin in frame mode.

Because simplicity not using frame, above error possible appear.
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: naujasdizainas on 2014-02-03, 10:31:33
Skin simplicity. And when edit skin

Update -> get erorr
Error: TypeError: document.getElementById(...) is null
File: /display.php?frm_action=show
Line: 1

But value save.
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: MRatWork on 2014-02-03, 10:39:19
Using 'enable AJAX' in 'appearance'?.
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: naujasdizainas on 2014-02-03, 10:41:34
page source
Code: [Select]
<script>top.bottomframe.updateStatusBar("<span style='color:green'><b>Information: </b></span>  <span style='font-weight:bold; color:black'>SSH Authorized Key</span> was added successfully.");</script>
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: naujasdizainas on 2014-02-03, 10:44:29
Using 'enable AJAX' in 'appearance'?.

NOT
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: naujasdizainas on 2014-02-03, 10:50:57
.../theme/htmllib.php

Code: [Select]
<script>top.bottomframe.updateStatusBar("<?=$message?>");</script>Line 8059

function top.bottomframe.updateStatusBar not exist. Exist only  updateStatusBar(str) ... in lxa.js

Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: MRatWork on 2014-02-03, 11:01:22
Find out '$this->print_on_status_bar("$message $mess");' and change to '// $this->print_on_status_bar("$message $mess");'.

Inform here what's effect.
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: naujasdizainas on 2014-02-03, 11:11:05
Error go away, but any way - SSH key not save

No SSH Authorized Keys Under localhost
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: MRatWork on 2014-02-03, 11:58:43
I think 'keys' not related to js warning.
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: MRatWork on 2014-02-03, 11:59:28
Click 'help' and you will info.
Title: Re: Admin config Js error SSH Authorized Keys - ADD key | DNS Configure for admin
Post by: naujasdizainas on 2014-02-03, 12:18:02
Ok, but problem is :) key not show, but work :)
Ok later  testing the code ...
Temporary close this case, thanks