1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice

admin login page constantly reloads, quotes escaped, can't enter username, password

Discussion in 'Plesk for Linux - 8.x and Older' started by toaction, May 14, 2005.

  1. toaction

    toaction Guest

    All of a sudden, quotes are being escaped on my login page, breaking the code and rendering the page inoperable. Has anyone seen this before?

    Magic Quotes are off.

  2. editor

    editor Guest


    With Firefox? Uh.... Hmm, do you get this error also with
    MSIE 6.0 SP2? If no, can you post please the part of the
    error.log-File? We can then talk better about the error.
  3. toaction

    toaction Guest

    It's not a browser bug. the page is not getting rendered properly by the server. the quotes are being rendered escaped with slashes. This server had not been restarted and the only change that occured at the same time as this problem showed up was the license key update.

    in the log files i can see the folowing errors

    File does not exist: /usr/local/psa/admin/htdocs/"/javascript/common.js
    File does not exist: /usr/local/psa/admin/htdocs/"/javascript/chk.js.php/"

    [15/May/2005:20:40:24 -0400] "GET /\"/javascript/chk.js.php/\" HTTP/1.1" 404 291

    so the errors all seem to be related to the php page not being rendered properly.
  4. editor

    editor Guest

    > httpsd_error_log
    > -------------------------------------------------
    > File does not exist:
    > /usr/local/psa/admin/htdocs/"/javascript/common.js

    correct is:

    > File does not exist:
    > /usr/local/psa/admin/htdocs/"/javascript/chk.js.php/"

    correct is:

    Check out the byte-size: Original is:

    -rw-r--r-- 1 root psaadm 4704 Jan 27 22:24 chk.js.php
    -rw-r--r-- 1 root psaadm 5709 Jan 27 22:24 common.js

    Do you also have 4704 Bytes and 5709 Bytes?

    > httpsd_access_log
    > [15/May/2005:20:40:24 -0400] "GET /\"/javascript/chk.js.php/\" HTTP/1.1" 404 291

    I think, you talk about https://www.toaction.com:8443/ which
    makes this error.

    You should install phpmyadmin via FTP - http://www.phpmyadmin.net/ -
    and have a look into the table "psa". Username is "admin"
    and password is "yourpassword".

    But how did you get this error? While upgrading from 7.5.2 to
    7.5.3? Or did you try to edit the login.php? Or...

    P.S.: Please no private messages.
  5. toaction

    toaction Guest

    No changes to the system it was running without issue for 84days. the only change i can find is the license key auto update that occured around the same time as the error.

    didn't try to edit login.php. both .js files are the same size as you posted. I will install phpmyadmin but the usinf an offline form i was able to login and get to pages within the cp but they also have the escaped quote issue.
  6. toaction

    toaction Guest

    Ok, here is the solution. Magic quotes = off. WTF. I am not sure how the change occurred but it did. I wonder what the plesk app restarts when it changes the license key cause just after the key change the machine picked up the change in the php.ini file. I could have sworn I checked that but I guess I was wrong. So, to anyone who causes this error on their machine in /usr/local/psa/admin/conf/php.ini

    ; Magic quotes for incoming GET/POST/Cookie data.
    -magic_quotes_gpc = On
    +magic_quotes_gpc = Off
  7. editor

    editor Guest

    Wow. How did you find this out?

    BTW: Thank you very much for your report here. That's fair by
    you. :)
  8. ryanryan

    ryanryan Guest

    Login to Plesk CP hangs "Please wait. Loading"

    I had this problem as well. But Magic Quotes is turned off. It happened after an update. I get javascript errors

    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.

    It just hangs with the loading graphic on top of my login CP