1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Login to Plesk CP hangs "Please wait. Loading"

Discussion in 'Plesk for Linux - 8.x and Older' started by ryanryan, Dec 17, 2005.

  1. ryanryan

    ryanryan Guest

    0
     
    After performing an upgrade to the base packages, when I go to login to Plesk CP (7.5.4) it comes up with the normal "Please wait. Loading" box with the layer behind inactive. Looking at the javascript console it has errors with "_body_onunload is not defined", and the rest are CSS errors (which wouldnt stop the page from loading).

    Another is missing ) after argument list (login_up.php3) SetContext(''login_up'');
    _body_onload is not defined.

    Any ideas? Anyone else experience these? Changing browsers makes no difference.
     
  2. dynaweb

    dynaweb Guest

    0
     
    Mine is just hanging too, although I have performed no upgrades (from 7.1) and have no JS error. Just hangs and doesn't log in :/
     
  3. ryanryan

    ryanryan Guest

    0
     
    I do not get to the point of username or password entry. Do you get this far? Same JS errors?

    Perhaps it is merely permissions. I hope it isn't related to rpm versions.
     
  4. ryanryan

    ryanryan Guest

    0
     
    anyone?
     
  5. dynaweb

    dynaweb Guest

    0
     
    I think after rebooting and clearing my browser cache it started working again.
     
  6. ryanryan

    ryanryan Guest

    0
     
    Hmm I wish it was that easy. This is definatly server side.

    Ohwell, im going to mess around with trying to downgrade to 7.5.3, or something.

    Helloooo any Plesk support people there!
     
  7. dynaweb

    dynaweb Guest

    0
     
    Yeh, mine was just out of the blue (not dure to upgrading like yours) so I knew you were more screwed than I was. Anyhow, the body_onunload is a function of javascript which is clientside. I have a server plesk version 7.5.2 and in the source of the login.php3?previous_page=index there is in the header:
    Code:
    		<script type="text/javascript">
    <!--
    function _body_onload()
    {
    	loff();
    	SetContext('login_up');
    	
    	setFocus();
    }
    
    function _body_onunload()
    {
    	lon();
    	
    }
    
    and the body tag:
    Code:
    	<body onLoad="_body_onload();" onUnload="_body_onunload();" id="mainLogin">
    
    If it were me, I would make a copy of that page then take out the onunload function, then try it again. So the body tag would change to:
    Code:
    	<body onLoad="_body_onload();" id="mainLogin">
    
    or just:
    Code:
    	<body id="mainLogin">
    
    then give her another try. Sometimes that type of troubleshooting works :)
     
  8. ryanryan

    ryanryan Guest

    0
     
    I would just edit the file myself, however, but the page is php generated, and encoded (with zend I think).

    I replaced the entire php set of files, including the javascript directory with the 7.5.3 version and the same thing happens.

    Re-installing the 7.5.4 over the top didn't do anything, and there were not any errors when I did so.

    I know what I want to remove as well

    SetContext(''login_up'');

    double single quotes.

    With apache, Magic quotes are off, and even having them on made no difference.

    Can't see it happening anywhere else in the rendered html.

    Try a previous version perhaps? Maybe!
     
  9. dynaweb

    dynaweb Guest

    0
     
    Ahh yes I forgot about that. You know it takes a real "special" kind of programmer for a real"special" piece of software to encode a simple login page like that :/

    Anyhow, have you tried skipping the login form and using the url only?

    Code:
    https://123.123.123.123:8443/login_up.php3?login_name=admin&passwd=12345
     
  10. ryanryan

    ryanryan Guest

    0
     
    I did not know you can do that!

    But
    I did try it, but then I get the "Please wait. Loading..." hanging on the next screen, greying out the information. Same problem though mate:

    Code:
    SetContext(''license'');
    Double single quotes. Any idea what would cause this? I opened a new thread on it :

    http://forum.plesk.com/showthread.php?s=&postid=131544#post131544
     
Loading...