SocialMiner Forums

« Back to Technical Discussion

RE: JS error in Custom Reply Template

Combination View Flat View Tree View
Threads [ Previous | Next ]
My custom reply template is giving the following error in the java console. (Actual server name replaced by <Server Name>)
 
 
 

GET https:// <Server Name>/gadgets/ccp/vars.js 404 (Not Found)
concat:2587


GET https:// <Server Name>/gadgets/ccp/prefs.js 404 (Not Found) concat:2587


GET https:// <Server Name>/gadgets/ccp/mvc-base.js 404 (Not Found) concat:2587


GET https:// <Server Name>/gadgets/ccp/log.js 404 (Not Found) concat:2587


GET https:// <Server Name>/gadgets/ccp/comm.js 404 (Not Found) concat:2587

 
All these js files are actually under /js/ccp/... but for some reason it is looking under gadgets/ccp. This part of the code is being called by one of the following js which is not under my control.



'/js/3rdparty/sarissa/sarissa-full-0.9.9.4/gr/abiss/js/sarissa/sarissa.js',


 
'ccp/utils',


 
'ccp/vars',


 
'ccp/facebook-oauth',


 
'/templates/reply/js/ccp-twitter.js',


 
'/templates/reply/js/ccp-facebook.js',


 
'/js/ccp-utils.js',



 
Can anybody tell me what I am doing wrong?

It appears that you are using the Facebook template as a starting point. We suggest that you refer to the custom reply template section in the developer guide. The sample code provided there is a much better starting place for you to develop your own custom reply template.

Thank you so much Richard. I was really going on the wrong path. Even though the link in the developer's guide wasnt correct, I found the correct link on docWiki. The sample code really helped me fix my custom reply template. Thanks again

Search CDN

 Go

By API/SDK: