After moving hosts he tag exp:safecracker started to output only javascript
Posted: 22 June 2011 05:49 PM   [ Ignore ]
Wallflower
Rank
Total Posts:  1
Joined  2011-06-22

Hi,

Any idea why after moving a site from one host to another the tag exp:safecracker started to output only javascript?

Consider such code:

{exp:safecracker channel="ebook_common" return="technical/test15"}

<p>Title<br />
<
input type="text" name="title" id="title" value="{title}" size="50" maxlength="100"></p>

<
p>URL Title<br />
<
input type="text" name="url_title" id='url_title' value="{url_title}" maxlength="75" size="50" /></p>

<
label for="categories">Categories</label>

<
select name="category[]" id="categories" size="4" multiple="multiple">
    
{categories}
        
<option value="{category_id}"{selected}>{category_name}</option>
    
{/categories}

</select>

<
p>Project Title<br />
<
input type="text" name="project_title" id='project_title' value="{project_title}" maxlength="75" size="50" /></p>

<
p><input type="submit" name="submit" value="Submit" />

{/exp:safecracker} 

This code outputs:

script type="text/javascript" charset="utf-8" src="http://www.antiquityillustrated.com/index.php?ACT=48&amp;ui=core,widget,mouse,position,draggable,resizable,button,dialog,datepicker&plugin=scrollable,scrollable.navigator,ee_filebrowser,markitup,thickbox&amp;v=1292840586&amp;use_live_url=y&amp;include_jquery=y">[removed]
script type="text/javascript" charset="utf-8">
// <![CDATA[
$(document).ready(function() {
    
if (typeof SafeCracker == "undefined" || ! SafeCrackervar SafeCracker {markItUpFields:{}};}
    
$.datepicker.setDefaults({dateFormat:$.datepicker.W3C+EE.date_obj_time});
    $.
datepicker.setDefaults({defaultDate: new Date(1308724328000)});
});
// ]]>
< /script>
<
style type="text/css">.hasDatepicker{background:#fff url(http://... 

There is channel ebook_common, there are fields in that channel, Safecracker is installed. I tried to uninstall and reinstall Safecracker, but it did not help.

Thanks.

[ Edited: 22 June 2011 07:12 PM by Chris Newton ]
Profile
 
 
Posted: 22 June 2011 07:12 PM   [ Ignore ]   [ # 1 ]
Absolute Heartthrob!
Avatar
RankRankRankRankRank
Total Posts:  10369
Joined  2008-09-29

SafeCracker has been acquired by EllisLabs, makers of ExpressionEngine. Ellislabs now handles support.

http://bit.ly/hMcIYE

 Signature 
Profile
 
 
Posted: 22 June 2011 07:39 PM   [ Ignore ]   [ # 2 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Support for SC has officially moved to EllisLab, you’ll have to request support on the EE forum.

Off the top of my head…this sounds like the behavior you’d get when logged out. Check your cookie domain settings to make sure that EE sees you as logged in.

Profile