• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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

Originally posted by toaction
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.

screenshot:
http://www.toaction.com/plesk.jpg


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.
 
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

httpsd_error_log
-------------------------------------------------
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/"

httpsd_access_log
------------------------------------------------
[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.
 
> httpsd_error_log
> -------------------------------------------------
> File does not exist:
> /usr/local/psa/admin/htdocs/"/javascript/common.js

correct is:
/usr/local/psa/admin/htdocs/javascript/common.js

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

correct is:
/usr/local/psa/admin/htdocs/javascript/chk.js.php

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.
 
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.
 
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
 
Originally posted by toaction
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

Wow. How did you find this out?

BTW: Thank you very much for your report here. That's fair by
you. :)
 
Login to Plesk CP hangs "Please wait. Loading"

Originally posted by toaction
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

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
 
Back
Top