Search:     Advanced search
Browse by category:
Submit your own Question

Communication error in Wiqet Editor

Views: 28246
Votes: 0
Posted: 16 Sep, 2009
by:
Updated: 16 Sep, 2009
by:
Problem:
I need some helpw ith WiQET editor.
I have installed WiQET at my local server. I have generated KEY for localhost.com - its 1427e642ea670b9a9e954dd7b704fdf5
i am using the following code to run photo editor:
  var f = new wiqet.photo.Editor(wID, {     

    'wiqetCode': '',            
     'uniqueId':       ''      
             }     
     , {        
     'width':             '450px'       
     ,'height':           '375px'       
     ,'bgcolor':          '#FFFFFF'       
     ,'align':            'left'      
     ,'allowScriptAccess':'always'   
       }
     , 'WiQET_callback');

Editor loads, but I have message - "Communication Error". On the other hand i can load Video Editor without a problem and I can load photo gallery by wiqetCode on the front end.

Please advise.


Answer:
To make a WIqet the uniqueId is required!
so in php we advice:

 var f = new wiqet.photo.Editor(wID, {

  'wiqetCode': '',            
   
'uniqueId':       '<?php echo md5(uniqueid(1)); ?>';     
             }     
     , {        
     'width':             '450px'     
etc etc


Store the uniqueId generated also in your database.
See: also example: http://kb.wiqet.com/kb/entry/7/#5-2
Others in this Category
document Error: The Flash version you installed is: 0 You need flashplayer: 8 Internet Explorer
document Wiqet Callback function being called via iFrame Internet Explorer IE
document Wiqet Mobile player not showing correctly in firefox and IE