I’m on an EE 2.4 site and still getting this error: https://support.ellislab.com/bugs/detail/17440
I’ve replaced the entire SC module with the 2.5 version as well as the saef.js file, still same error: Uncaught TypeError: Object [object Object] has no method ‘markItUp’
Compressed JS.
{exp:safecracker
channel="blog"
json="yes"
id="share_your_story_safecracker"
rules:blog_body="required"
safecracker_head="no"}
<fieldset>
{if captcha}
<label for="name">Name (required)</label>
{field:blog_guest_name}
{if:else}
<label for="name">Name: </label>
{screen_name}
{/if}
</fieldset>
<fieldset>
{if captcha}
<label for="email">Email (required)</label>
{field:blog_guest_email}
{if:else}
<label for="email">Email: </label>
{email}
{/if}
</fieldset>
<fieldset>
<label for="title">Title (required)</label>
<input type="text" name="title" value="{title}" />
</fieldset>
<fieldset>
<label for="story">Your Story</label>
{!-- {field:blog_body} --}
<textarea class="wyvern" id="blog_body" name="blog_body"></textarea>
</fieldset>
{if captcha}
<fieldset>
<label for="captcha">Please enter the word you see in the image below:</label>
{captcha}
<input type="text" name="captcha" value="{captcha_word}" maxlength="20">
</fieldset>
{/if}
<input type="submit" name="submit" value="Submit" />
{/exp:safecracker}I just did a fresh install with the most recent developer preview of 2.5.0 and I couldn’t replicate. Here’s my adjusted template:
{exp:safecracker
channel="news"
json="yes"
id="share_your_story_safecracker"
rules:news_body="required"
}
<fieldset>
<label for="title">Title (required)</label>
<input type="text" name="title" value="{title}" />
</fieldset>
<fieldset>
<label for="story">Your Story</label>
<textarea class="" id="news_body" name="news_body"></textarea>
</fieldset>
<fieldset>
<label for="story">More Details</label>
<textarea class="" id="news_extended" name="news_extended"></textarea>
</fieldset>
<fieldset>
<label for="captcha">Please enter the word you see in the image below:</label>
{captcha}
<input type="text" name="captcha" value="{captcha_word}" maxlength="20">
</fieldset>
<input type="submit" name="submit" value="Submit" />
{/exp:safecracker}A few things to note: - I took out safecracker_head=”no”, but same result either way - I removed anything with a wyvern class - I removed the {if captcha} conditionals
Could you try using my template and see if you’re still getting any issues. If you are, mind emailing me and we can hop on Skype or AIM to talk about it?
Wes
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.