HAvong trouble getting it connected

When entering the url of my whmcs install I get the message "Make sure your WHMCS Integration settings are pointing to the correct URL and that the WHMCS site is set for the Portal template in Setup | General."
I did change the template name to portal. My whmcs install is at http://www.restauranthostingguru.com/support. I also tried it without the "support"
Furthermore, what is the URL to Encode box for? What should I put there?