• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue DomainConnect - Javascript Error

Hervé Delvaux

New Pleskian
Hi,

Since 18.0.34 on 5 different servers (debian 9 and 10), when we try a connection with domainConnect, we get a blank page.

It is a JavaScript error : "cannot read property 'renderTo' of undefined" (domain-connect-apply.js:84
 

Attachments

  • Capture.JPG
    Capture.JPG
    75.2 KB · Views: 14
  • Capture2.JPG
    Capture2.JPG
    46.8 KB · Views: 14
  • Capture3.JPG
    Capture3.JPG
    58.8 KB · Views: 15
  • Capture4.JPG
    Capture4.JPG
    109.7 KB · Views: 16
It looks like a bug.
I'd suggest you contact Plesk Support Team.
 
Looks like Plesk Domain Connect extension bug ID #EXTPLESK-2602 - the file domain-connect-apply.js is loaded before the necessary Javascript variable PleskExt.DomainConnect is loaded.

As a workaround, run this command on the server:
Code:
sed -i.backup-`date +%F-%s` 's/<script>/<script defer>/g; s/<script src/<script defer src/g' /usr/local/psa/admin/plib/modules/domain-connect/views/scripts/v2/apply.phtml
 
Back
Top