Sentora Transfer Domain Module Fix

After setting up a few domains in Sentora I realized I needed to add a couple to a sub-account, there was not the option for changing the owner directly in the control panel. A quick search of the community forums at Sentora turned up an add-on module called Transfer Domain developed by Remmy from imerLabs.

Problem: This module was originally written for zPanel, a user reported in March of 2015 that it worked for them but that was the last update. So I downloaded it, installed it (easy process which is done via the control panel). The module loads, shows the domain names and users configured on the server. I select the domain I want to transfer and the user account I want to become the new owner. When I click on the transfer button, nothing happens. Ugh…. oh wait I am a programmer and can’t let it end there.

Solution: Some digging in I find I am getting the error: Uncaught ReferenceError: zPanel is not defined. Lets see what this module is made of… so I dig into the code and follow the flow my selections above took me. 3rd file in I find what I need, there is a javascript file which is referencing zPanel. I look over a couple other modules and find that the reference needs to be updated to Sentora.

To fix this module the following changes need to be made to the assets/transfer_domain.js file:

Line 19:  zPanel.dialog.confirm({
Change zPanel to Sentora

Line 32: okCallback: function() { zPanel.loader.showLoader(); $('#frm_transfer_domain').submit(); }
Change zPanel to Sentora


Learn why Purple Monkey Studios switched to Sentora.

Kevin Fairbanks

Kevin Fairbanks serves as the Chief Executive Officer of PinkTie Technology Group, LLC – a website development and digital marketing agency. Kevin runs the Veteran Entrepreneur Mastermind where he helps bring Veterans together to discuss business ownership. He’s involved in several community organization including serving as a board member for the Greater Cicero Chamber of Commerce. As the host of a weekly podcast, Remove Before Flight, Kevin teaches Veterans how to start, grow, or scale a business.

Short of being a father, serving in the United States Air Force was the most important period in Kevin’s life. It reinforced who he is today and complimented the values taught to him growing up by his parents.

During his service time, Kevin had the pleasure of traveling the world and seeing how other cultures lived both pleasant and unpleasant. During one of these missions he experienced injuries that ultimately led to my honorable discharge as a Service Disabled Veteran.