Syntax Error in template "/home1/thaimode/public_html/ow_system_plugins/base/views/controllers/join_index.html" on line 410 "(function() {OW.ajaxComponentLoaderRsp = "http:\/\/www.thaimodelstudent.com\/base\/ajax-loader\/component\/";" - Unexpected ".", expected one of: "}" , " " , ATTR
When I am looking at the code this is what i have
(function() {OW.ajaxComponentLoaderRsp = "http:\/\/www.thaimodelstudent.com\/base\/ajax-loader\/component\/";OW.ajaxAttachmentLinkRsp = "http:\/\/www.thaimodelstudent.com\/base\/attachment\/add-link\/";OW.getPing().setRspUrl("http:\/\/www.thaimodelstudent.com\/base\/ping\/index\/");OW.Users = new OW_UsersApi({"rsp":"http:\/\/www.thaimodelstudent.com\/base\/ajax-users-api\/rsp\/"});})();</script><script type="text/javascript">$(function () {(function(_scope) {OW.registerLanguageKey('base', 'join_error_username_not_valid', "Please, enter a valid username");})(window);(function(_scope) {OW.registerLanguageKey('base', 'join_error_username_already_exist', "Sorry, this username already exists");})(window);(function(_scope) {OW.registerLanguageKey('base', 'join_error_email_not_valid', "Please, enter a valid email address");})(window);
I managed to get rid of the orriginal error on line 410 by removing the orriginal "{" but then it was replaced by an error on line 413 stating that it had an unexpected ":" which i removed then it stated there was an error on line 417 that was an unexpected "."
I am new to this. I have touched up the previous landing page that I had up and running fine with Dreamweaver, but when i went to first publish from there it would not let me for some reason then when i copy and pasted the html code into the join_index.html file I am now getting all of these errors..
What have I done wrong?